[CDBI] Dealing with non-required primary keys
peterspeltz at gmail.com
Sun Sep 4 11:17:00 BST 2005
I think your subject reveals your trouble: "non-required primary
keys". There is no such thing. It seems what you are worried about
is locking into a single RDBMS by having to declare "sequence" or not
and that the code written to not do this is not good enough. I
believe Class::DBI::Loader will set up autoinc PKs correctly based
on the RDBMS specified in the dbi connection string but it is using
the code in specific drivers.
It seems your solution would be to patch the specific drivers for each
RDBMS you want to use so they work.
More information about the ClassDBI