Joined: Tue Sep 09, 2003 6:19 pm Posts: 9
|
Hi,
I have a situation where I need to call stored procedures to access some legacy data. In this situation I don't update just read. Hibernate requires me to define a primary key. With the data I have there really isn't a primary key. I tried to just define the entire record as the PK. I'm having a problem in that some of the columns may be null. Any one have any experience with this? I'm also wondering why must I define a PK? A PK makes since for updates but isn't necessary for queries.
TIA
|
|