- Joined
- Oct 9, 2007
- Messages
- 1
- Reaction score
- 0
Hi,
Can any one help me to with ...
How to create a primary key in hibernate , without allowing hibernate to create by itself using <generator class="increment">.
I wanted to create a primary key manually(without auto increments),might be using <generator class="assigned"> and mapping those with another tables as foreign key.
a sample code will be helpful
Can any one help me to with ...
How to create a primary key in hibernate , without allowing hibernate to create by itself using <generator class="increment">.
I wanted to create a primary key manually(without auto increments),might be using <generator class="assigned"> and mapping those with another tables as foreign key.
a sample code will be helpful