This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate id incrementally

 
Sandeep Poojary
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Using Hibernate <generator> (or if any other) how to generate id incrementally. I am using Postgres as Backend. Please help me.

Regards,
Sandeep
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't a Struts question.

Read the PostgreSQL documentation if you want to use native PostgreSQL IDs, read the Hibernate documentation for various means of generating IDs via Hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic