]
Hardy Ferentschik updated HSEARCH-913:
--------------------------------------
Fix Version/s: (was: 4.0)
4.0.0.Beta1
org.hibernate.search.test.embedded.EmbeddedTest#testEmbeddedToManyInSuperslass fails
against MySQL with a constraint violation
------------------------------------------------------------------------------------------------------------------------------
Key: HSEARCH-913
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-913
Project: Hibernate Search
Issue Type: Bug
Components: tests
Affects Versions: 4.0.0.Alpha2
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Priority: Minor
Fix For: 4.0.0.Beta1
{noformat}
Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot
add or update a child row: a foreign key constraint fails (`hibernate`.`productfeature`,
CONSTRAINT `FK81EF77272D4C4C2A` FOREIGN KEY (`id`) REFERENCES `productfeature` (`id`))
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
at
org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:94)
at
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:57)
... 57 more
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: