public class ChecksumFactory extends HibernateFactory
Constructor and Description |
---|
ChecksumFactory() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages show up on the
correct class
|
static Checksum |
lookupById(java.lang.Long idIn)
Lookup a checksum by id
|
static Checksum |
safeCreate(java.lang.String hash,
java.lang.String hashType)
Lookup a checksum and if not exists, it is created.
|
addConfigurator, blobToByteArray, byteArrayToBlob, closeSession, closeSessionFactory, commitTransaction, createSessionFactory, createSessionFactory, executeCallableMode, executeSelectMode, getBlobContents, getByteArrayContents, getObject, getSession, initialize, inTransaction, isClosed, isInitialized, listObjectsByNamedQuery, listObjectsByNamedQuery, listObjectsByNamedQuery, lockObject, lookupObjectByNamedQuery, lookupObjectByNamedQuery, reload, removeObject, rollbackTransaction, saveObject, saveObject, stringToByteArray
public static Checksum lookupById(java.lang.Long idIn)
idIn
- the checksum to search forpublic static Checksum safeCreate(java.lang.String hash, java.lang.String hashType)
hash
- to lookup Checksum forhashType
- to lookup Checksum forprotected org.apache.log4j.Logger getLogger()
getLogger
in class HibernateFactory