FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

SyncResolver.INSERT_ROW_CONFLICT

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
gennadiys



Joined: 30 Oct 2009
Posts: 2

PostPosted: Fri Oct 30, 2009 11:14 pm    Post subject: SyncResolver.INSERT_ROW_CONFLICT Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB