From a java.sql.Connection object you can obtain a reference to a DatabaseMetaData object. That has methods like getDatabaseMajorVersion(), getDatabaseMinorVersion(), getDatabaseProductName() and getDatabaseProductVersion().
On a ServletContext object you can call methods such as getServerInfo(), getMajorVersion() and getMinorVersion().
posted 11 years ago
Thanks so much!!
Got it working...
I have told a million friends of mine about this site I think... you guys rock!
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database