| View previous topic :: View next topic |
| Author |
Message |
gennadiys
Joined: 30 Oct 2009 Posts: 2
|
Posted: Fri Oct 30, 2009 11:14 pm Post subject: SyncResolver.INSERT_ROW_CONFLICT |
|
|
I'm inserting new row to the DataProvider and I'm getting
java.lang.RuntimeException: Number of conflicts while synchronizing: 1 SyncResolver.INSERT_ROW_CONFLICT row 1 Cannot add or update a child row: a foreign key constraint fails (`vmsdev/accounts`, CONSTRAINT `accountstatuses_accounts_fk` FOREIGN KEY (`statusid`) REFERENCES `accountstatuses` (`statusid`))
javax.faces.el.EvaluationException: java.lang.RuntimeException: Number of conflicts while synchronizing: 1 SyncResolver.INSERT_ROW_CONFLICT row 1 Cannot add or update a child row: a foreign key constraint fails (`vmsdev/accounts`, CONSTRAINT `accountstatuses_accounts_fk` FOREIGN KEY (`statusid`) REFERENCES `accountstatuses` (`statusid`))
at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
Despite the fact I provide a foreign key for statysid and this foreign key exists in accountstatuses table.
Any ideas? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|