Class DbUtils


  • public class DbUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String databaseType​(javax.sql.DataSource dataSource)
      Determine database type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • databaseType

        public static java.lang.String databaseType​(javax.sql.DataSource dataSource)
        Determine database type
        Parameters:
        dataSource - instance to determine type
        Returns:
        type of database