SessionFactory buildSessionFactory() throws HibernateException { log.info( "starting service at JNDI name: " + boundName ); log.info( "service properties: " + properties ); return buildConfiguration().buildSessionFactory(); }
SessionFactory buildSessionFactory() throws HibernateException { log.info( "starting service at JNDI name: " + boundName ); log.info( "service properties: " + properties ); return buildConfiguration().buildSessionFactory(); }
public void createSchema() { new SchemaExport( buildConfiguration() ).create(false, true); } public String getName() { return getProperty(Environment.SESSION_FACTORY_NAME);
public void createSchema() { new SchemaExport( buildConfiguration() ).create(false, true); } public String getName() { return getProperty(Environment.SESSION_FACTORY_NAME);
@Override public void dropSchema() { new SchemaExport( buildConfiguration() ).drop(false, true); }
@Override public void createSchema() { new SchemaExport( buildConfiguration() ).create(false, true); }
@Override public void dropSchema() { new SchemaExport( buildConfiguration() ).drop(false, true); }
@Override public void createSchema() { new SchemaExport( buildConfiguration() ).create(false, true); }
public void dropSchema() { new SchemaExport( buildConfiguration() ).drop(false, true); }
public void dropSchema() { new SchemaExport( buildConfiguration() ).drop(false, true); }
SessionFactory buildSessionFactory() throws HibernateException { LOG.startingServiceAtJndiName( boundName ); LOG.serviceProperties( properties ); return buildConfiguration().buildSessionFactory( new ServiceRegistryBuilder().applySettings( properties ).buildServiceRegistry() ); }
SessionFactory buildSessionFactory() throws HibernateException { LOG.startingServiceAtJndiName( boundName ); LOG.serviceProperties( properties ); return buildConfiguration().buildSessionFactory( new ServiceRegistryBuilder().applySettings( properties ).buildServiceRegistry() ); }