Skip to content

Instantly share code, notes, and snippets.

@emmanuelbernard
Created March 31, 2011 13:53
Show Gist options
  • Save emmanuelbernard/896377 to your computer and use it in GitHub Desktop.
Save emmanuelbernard/896377 to your computer and use it in GitHub Desktop.
sessionFactory
.withSessionOptions()
.interceptor(interceptor)
.autoJoin(false)
.openSession();
sessionFactory
.withSessionOptionsFrom(otherSession)
.interceptor(interceptor)
.autoJoin(false)
.openSession();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment