this is my connection
public static Connection getConnection() {
Connection con;
try {
Class.forName("org.h2.Driver");
con = DriverManager.getConnection("" +
"jdbc:h2:zip:C:/Program
Files/ANET/WCMPYShield/data/test.zip!/test;" +
"ACCESS_MODE_DATA=R;TRACE_LEVEL_FILE=0;TRACE_LEVEL_SYSTEM_OUT=10;TRACE_MAX_FILE_SIZE=0",
"admin", "");
return con;
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
I must use zip files . When I take backup
backup create zip files test.zip
but my connection is drop ..
2009/12/10 Sergi Vladykin <[email protected]>
> Sql command 'BACKUP' does nothing else then simply zipping your
> database file. You should unzip it and use as usual.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<h2-database%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups "H2
Database" 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/h2-database?hl=en.