#357 ✓closed
Ben Hood

Migration does not work with Oracle

Reported by Ben Hood | September 5th, 2011 @ 10:31 AM | in 0.9-series (closed)

The DB migration does not work with Oracle because the Oracle dialect does not support identity columns:

Caused by: org.hibernate.MappingException: Dialect does not support identity key generation
        at org.hibernate.dialect.Dialect.getIdentityColumnString(Dialect.java:506) ~[hibernate-core-3.6.0.Final.jar:3.6.0.Final]
        at org.hibernate.dialect.Dialect.getIdentityColumnString(Dialect.java:496) ~[hibernate-core-3.6.0.Final.jar:3.6.0.Final]
        at net.lshift.hibernate.migrations.SQLStringHelpers.generateIdentityColumnString(SQLStringHelpers.java:40) ~[hibernate-migrations-0.1-SNAPSHOT.jar:na]
        at net.lshift.hibernate.migrations.CreateTableBuilder.toSql(CreateTableBuilder.java:96) ~[hibernate-migrations-0.1-SNAPSHOT.jar:na]
        at net.lshift.hibernate.migrations.CreateTableBuilder.prepare(CreateTableBuilder.java:87) ~[hibernate-migrations-0.1-SNAPSHOT.jar:na]
        at net.lshift.hibernate.migrations.SingleStatementMigrationElement.apply(SingleStatementMigrationElement.java:28) ~[hibernate-migrations-0.1-SNAPSHOT.jar:na]
        at net.lshift.hibernate.migrations.MigrationBuilder.apply(MigrationBuilder.java:82) ~[hibernate-migrations-0.1-SNAPSHOT.jar:na]
        at net.lshift.diffa.kernel.config.AddPersistentDiffsMigrationStep$.migrate(HibernateConfigStorePreparationStep.scala:399) ~[diffa-kernel-0.9-SNAPSHOT.jar:na]

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Tags

Pages