How do I find out if my database supports row ids?

John Zukowski

The Java 6 DatabaseMetaData class has a getRowIdLifetime() method that returns a RowIdLifetime, which has an enumeration of possible values:

  • ROWID_UNSUPPORTED
  • ROWID_VALID_FOREVER
  • ROWID_VALID_SESSION
  • ROWID_VALID_TRANSACTION
  • ROWID_VALID_OTHER
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact