James FitzGibbon wrote: > Yep, it was the version of C3. Upgrading to 0.11 fixed it. Or at, least, > it now breaks further on, but that's probably an artifact of my conversion > from DB to Schema. > > However, the version requirement is not in the DBIC code: > > package DBIx::Class::Componentised; > use Class::C3; > > ...only in Build.PL. My module build system is driven off of RPM, so it > gets it's version requirements from the code, not the build scripts. It > probably flashed a warning at me (that I missed, to be sure), but the > install succeeded because there was no min version attacked to the > requirement in the RPM file. > > I looked at the head of PK::Auto on the -current branch. It looks like it > will do what I need, but I will still have to override last_insert_id and > get_autoinc_seq in some places. I have some tables that use UUIDs instead > of sequences for primary keys, but the generation is done in the database, > so DBIC::UUIDColumns doesn't work for me. Because the function that > populates the column is named NEXTUUID instead of NEXTVAL, I have to load a > component that overrides both methods, changing what is looked for and what > is selected.
Interesting. Tell me more. I was the last to hack through UUIDColumns, and added UUIDMaker that uses the next available uuid generator, Data::UUID, UUID, Win32::GUIDGen, etc. I've never seen NEXTVAL... and I'll assume NEXTUUID is a db level function....
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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/
