I used sql : Backup to 'test.zip' but ı can not use test.zip whan can ı do or how can backup that ı can use
On Dec 9, 12:46 am, Kerry Sainsbury <[email protected]> wrote: > Boy do I feel silly! > > On Tue, Dec 8, 2009 at 10:28 PM, lvr123 <[email protected]> wrote: > > From the documentation: > > "Databases in zip files are read-only." > > > On Dec 7, 10:40 am, abdurrahim dagdelen <[email protected]> wrote: > > > 12-07 11:37:13 database: opening zip:C:/Program > > > Files/ANET/WCMPYShield/data/test.zip!/test (build 107) > > > 12-07 11:37:13 index: open existing SYS rows: 0 > > > 12-07 11:37:13 database: opened zip:C:/Program > > > Files/ANET/WCMPYShield/data/test.zip!/test > > > org.h2.jdbc.JdbcSQLException: The database is read only [90097-107] > > > at org.h2.message.Message.getSQLException(Message.java:103) > > > at org.h2.message.Message.getSQLException(Message.java:114) > > > at org.h2.message.Message.getSQLException(Message.java:77) > > > at org.h2.message.Message.getSQLException(Message.java:149) > > > at org.h2.engine.Database.checkWritingAllowed(Database.java:1674) > > > at org.h2.engine.Database.addDatabaseObject(Database.java:826) > > > at org.h2.engine.Database.setMasterUser(Database.java:1639) > > > at org.h2.engine.Engine.openSession(Engine.java:65) > > > at org.h2.engine.Engine.openSession(Engine.java:126) > > > at org.h2.engine.Engine.getSession(Engine.java:109) > > > at > > > org.h2.engine.SessionFactoryEmbedded.createSession(SessionFactoryEmbedded.java:17) > > > at > > > org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:251) > > > at org.h2.engine.SessionRemote.createSession(SessionRemote.java:229) > > > at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:111) > > > at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:95) > > > at org.h2.Driver.connect(Driver.java:58) > > > at java.sql.DriverManager.getConnection(Unknown Source) > > > at java.sql.DriverManager.getConnection(Unknown Source) > > > at > > > h2bacukp.H2ZipDatabaseConnection.getConnection(H2ZipDatabaseConnection.java:13) > > > at h2bacukp.Main.select(Main.java:35) > > > at h2bacukp.Main.main(Main.java:13) > > > Exception in thread "main" java.lang.NullPointerException > > > at h2bacukp.Main.select(Main.java:37) > > > at h2bacukp.Main.main(Main.java:13) > > > 12-07 11:37:13 database: closing zip:C:/Program > > > Files/ANET/WCMPYShield/data/test.zip!/test > > > 12-07 11:37:13 database: closed > > > -- > > > 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.
