-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Attempt to modify an identity column 'ID'.
PostPosted: Wed Jun 27, 2007 8:23 am 
Newbie

Joined: Wed Jun 27, 2007 3:25 am
Posts: 2
Location: Romania
Hi. I am suing Spring + Derby + Hibernate 3.3.0 and I am getting this error when I am trying to persist the model. The ID column from my table is an IDENTITY field.


Caused by: org.apache.derby.client.am.SqlException: Attempt to modify an identity column 'ID'.
at org.apache.derby.client.am.Statement.completeSqlca (Unknown Source)
at org.apache.derby.client.net.NetStatementReply.pars ePrepareError(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.pars ePRPSQLSTTreply(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.read PrepareDescribeOutput(Unknown Source)
at org.apache.derby.client.net.StatementReply.readPre pareDescribeOutput(Unknown Source)
at org.apache.derby.client.net.NetStatement.readPrepa reDescribeOutput_(Unknown Source)
at org.apache.derby.client.am.Statement.readPrepareDe scribeOutput(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.readP repareDescribeInputOutput(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.flowP repareDescribeInputOutput(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.prepa re(Unknown Source)
at org.apache.derby.client.am.Connection.prepareState mentX(Unknown Source)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


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

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.