Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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
1 Antwort
+ 2
Could you show us your Connection class that contains your custom getConnection method?
It is impossible to help without reviewing the code.