public synchronized static Session getSession ( ) { if ( session == null ) { Properties properties = IOUtil . loadProperties ( "jdbc.properties" ) ; session = getSession ( properties ) ; } return session ; }
Returns a session configured with the properties specified in the jdbc . properties file .