When I create a table like
CREATE TABLE samples (
id INTEGER PRIMARY KEY,
foo TEXT
);
with SQLite and use the following Rose code:
use Rose::DB::Object::Loader;
my $loader =
Rose::DB::Object::Loader->new(
db_dsn => "dbi:SQLite:dbname=foobar.dat",
db_options => { AutoCommit => 1, RaiseError => 1 },
class_prefix => 'Foo::Bar',
with_managers => 1,
);
$loader->make_classes();
my $r = Foo::Bar::Sample->new();
$r->save();
I get a
closing dbh with active statement handles at ...Rose/DB.pm line 832.
warning at the end. As
http://www.mail-archive.com/[email protected]/msg02234.html
indicates, this was attributed to DBD::SQLite 1.13, but I'm running
DBD::SQLite 1.14. Is this still a problem? Does anyone have a workaround?
For reference, I'm using DBI-1.601, Rose-0.05, Rose-DB-0.736,
Rose-DB-Object-0.765.
Thanks for any help ...
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object