Mapping a UNIQUE pair of keys in a MySQL table into .hbm.xml in Hibernate
From: Tung Chau (tungchau81_at_yahoo.com)
Date: 08/21/04
- Next message: Keith: "Remove unicode from SQL"
- Previous message: Lee Fesperman: "Re: Geometery access via JDBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Aug 2004 18:36:10 -0700
In my table, if I have the following UNIQUE pair of keys,
"UNIQUE (SUBJECT_AREA_ID, DISCIPLINE_ID)"
How do I represent this in .hbm.xml in Hibernate?
Is that the composit-id that I need to you?
Thanks,
Tung Chau
- Next message: Keith: "Remove unicode from SQL"
- Previous message: Lee Fesperman: "Re: Geometery access via JDBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]