yes. some part of your code closed the database connection. Vinaya wrote: > Hello All > org.h2.jdbc.JdbcSQLException: The database has been closed [90098-162] > at > org.h2.message.DbException.getJdbcSQLException(DbException.java:329) > at org.h2.message.DbException.get(DbException.java:169) > at org.h2.message.DbException.get(DbException.java:146) > at org.h2.message.DbException.get(DbException.java:135) > at org.h2.engine.Database.checkPowerOff(Database.java:433) > at org.h2.command.Command.executeUpdate(Command.java:237) > at > org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java: > 143) > at > org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java: > 1092) > > I am getting the above error when trying to insert 1 million rows each > having 34 columns of Strings > > Any clue what could be the reason ? > > Thanks > Vinaya >
-- 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.
