Forums Register Login

Having to create a connection again after closing ResultSet In MYSQL (no Issue In MSSQL)

+Pie Number of slices to send: Send
Hi. I have a small database app that was connecting to a MSSQL database.
I've modified It to work with a MYSQL database but I'm not sure why I have to create the connection again after
closing a ResultSet with MYSQL.

I could use the .setCatalog method Immediately after closing the ResultSet with the MSSQL connection but I'm
not sure why I can't do the same with MYSQL.
I'd Just like to get a better understanding of what's going on.





(1 cow) 1
+Pie Number of slices to send: Send
Sorry , Just a syntax error I made.
It's working now. I'll mark as resolved because I can't see a delete option.
+Pie Number of slices to send: Send
Thanks for coming back and sharing your solution. Have a cow!
+Pie Number of slices to send: Send
Cow-abunga ! I mean thanks !
Anderson gave himself the promotion. So I gave myself this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 602 times.
Similar Threads
joptionpane paramater (using a class that extends JFrame as a parameter)
JDBC Result Set Related Problem
JDBC /ODBC connectivity
ResultSet is not updateable.
Updating if file exists...
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:55:39.