-
Getting Sequence Number from the DB
Hello All,
I am using and new to NetBeans, VWP and Enterprise Pack 5.5.
Can any one help me how to get the next sequence number from a database.
I have a sequence defined in PostgreSQL ver 8. When adding a new record, the user is taken to a form where the details have to be filled in. One of the fields is the ID and I would like to get the next sequence number from the Database and display it in the ID text field of the form. For persistence API, I am using Hibernate.
An early response will be highly appreciated.
Kind Regards.
Hasnain.
Similar Threads
-
Replies: 18
Last Post: 12-13-2006, 02:49 PM
-
By divagoddess in forum C++
Replies: 12
Last Post: 05-07-2006, 10:55 PM
-
By whygh in forum VB Classic
Replies: 3
Last Post: 05-25-2005, 12:17 PM
-
By senthilvel in forum Database
Replies: 5
Last Post: 10-11-2002, 12:49 AM
-
By senthilvel in forum Database
Replies: 6
Last Post: 10-10-2002, 06:48 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks