Hi

It seems that I do NEED to delete this temporary folder before each opening
of the database

As I am very unsure of derby coding would somebody care to suggest what I
need to add and where to add it?

Relevant part of my coding is as follows:-
**********************************************
private class DerbyApp
{
private String framework = "embedded";
private String driver = "org.apache.derby.jdbc.EmbeddedDriver";
private String protocol = "jdbc:derby:";

void go(String[] args_derby)
{
parseArguments(args_derby);

myConsole.getOut().println("DerbyApp starting in " + framework + " mode");

loadDriver();

ArrayList statements = new ArrayList(); // list of Statements,
PreparedStatements
PreparedStatement psInsert = null;
PreparedStatement psUpdate = null;
PreparedStatement psDelete = null;
try
{
Properties props = new Properties(); // connection properties
props.put("user", "xxxx");
props.put("password", "yyyyyyyy");

String dbName = "C:/Program Files/Derby Database/us_copiosus"; // the name
of the database

conn = DriverManager.getConnection(protocol + dbName, props);
******************************************* 

Many thanks

Bob M
Dunedin, New Zealand



--
View this message in context: 
http://apache-database.10148.n7.nabble.com/Derby-Error-message-explanation-required-tp142183p142283.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

Reply via email to