private static Class < ? > getHibernateClass ( ) { Class < ? > cl = null ; try { cl = Class . forName ( HIBERNATE_CLASS ) ; } catch ( ClassNotFoundException e ) { // in this case jar which contain // Hibernate class not found } return cl ; }
Return Hibernate class instance