From: Ray Z. <rz...@co...> - 2002-04-29 20:45:00
|
Here's the latest version of ESPOPS with a few minor changes. http://www.pserc.cornell.edu/ESPOPS/ESPOPS-0.42.tar.gz ESPOPS stands for Enhanced SPOPS. Where standard SPOPS (or more correctly, SPOPS::DBI) implements persistence for simple class of objects whose data is stored in a single table, ESPOPS implements persistence for a set of classes with inheritance relationships, where the attributes are distributed across several tables, one for each class in the inheritance hierarchy. Our hope is that this functionality (not necessarily this code) will eventually be included as part of the SPOPS distribution, along with the new has-a and links-to functionality proposed on the openinteract-dev list. From the Changes file ... - Modified ESPOPS::DBI's create_table() and drop_table() to do nothing if $CONF and $TABLE_DEF are not defined. This allows a class to inherit from an ESPOPS class without adding a table. The Vehicle class is now an example of this. - Turned off PrintError in DBI->connect in ESPOPS::DBI.pm - Added RaiseError and AutoCommit to DBI->connect in ESPOPS::DBI.pm - Modified global_datasource_handle() to make it try 10 times to connect before giving up. - Removed SQL_BIGINT from list in _is_numeric_type() so it won't break with DBI-1.21 - Added test for cloning with false value in t/08_clone.t -- Ray Zimmerman / e-mail: rz...@co... / 428-B Phillips Hall Sr Research / phone: (607) 255-9645 / Cornell University Associate / FAX: (815) 377-3932 / Ithaca, NY 14853 |