[Dbix-class] PK::Auto::Oracle doesn't work
Andy Grundman
andy at hybridized.org
Tue Dec 13 22:14:26 CET 2005
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
More information about the Dbix-class
mailing list