0

Connection db in java with several frames

After connecting to db on one frame, going to another frame and coming back, i loose my connection to db. For connection at first time i tried to use connection method in code, but then i made class for connection. Unfortunately the result is same - i loose my connection to db after going out and coming back on jframe

29th Aug 2019, 8:25 AM
Еж Бесогон
Еж Бесогон - avatar
1 Respuesta
+ 2
Could you show us your Connection class that contains your custom getConnection method? It is impossible to help without reviewing the code.
24th Feb 2020, 11:32 PM
Tashi N
Tashi N - avatar