ome.tools.hibernate
Class SessionFactory
java.lang.Object
ome.tools.hibernate.SessionFactory
public class SessionFactory
- extends Object
Simple source of Thread-aware Session
instances. Wraps a
call to SessionFactoryUtils
. Should be safe to call from
within any service implementation call or inside of Executor.execute.
- Since:
- 4.0
- Author:
- Josh Moore, josh at glencoesoftware.com
Constructor Summary |
SessionFactory(org.hibernate.SessionFactory factory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFactory
public SessionFactory(org.hibernate.SessionFactory factory)
getSession
public org.hibernate.Session getSession()
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.