Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / June 2009

Tip: Looking for answers? Try searching our database.

Sequences & generators

Thread view: 
Andre Rothe - 27 Jun 2009 10:59 GMT
Hi,

Is there a way to get information about sequences/generators from the
java.sql.DatabaseMetaData? Some RDBMS use auto-increment columns, which
I can see in getColumns(), but if I use sequences, I have to use
RDBMS-specific code to get information about?

Thanks for all ideas
Andre
Thomas Kellerer - 27 Jun 2009 11:13 GMT
Andre Rothe wrote on 27.06.2009 11:59:
> but if I use sequences, I have to use
> RDBMS-specific code to get information about?

Yes, with the exception of Postgres which returns sequences in getTables() as well.

Thomas


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.