Hey folks!
I want to use the DatabaseConfiguration class from Jakarta Commons
Configuration ( http://jakarta.apache.org/commons/configuration/ )
which takes a DataSource in its constructor.
The problem is that i have no idea how to get such a thing ;-)
I have no problems doing the
Class.forName("org.sqlite.JDBC");
Connection conn = DriverManager.getConnection("jdbc:sqlite:test.db");
thing, but how to get a DataSource?
I have to set the database-file depending on some user input, so i
think i can't use this JNDI-stuff...
Please help a little JDBC-noob :-)
Thanks, krassonkel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---