Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Databases
»
JDBC and Relational Databases
jdbc connection in main method
shivam aggarwal
,
Greenhorn
Oct 15, 2009 08:40:40
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
is it mandatory to make
jdbc
connection in main method;i tried to use it in event handling method of a button and it gives no response and no errors
samir singha
,
Greenhorn
Oct 15, 2009 08:59:22
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
Not at all.
You should
make a separate Connection class for JDBC. Did your code in event handling method includes any output statement??
Campbell Ritchie
,
Marshal
staff
Oct 15, 2009 09:54:08
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
You ought not to have a connection in the main method. Use the main method to start the application and nothing else.
Post by:
autobot
What are you doing in my house? Get 'em tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 975 times.
Similar Threads
VAJ Oracle connection problem
id of the new field in my table
Hibernate static SessionFactory
Validating user/password for database connection
JDBC Connection Interface
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:45:24
.