Posts by Spirik • 19 points
5 posts
-
0
votes1
answer312
viewsA: Connections Pool opens connections but does not close after!
I was able to solve it! I had to totally change my pool, but now it’s not generating a connection on top of another one! Follow the new code: package util; import java.sql.Connection; import…
-
0
votes1
answer312
viewsQ: Connections Pool opens connections but does not close after!
I am facing some problems with my postgresql connection pool with java, in which it is called by my Daos methods quietly, but does not close after the method runs, And that really gets in the way of…
-
0
votes1
answer89
viewsQ: Java.lang.Nullpoinerexception when trying to insert database data into a Jcombobox
Today my team and I came across a problem trying to do something seemingly simple: display a clerk’s surname in a Jcombobox. The problem is that when opening the screen we receive a…
-
0
votes1
answer62
viewsA: Nullpointer Exception when entering data into a Foreign key
No Fim das contas, resolvi o problema! We use sequences in BD for the bank itself to do the job for us. Follow the code Updated: public void Salvar (ClienteFisico cf, TelefoneFisico t,…
-
0
votes1
answer62
viewsQ: Nullpointer Exception when entering data into a Foreign key
I am facing some problems with entering data in my clients table. Specifically with foreign keys fk_telefone_fisico and fk_telefone_juridico. When I register the user ee gives me a…