A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 08, 2002
Jul 09, 2004 07:38:00
I have been using
mostly with Access and SQL Server.
I now want to switch to Mysql.
Can anyone assist me with the Driver loading statement (Class.forname....)
when using Mysql.
If possible just give a simple example.
Thanks in advance
Joined: Apr 14, 2004
Jul 09, 2004 07:46:00
No one can without knowing which driver you are using. I suggest you check the documentation that comes with which ever driver you have - they usually include example connection code.
Joined: Jul 10, 2004
Jul 10, 2004 10:08:00
something about this you can find it from google
this is the simple way to do without posting to here
It is sorta covered in the
JavaRanch Style Guide
subject: Java/MySQL connectivity
Is there any function like saveOrUpdate
Which Query is faster
newbie question on database
why i can't get the whole string when rs.getString() called ?
Miliceconds + Group By (Interval of 5 Seconds)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014