On Jun 30, 2006, at 3:12 PM, John Siracusa wrote:
> Rose::DB has hooks for Storable.  Have you read this?
> http://search.cpan.org/dist/Rose-DB/lib/Rose/DB.pm#SERIALIZATION

yes.  i saw that, but it was primarily concerned with thawing objects  
(i *assumed* the hooks are there because of issues in thawing, not  
serializing).
my issue was that i couldn't get a rosedb object to serialize at all  
using apache session -- which by default uses storable.

> Can you provide some self-contained sample code (preferably some that
> works outside of mod_perl, if possible) to reproduce the problem?
no, its tied heavily into mp and a custom framework which would be  
damn near impossible to pull out

i think what i'm going to do is this:
        loop the resultset and store the data into my session
        stash the rosedb item in my context object if called with a special  
flag
        
it'd be best not to have the rdb-object in a session anyways.  i try  
to keep session data into a structure that has pure data and can  
serialize into json/yaml, as i often need to share between mod_perl  
and python or php.

| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -





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