Posts by Renan Narciso • 155 points
16 posts
-
1
votes2
answers114
viewsQ: Is it worth measuring performance between Java x Kotlin applications?
Going through the Google Developers documentation, I found something pretty cool like: Measure app performance with Android Profiler But knowing that Java and Kotlin are interpreted by the JVM, I…
-
1
votes3
answers363
viewsA: I cannot use the Find() method using Entityframework
Problem solved, I installed Entityframework 6.2.0 and got it.
-
0
votes0
answers69
viewsQ: Doubt about relationship implementation N:N using C#
I am having to make a relationship between classes N:N but storing objects in memory, follows the following relationship: I did the implementation as follows and I would like to know if it is…
-
0
votes2
answers55
viewsA: Problem saving data to database
Hello, the problem was very simple, I found strange, however resolved... The following error was because I had another class on the system in which I had a property that was not mirrored in the…
-
0
votes2
answers55
viewsQ: Problem saving data to database
I created a simple application, but when clicking on the action button responsible for saving the data, the program stops working. Follow picture: Save button action:- private void…
-
0
votes3
answers363
viewsA: I cannot use the Find() method using Entityframework
I installed Entityframework 6.2.0 as the @Brunomoner commented and solved the problem.
-
1
votes3
answers363
viewsQ: I cannot use the Find() method using Entityframework
I’m using the following tutorial to use the Repository Pattern: Follows my repository class public class Repository<T> : IDisposable, IRepository<T> where T : class { protected readonly…
-
1
votes1
answer323
viewsQ: How to handle different combobox data at runtime
I have a textfield and a combobox next to it... Follow the image I want to make sure, given the value in the field textfield, I want you to click on other item of the combobox, the value is…
-
0
votes1
answer192
viewsQ: How to use Enum with Entityframework
I have a relationship in my system where one class has a relationship with another, but this other class is nowhere in the system to change/delete its state (are only static data). I wonder if the…
-
2
votes2
answers682
viewsQ: Doubt between using composite primary key or not in the associative table
I’m making a relationship where the same is N:N... Example: Projeto x Funcionario In this relationship I create an associative table called Projeto_Funcionario leading the id of the two classes.…
-
1
votes1
answer319
viewsQ: Problem with JSF during form validation
I have a problem with the animal registration form: Follow the part of the diagram involved in the relationship regarding the form: The problem is that when I am registering an animal, I can put the…
-
1
votes1
answer65
viewsQ: Problem to recover data using Hibernate
I can list the Customer and their Animals, but I can’t list the Animal Breeds. Follows the involved relationship classes: Client class @Entity public class Cliente extends Pessoa {…
-
0
votes1
answer39
viewsQ: After the validation method is true, how to cancel sending the data to the database?
I have the application already made. The class Produto, ProdutoDAO and a method validaProdutoPorDescricao() JButton btnCadastrarProduto = new JButton("Cadastrar");…
-
1
votes1
answer169
viewsA: Doubt with Jcombobox to insert data at runtime
I managed to solve my problem using Singleton Pattern Design to create Jcombobox. Thank you, you can close the topic.
-
0
votes1
answer425
viewsQ: How to validate if a String already exists in the Jcombobox list?
It follows the code that I am locked, I wonder how do I validate if a directory that I will add, already exists in JComboBox? package view; import java.awt.BorderLayout; import java.awt.EventQueue;…
-
2
votes1
answer169
viewsQ: Doubt with Jcombobox to insert data at runtime
I’m new to Swing and this is the first Java application I’m actually doing, but I’m having doubts about Jcombobox, because I would like to make a field (Jtextfield) where I put the directory and…