Re: Creating database issue
how u have created the connection with ClientDriver show me your complete code of connection .. i am also trying the same but its not happenning even after adding the derby.jar files .. in ur case may be u r not adding these libraries
Re: Creating database issue
Quote:
Originally Posted by
drimades
Provide that driver name when you load the driver using Class.forName. If this doesn't work, then provide the full stack trace and an SSCCE
Re: Creating database issue
Code :
String host = "jdbc:derby://localhost:1527/TownHall; create = true";
String uName = "yyy";
String uPass= "1";
try{
Connection con = DriverManager.getConnection( host, uName, uPass );
Statement stmt = con.createStatement( );
Re: Creating database issue
That is neither a stack trace nor an SSCCE.