*
The moose likes JDBC and the fly likes Is there a way to determine 'UNIQUE' constraints? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is there a way to determine Watch "Is there a way to determine New topic
Author

Is there a way to determine 'UNIQUE' constraints?

nico dotti
Ranch Hand

Joined: Oct 09, 2007
Posts: 124
I'm so close to getting everything I need from metadata to dynamically create a build.sql scxript, but I don't see a way to get UNIQUE constraints (not PK's or FK's though they should be unique I actually mean UNIQUE sql constraint). Looking for something like:

resultSetMetaData.isUnique(column)

Any suggestion? Thanks all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there a way to determine 'UNIQUE' constraints?