Id generation in Hibernate with Sequence

I have the following SQL Script:

The Hibernate entity for this would be:

Leave a Reply

Your email address will not be published. Required fields are marked *