On Oct 23, 11:11 pm, David Whittaker <
d...@iradix.com> wrote:
> Hmm.... It's definitely not a typical Squeryl flow. You would generally
> have a single SessionFactory that is initialized when your application
> starts, and there are very few situations where you need to access
> Session.currentSession or Session.currentSessionOption yourself. All
> Squeryl code is generally wrapped in a transaction or inTransaction block,
> and aside from starting a transaction those blocks will make sure that a
> Session is vended from the SessionFactory and bound to the current thread.
> Calls to Squeryl methods (create, drop, insert, queries, etc) will all use
> the Session bound to the current thread. It may help you to look the
> documentation over, in particularhttp://
squeryl.org/sessions-and-tx.htmlshouldhelp.
>
> -Dave
>
> On Sun, Oct 23, 2011 at 12:07 PM, stephanos