On Wed, Jul 8, 2009 at 15:52, Jonathan Yu<[email protected]> wrote:
> On Wed, Jul 8, 2009 at 3:49 PM, Robert
> Heinzmann<[email protected]> wrote:
>> Found a solution,
>>
>> the Problem is the "begin". If I skip the "begin", I can just run "commit / 
>> rollback" at the end.
> Hm, does this mean that a transaction is automatically created upon
> connection with the database?
>
> Perhaps this is an issue with DBD::Sybase; you might want to mail the
> maintainer and ask for guidance there. Certainly beginning a
> transaction automatically without your knowledge seems like strange
> behaviour.

It's arguable that this is actually the correct-est behavior. And, I
think this is a Sybase thing, not a DBD::Sybase thing. Oracle also
auto-starts transactions in many situations.

Rob

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to