Re: Hibernate: table without primary key
- From: Avinash Ramana <avinash.fearfear@xxxxxxxxx>
- Date: Sun, 10 Feb 2008 12:53:29 -0800 (PST)
On Jan 18, 8:30 am, Andre Rothe <andre.ro...@xxxxxxxxxxxxxxxxxxxx>
wrote:
Hi,
Is there a possibility in Hibernate to create a table without a primary
key (without the @Id annotation)? I set up a with a dummy key, but I
hate this solution.
Thanx
Andre
No. Hibernate uses the primary key as a method of keeping identity.
Dummy key is fine
-Avinash
.
- Prev by Date: Re: How to use PreparedStatements on a servlet the most efficient way?
- Next by Date: Encoding conversion problem
- Previous by thread: How to use PreparedStatements on a servlet the most efficient way?
- Next by thread: Encoding conversion problem
- Index(es):
Relevant Pages
|
|