On 2/8/07 5:28 PM, Jonathan Vanasco wrote:
> I want them to have a DB initially.
> 
> begin
> fetch
> manipulate, save
> commit / rollback
> kill db
> 
> do more stuff that is read only.  error out if i try to save
> anything ( no db )
> 
> begin
> set db
> load?
> manipulate
> commit rollback

Ah, then yeah, you need to replace all the "db"s with versions that don't
point to anything.  If you just remove the "db"s, new ones will be created
on demand (by calling init_db()).

>>> 3) what about making the get method 'dbh' a get/set?
>> :)
> 
> i'm hoping thats a yes...

Er, that's a "it already is a get/set method in the latest version."

-John



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