Hello RDBO list members!

        I am currently in the midst of converting our internal applications 
from using Class::DBI over to Rose::DB::Object.  One of the first 
problems I encountered was needing support for multiple databases.  In 
searching the list archives, I found a solution that was discussed which 
revolved around the usage of 'supports_schema' in the Rose::DB::MySQL 
object.

        After a brief off-list discussion with David Naughton, I added the 
following code into my DB class:

        {
          no strict 'refs';
          *{ 'Rose::DB::MySQL::supports_schema' } = sub { 1 };
         }

        This suits my purposes for the time being, but it would be nice to see 
this feature included in a future release of Rose::DB::MySQL.  I should 
also say that I have not done extensive testing on this, since I am very 
early in my conversion process.  If there is anything that I can 
contribute, such as test cases, I would be more than happy to spend some 
of my spare cycles on it.

Cheers,
Chris
-- 
____________________________________________________________________
Chris Jacobson                         Phone: (513) 665-9070 x310
Online-Rewards                         Fax  : (214) 242-4448
403 Vine Street, Second Floor          http://www.online-rewards.com
Cincinnati, OH 45202


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to