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 TypeMethodDescriptionvoid
close()
Deprecated.Close the factory releasing the associated resourcesvoid
Deprecated.void
Deprecated.static RdbUtils
Deprecated.Factory method returning the singletonorg.hibernate.Session
Deprecated.Get a Session out of the SessionFactoryboolean
isClosed()
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:
-
SessionFactory.close()
-
isClosed
public boolean isClosed()Deprecated.- Returns:
true
if the SessionFacory is closed
-
dropTables
Deprecated.- Throws:
IasCdbException
-
createTables
Deprecated.- Throws:
IasCdbException
-