A new version of Rose::DB (0.57) is required as well.

There are many important bug fixes in this release, plus a good number of
brand-new features.  The highlight is probably the addition of what I'm
calling the "arbitrary-depth join" feature to the Manager.  You can see an
example at the end of the "Auto-joins ..." section of the tutorial.  Once
search.cpan.org updates, it'll be online here:

http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/Tutorial.pod#A
uto-joins_and_other_Manager_features

Remember, it's at the end of that section.  (Anyone know how to embed
arbitrary HTML anchors in POD?)

There's also a handy new feature in the loader that will auto-create not
just RDBO-derived classes, but also the actual *.pm Perl modules files as
well (all in an appropriate directory hierarchy, naturally).

One more quickie: there's a new pre_init_hook() feature (exposed in the
metadata object as well as the loader) just in case you want to fix-up
what's been automatically derived from the db right before all the methods
and such get created and the class is fleshed out.  It's crude, but it's
also less work than making a custom convention manager just to tweak one
little thing.

The full change list is below.  The files are up on SF.net:

http://sourceforge.net/project/showfiles.php?group_id=147570

and will be coming to a CPAN mirror near you very soon.  Thanks to all that
helped with this release! :)

-John

0.60 (12.31.2005) - John Siracusa <[EMAIL PROTECTED]>

    * Added arbitrary-depth auto-joins to the Manager using a "dot-chained"
      syntax (e.g., vendor.regions.code)
    * Added make_modules() method to the loader.
    * Added pre_init_hook() method to metadata objects and the loader.
    * Added overflow attribute to control the behavior when a scalar,
      character, or varchar column value is too long.  Possible values
      are "fatal" (the default), "truncate", and "warn".
    * Serial columns are now detected correctly even when DBI returns a
      column type of integer or bigint.  (Reported by Cees Hek)
    * Added support for bigserial columns.
    * Enum columns now have their list of valid values printed correctly
      by the perl_hash_definition() method.  (Reported by Juan Camacho)
    * Fixed a bug that caused the loader to trip over mixed-case unique
      keys in MySQL databases. (Reported by Juan Camacho)
    * Force MDY dates in Postgres in the test suite, just in case the user
      has European dates configured.  (Reported by Cees Hek)
    * Fixed numerous Postgres 7.x bugs.  (Reported by Cees Hek)
    * Modified the benchmark suite to further confine each module to its
      own private set of database rows in order to eliminate the influence
      of run order during the tests.
    * Worked around SQLite ORDER BY bugs in order to make the test suite
      function correctly.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to