The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.60

  • 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.

Documentation

A guided tour of the basics of Rose::DB::Object

Modules

Extensible, high performance RDBMS-OO mapper.
Memory cached object representation of a single row in a database table.
Provide missing metadata by convention.
A singleton convention manager that does nothing.
Iterate over a series of Rose::DB::Objects.
Automatically create Rose::DB::Object subclasses for all the tables in a database.
Create date-related methods for Rose::DB::Object-derived objects.
Create generic object methods for Rose::DB::Object-derived objects.
Create PostgreSQL-specific object methods for Rose::DB::Object-derived objects.
Create object methods related to Rose::DB::Object::Std-derived objects.
Fetch multiple Rose::DB::Object-derived objects from the database using complex queries.
Database object metadata.
Base class for database column metadata objects.
Big serial column metadata.
Binary large object column metadata.
Datetime year to fraction column metadata.
Datetime year to fraction(1) column metadata.
Datetime year to fraction(2) column metadata.
Datetime year to fraction(3) column metadata.
Datetime year to fraction(4) column metadata.
Datetime year to fraction(5) column metadata.
Datetime year to minute column metadata.
Datetime year to second column metadata.
Enumerated column metadata.
Floating-point column metadata.
PostgreSQL CHKPASS column metadata.
Variable-length character column metadata.
Base class for table relationship metadata objects.
One to many table relationship metadata object.
Many to one table relationship metadata object.
One to many table relationship metadata object.
One to one table relationship metadata object.
Build SQL queries on behalf of Rose::DB::Object::Manager.
Standardized object representation of a single row in a database table.
Memory cached standardized object representation of a single row in a database table.
Standardized database object metadata.
Utility functions for use in Rose::DB::Object subclasses and method makers.

Provides

in lib/Rose/DB/Object/Constants.pm
in lib/Rose/DB/Object/Metadata/Auto.pm
in lib/Rose/DB/Object/Metadata/Auto/Generic.pm
in lib/Rose/DB/Object/Metadata/Auto/Informix.pm
in lib/Rose/DB/Object/Metadata/Auto/MySQL.pm
in lib/Rose/DB/Object/Metadata/Auto/Pg.pm
in lib/Rose/DB/Object/Metadata/Auto/SQLite.pm
in lib/Rose/DB/Object/Metadata/ColumnList.pm
in lib/Rose/DB/Object/Metadata/MethodMaker.pm
in lib/Rose/DB/Object/Metadata/Object.pm
in lib/Rose/DB/Object/Metadata/Util.pm