Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1.1
Name and version of the database you are using: Oracle 9
Hi,
I would like to map the following table :
create table DIPLOME
(
COD_DIP VARCHAR2(20) not null,
VERSION_DIP VARCHAR2(20) not null,
LIB_DIP VARCHAR2(100) not null,
DATE_DIP DATE not null,
constraint PK_DIPLOME primary key (COD_DIP, VERSION_DIP)
)
I would like to know how to map this table, do I have to use a composite-id ?
Thanks.