Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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