File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes MYSQL Embedded  - be able to optional switch between server and embedded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MYSQL Embedded  - be able to optional switch between server and embedded" Watch "MYSQL Embedded  - be able to optional switch between server and embedded" New topic
Author

MYSQL Embedded - be able to optional switch between server and embedded

premesh purayil
Greenhorn

Joined: Nov 23, 2004
Posts: 17
I cant find great documentation for this . I have downloaded the connecto-mxj driver which has some examples but what i want to be able to do is basically switch databases depending on the driver name and connection URL that i supply ( in the DAO of my app). It would seem that using this driver you have to explicatly start and shutdown the database... but one would think that through the connection URL you can have it "start" automatically upon first connection?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MYSQL Embedded - be able to optional switch between server and embedded
 
Similar Threads
Why use Class.forName() to load driver
WebSphere Studio JDBC Connection Problem
New Task
Issue Connecting to MS SQL Server using WAS Embedded connectjdbc Driver
database not connecting to application