Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Looking for RDBMS driver with Transaction Support.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex Arnon  
View profile  
 More options May 2 2011, 2:24 pm
From: Alex Arnon <alex.ar...@gmail.com>
Date: Mon, 2 May 2011 21:24:31 +0300
Local: Mon, May 2 2011 2:24 pm
Subject: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Hi All,

Is there an RDBMS driver in the Erlang universe whose API supports
transactions?
The docs for odbc, epgsql and emysql do not specify any kind of transaction
support.

Thanks in advance!

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ulf Wiger  
View profile  
 More options May 2 2011, 2:41 pm
From: Ulf Wiger <ulf.wi...@erlang-solutions.com>
Date: Mon, 2 May 2011 20:41:21 +0200
Local: Mon, May 2 2011 2:41 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

On 2 May 2011, at 20:24, Alex Arnon wrote:

> Hi All,

> Is there an RDBMS driver in the Erlang universe whose API supports transactions?
> The docs for odbc, epgsql and emysql do not specify any kind of transaction support.

Erlydb had transaction support, and some people may still be using it.

https://github.com/anka-213/erlydb
http://yarivsblog.blogspot.com/2006/09/erlydb-07.html

ODBC actually does too. You use odbc:connect/2 followed by odbc:commit/2,
unless you have {auto_commit, on}, in which case every query is a transaction.

BR,
Ulf W

Ulf Wiger, CTO, Erlang Solutions, Ltd.
http://erlang-solutions.com

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Parnell Springmeyer  
View profile  
 More options May 2 2011, 2:43 pm
From: Parnell Springmeyer <ixma...@gmail.com>
Date: Mon, 02 May 2011 11:43:07 -0700
Local: Mon, May 2 2011 2:43 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

https://github.com/dizzyd/erlang-mysql-driver

Look at the tests to see how transactions are used. I use them
extensively in my current project.

Alex Arnon <alex.ar...@gmail.com> writes:
> Hi All,

> Is there an RDBMS driver in the Erlang universe whose API supports
> transactions?
> The docs for odbc, epgsql and emysql do not specify any kind of
> transaction support.

> Thanks in advance!

> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

- --
Parnell "ixmatus" Springmeyer (http://ixmat.us)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJNvvs7AAoJEPvtlbpI1POLvQcH/jyrjTekFE3P0FeF6dn84ROo
mAQQWI0cKGM8gLJOJA0kzaf3kEOZ4Ad6qBot2cXU1W5jWBDxRdf0DcvlsGCXx7uN
fNOfLCug6/3NNICkCjTUu+mtE1zs3itxj4LU87fbNe9h65MelASwQh7NnXob11A2
5ylQBXgzEdv6AaPavdO/ej9qRNDA0QieVTFaECW0Pzaly87q9XkBqkgQqoFt34Ta
eAbewn90VhuQKB1GZZJDUOH58l57H2RaMKUqSqYMCCmqxwXXAmNUKyNYOsurx7za
gCjSEBZ7JvCb+3yyLj6SWlHgTFypYNtZK+861lNLd8i2aKPsOuWHIo/9pkprO94=
=PPX8
-----END PGP SIGNATURE-----
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Arnon  
View profile  
 More options May 2 2011, 3:18 pm
From: Alex Arnon <alex.ar...@gmail.com>
Date: Mon, 2 May 2011 22:18:11 +0300
Local: Mon, May 2 2011 3:18 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Thank you all for the solutions, this is very helpful!
We will evaluate the epgsql and erlang-mysql solutions.

On Mon, May 2, 2011 at 9:43 PM, Parnell Springmeyer <ixma...@gmail.com>wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Raschke  
View profile  
 More options May 3 2011, 4:11 am
From: Robert Raschke <rtrli...@googlemail.com>
Date: Tue, 3 May 2011 09:11:26 +0100
Local: Tues, May 3 2011 4:11 am
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Just to reiterate Ulf's point, in case you missed it. The standard Erlang
odbc module supports transactions when you odbc:connect/2 using the option
{auto_commit, off}.

Although, if I remember correctly, nested txns are not supported.

Robby

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Arnon  
View profile  
 More options May 3 2011, 8:19 am
From: Alex Arnon <alex.ar...@gmail.com>
Date: Tue, 3 May 2011 15:19:33 +0300
Local: Tues, May 3 2011 8:19 am
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Good - we don't need nested transactions.
Thanks!

On Tue, May 3, 2011 at 11:11 AM, Robert Raschke <rtrli...@googlemail.com>wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mabrek  
View profile  
 More options May 3 2011, 8:39 am
From: mabrek <mab...@gmail.com>
Date: Tue, 3 May 2011 16:39:02 +0400
Local: Tues, May 3 2011 8:39 am
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

On Mon, May 2, 2011 at 10:24 PM, Alex Arnon <alex.ar...@gmail.com> wrote:
> Hi All,

> Is there an RDBMS driver in the Erlang universe whose API supports
> transactions?
> The docs for odbc, epgsql and emysql do not specify any kind of transaction
> support.

epgsql does have simple transaction support, take a look at function
with_transaction/2 at
https://github.com/wg/epgsql/blob/master/src/pgsql.erl

Regards,
Anton Lebedevich
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Arnon  
View profile  
 More options May 5 2011, 3:40 am
From: Alex Arnon <alex.ar...@gmail.com>
Date: Thu, 5 May 2011 10:40:34 +0300
Local: Thurs, May 5 2011 3:40 am
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Oh, excellent! Thank you very much!

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jr0  
View profile  
 More options Aug 7 2012, 4:52 pm
From: Jr0 <Jrosenb...@prodigy.net>
Date: Tue, 7 Aug 2012 13:52:43 -0700 (PDT)
Local: Tues, Aug 7 2012 4:52 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.
I know that the Odbc library has a commit/2 and commit/3, but I'm not sure if
I am interpreting its use correctly.

If I create a session with the {auto_commit, off} attribute and then do a
series of separate sql_query/2 SELECT statements (not batched statements,
but separate invocations of sql_query/2), followed by a committ/2, are the
selects all done within a single transaction guaranteeing ACID properties?

I am using Oracle, by the way

--
View this message in context: http://erlang.2086793.n4.nabble.com/Looking-for-RDBMS-driver-with-Tra...
Sent from the Erlang Questions mailing list archive at Nabble.com.
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nx  
View profile  
 More options Aug 7 2012, 4:55 pm
From: nx <n...@nu-ex.com>
Date: Tue, 7 Aug 2012 16:55:39 -0400
Local: Tues, Aug 7 2012 4:55 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.
erlang-mysql-driver has transactions support:
https://github.com/dizzyd/erlang-mysql-driver

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Oliver  
View profile   Translate to Translated (View Original)
 More options Aug 7 2012, 5:06 pm
From: Paul Oliver <puzza...@gmail.com>
Date: Tue, 7 Aug 2012 17:06:19 -0400
Local: Tues, Aug 7 2012 5:06 pm
Subject: Re: [erlang-questions] Looking for RDBMS driver with Transaction Support.

Related: https://github.com/smarkets/epgsql_connpool

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »