Package org.eso.ias.cdb.rdb
Class RdbUtils
java.lang.Object
org.eso.ias.cdb.rdb.RdbUtils
Deprecated.
A singleton with a set of utility methods to use while reading/writing
the RDB CDB.
RdbUtils is a singleton
Life cyle: the process is in charge to release the resource
before exiting (or when does not need to access the
RDB anymore) by calling close().
- Author:
- acaproni
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Close the factory releasing the associated resourcesvoidDeprecated.voidDeprecated.static RdbUtilsDeprecated.Factory method returning the singletonorg.hibernate.SessionDeprecated.Get a Session out of the SessionFactorybooleanisClosed()Deprecated.
-
Method Details
-
getRdbUtils
Deprecated.Factory method returning the singleton- Returns:
- The RdbUtils singleton
-
getSession
Deprecated.Get a Session out of the SessionFactory- Returns:
- a Session
- Throws:
IasCdbException- in case of error getting the Session
-
close
public void close()Deprecated.Close the factory releasing the associated resources- See Also:
-
isClosed
public boolean isClosed()Deprecated.- Returns:
trueif the SessionFacory is closed
-
dropTables
Deprecated.- Throws:
IasCdbException
-
createTables
Deprecated.- Throws:
IasCdbException
-