Skip to content

Instantly share code, notes, and snippets.

@emmanuelbernard
Created March 31, 2011 13:51
Show Gist options
  • Save emmanuelbernard/896373 to your computer and use it in GitHub Desktop.
Save emmanuelbernard/896373 to your computer and use it in GitHub Desktop.
sessionFactory.openSession(
new SessionOptionBuilder()
.interceptor(interceptor)
.autoJoin(false)
.get()
)
@sebersole
Copy link

sessionFactory.openSession(
new SharedSessionOptionBuilder( anotherSession )
.connection()
.autoJoin(false)
.get()
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment