Register / Login
Win a copy of
Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
Composite Primary key mapping problem with one-to-one Relation
posted 13 years ago
I have two tables
In First table
First Table:- Connection
Columns -- connectionId, ConnectionIndex, PairId, cabletype.
In this table connectionId, ConnectionIndex, PairId declared as a composite primary key.
secound Table:- ConnectionPair
Columns: pairId, DeviceId, PortId, cableType.
PairId declared as a primary key.
This two table having one-to-one relation
In the same maner i am doing all xml mapping and POJO files but it is throwing an exception called
Caused by: net.sf.hibernate.MappingException: duplicate import: ConnectionVO
I am facing this problem.
Please any one can suggest how can i reslove this ..
M. Jidhendra Kumar.
Caused by: net.sf.hibernate.MappingException: duplicate import:
Don't get me started about those stupid
Boost this thread!
entity bean for a table with No Primary key : Please Help,,,, URGENT
updating records, for a table without primary key.
how to interpret this relation(optional one to one) in Hibernate
one-to-many mapping with table having no primay key
Forigen key to Composit primary Key