Configuration of the JDBC driver | ||||||||||
JDBC Driver class name: smallsql.database.SSDriver JDBC URL: jdbc:smallsql:<database> <database> is a absolute or relative directory name
In the Java code for a directory "db1" this look like: Class.forName( "smallsql.database.SSDriver"
);
JDBC URL propertiesA property can be set with a Property Object on the method call DriverManager.getConnection. Or it can add after the base JDBC with a question mark. Multiple properties are delimited with a semicolon.
JDBC URL Samplesjdbc:smallsql:MyDb?create=true see also:Create an empty DatabaseInstall SmallSQL Database Getting Started |