wood burning stoves 2.0*
The moose likes Struts and the fly likes How to generate id incrementally Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to generate id incrementally" Watch "How to generate id incrementally" New topic

How to generate id incrementally

Sandeep Poojary

Joined: Oct 17, 2008
Posts: 4
Hi All,
Using Hibernate <generator> (or if any other) how to generate id incrementally. I am using Postgres as Backend. Please help me.

David Newton

Joined: Sep 29, 2008
Posts: 12617

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.
Consider Paul's rocket mass heater.
subject: How to generate id incrementally
Similar Threads
Walk distinct values in xsl key 4 at a time
method update in urlyBird
Generate Id.
auto generated unique Id?
How to generate autonumber in textbox