Posts by Eduardo Oliveira • 1 point
2 posts
-
0
votes1
answer21
viewsA: How to define the data types of the columns of a Jtable equal to the Mysql database?
Just use the parse. For example, you have a String variable but in the database it is int, you put: int x = Integer.parseint(String variable); so you will have a variable of the same type as your…
-
0
votes2
answers36
viewsA: Consult related data without repetition
You can use the inner join even, if you want to analyze the contracts. SELECT * FROM contrato INNER JOIN compromisso ON compromisso.codGerado = contrato.codigos WHERE compromisso.blocker = '1'; This…