Re: [Hibernate] mapped connection with non-id column

2004-08-04 Thread Christian Bauer
On Aug 5, 2004, at 1:40 AM, Luo, Frank wrote: I see a lot of examples that Hibernate use "id" to map a connection from other tables, but I run into a scenario that the mapping is not done by id, hence I run out of ideas. Use the user forum. -- Christian Bauer +49 171 455 66 53 callto://christian-

[Hibernate] mapped connection with non-id column

2004-08-04 Thread Luo, Frank
I see a lot of examples that Hibernate use "id" to map a connection from other tables, but I run into a scenario that the mapping is not done by id, hence I run out of ideas. Here is a simplified version of my problem: Table CITY { id AS NUMBER Primary key stateCode AS char(3) name ...