Package com.googlecode.s2hibernate.lang

Examples of com.googlecode.s2hibernate.lang.SessionFactoryNotFoundException


    public static SessionFactory getSessionFactory(String sessionFactoryName) throws SessionFactoryNotFoundException {
      if (factoriesMap.isEmpty())
        return null;
      SessionFactory sessionFactory = factoriesMap.get(sessionFactoryName);
      if (sessionFactory==null)
        throw new SessionFactoryNotFoundException("No SessionFactory named \""+sessionFactoryName+"\" found. You should use "+factoriesMap.keySet());
      return sessionFactory;
    }
View Full Code Here

TOP

Related Classes of com.googlecode.s2hibernate.lang.SessionFactoryNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.