[Dbix-class] with PK::Auto not loaded: insert complains about
missing sequence/table name
Cedric Boudin
cedric at dreamgnu.com
Sun Nov 25 18:00:35 GMT 2007
Dear list Members,
I don't want to use sequences or automatic pk generation. I create my
own specific pk's with a trigger.
Thus I thaught that just not loading the comp PK::Core in the class
definition would do the trick.
Unfortunatedly, this seems not to work.
I do get:
DBD::Pg::db last_insert_id failed: last_insert_id needs at least a
sequence or table name at /usr/share/perl5/DBIx/Class/Storage/DBI/Pg.pm
line 19.
What is a little bit confusing because inspecting this module file you
discover that:
"This class implements autoincrements for PostgreSQL."
What we did not want. Is the not loading of PK::Core ineffective ??
Or did I miss something
kindly
cedric
More information about the DBIx-Class
mailing list