wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes basic error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "basic error" Watch "basic error" New topic

basic error

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi ,I get the next error:

SEVERE: org.hibernate.MappingException: Repeated column in mapping for entity: bean.Content column: PAGE_ID (should be mapped with insert="false" update="false")

┬┐Any idea?


lokesh sree
Ranch Hand

Joined: Oct 27, 2009
Posts: 99

Looks like you have not posted your complete query .
The post would definitely need to include more information on what you were trying to do, code pieces etc. and when you are facing this exception if you want others to look at the issue and provide any inputs.

subject: basic error
Similar Threads
Hibernate- one-to-many association on a foreign key
Saving database records problem
hibernate error
Question on Loops
Data conversion in Hibernate