How to set the isolation level of the default session that elixir uses?

11 views
Skip to first unread message

DavidG

unread,
Jul 20, 2012, 8:56:35 AM7/20/12
to sqle...@googlegroups.com
Hi--

Is there a simple way to set the transaction isolation level of the default session that elixir uses? Ie, how do you tell create_engine which is invoked behind the scenes to set isolation_level? (The reason for this question is that after moving to python 2.7 and an updated version of sqlite a long running piece of software is throwing an exception about the database being locked (upon a query)). 

Thank you, David

Erik Janssens

unread,
Jul 20, 2012, 9:00:45 AM7/20/12
to sqle...@googlegroups.com
try to create the session yourself and tell
elixir to use it, before anything else is done

elixir.session = MySession()
> --
> You received this message because you are subscribed to the Google
> Groups "SQLElixir" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sqlelixir/-/0nP58kq2VOQJ.
> To post to this group, send email to sqle...@googlegroups.com.
> To unsubscribe from this group, send email to sqlelixir
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sqlelixir?hl=en.


Reply all
Reply to author
Forward
0 new messages