[Dbix-class] PK::Auto::Oracle doesn't work

Hartmaier Alexander Alexander.Hartmaier at t-systems.at
Wed Dec 14 11:05:01 CET 2005


No it doesn't!
Thats the problem. Although it is loaded according to %INC it isn't used.

-Alex


-----Original Message-----
From: dbix-class-bounces at lists.rawmode.org [mailto:dbix-class-bounces at lists.rawmode.org] On Behalf Of Andy Grundman
Sent: Tuesday, December 13, 2005 10:14 PM
To: dbix-class at lists.rawmode.org
Subject: Re: [Dbix-class] PK::Auto::Oracle doesn't work

Hartmaier Alexander wrote:
> This call should create a new object, but it fails because the primary 
> key (id_fw_cust_request) doesn’t get a value from the sequence defined 
> in the tables class.

I assume you mean you've set __PACKAGE__->sequence( 'foo' ); ?

Try enabling DBI->trace( 1, '/tmp/dbic.trace' ) and make sure it runs a 
statement like:

SELECT foo.nextval FROM DUAL

Last, try running the Oracle PK test in the testsuite.

-Andy

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5544 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20051214/4ade79ff/smime.bin


More information about the Dbix-class mailing list