public class Manager extends Object
Constructor and Description |
---|
Manager() |
Modifier and Type | Method and Description |
---|---|
static void |
closeSession()
Closes the SessionFactory.
|
static org.hibernate.SessionFactory |
getFactory(ServerProperties properties) |
static org.hibernate.SessionFactory |
getValidateFactory(ServerProperties properties) |
public static org.hibernate.SessionFactory getFactory(ServerProperties properties)
properties
- The ServerProperties that contain the database
configuration.public static org.hibernate.SessionFactory getValidateFactory(ServerProperties properties)
properties
- The ServerProperties that contain the database
configuration.public static void closeSession()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.