Closed GoogleCodeExporter closed 8 years ago
This bug has been fixed in SVN.
Original comment by noelgrandin
on 11 Feb 2014 at 7:09
Hi, This is still an issue for me in the latest release 1.3.176. It's still
broken:
org.h2.jdbc.JdbcSQLException: Unable to create or alter sequence
"DEPLOYMENT_ITEMS_TABLE_SEQ" because of invalid attributes (start value "1",
min value "1", max value "9223372036854775807", increment "1"); SQL statement:
alter sequence deployment_items_table_seq RESTART WITH (select max (id) from
deployment_items_table ) + 1; [90009-176]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
at org.h2.message.DbException.get(DbException.java:178)
at org.h2.schema.Sequence.modify(Sequence.java:120)
at org.h2.command.dml.AlterSequence.update(AlterSequence.java:101)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:254)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:186)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:160)
at com.pontusnetworks.db.JdbcDeploymentItemsDAO.<init>(JdbcDeploymentItemsDAO.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
Original comment by odranoe...@gmail.com
on 17 Sep 2014 at 9:39
You can use version 1.4.184 and add the option "MV_STORE=false" to your DB URL
to get this fix
Original comment by noelgrandin
on 6 Jan 2015 at 7:52
Original issue reported on code.google.com by
odranoe...@gmail.com
on 10 Feb 2014 at 2:34Attachments: