Re: [Dbix-class] Oracle xmltype

2009-05-05 Thread Ronald J Kimball
Morgon Hed wrote: You can set '+select' and '+as', and stick that in a resultset method, so the code just becomes $stream_rs->with_xml_field->... Thanks for the reply but I don't quite understand what you are saying. I can easily do the follwing: my $s1 = $schema->resultset('Stream')->search

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-05 Thread Morgon Hed
Ok - I've updated to 0.08102 and now I have a make_column_dirty but it does not seem to work. Here is what I do for trying it out: I have a class "SMU::Wrapper" that simply wraps some xml, it has an accessor "stuff" that allows me to get/set the wrapped xml. I now inflate/deflate column "xml"

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-05 Thread Ash Berlin
On Tue, 5 May 2009 04:58:06 -0700 (PDT), Morgon Hed wrote: > >> You're going to need 08100+ for that method. > > Thanks. > > Any idea about when this will be become available on CPAN ? > It's was released on Apr 19, and there have been 2 maintenance releases since. -ash _

Re: [Dbix-class] Oracle xmltype

2009-05-05 Thread Morgon Hed
> You can set '+select' and '+as', and stick that in a > resultset method, so > the code just becomes > > $stream_rs->with_xml_field->... Thanks for the reply but I don't quite understand what you are saying. I can easily do the follwing: my $s1 = $schema->resultset('Stream')->search(

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-05 Thread Peter Rabbitson
Morgon Hed wrote: >> You're going to need 08100+ for that method. > > Thanks. > > Any idea about when this will be become available on CPAN ? > About 3 weeks ago? ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.or

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-05 Thread Morgon Hed
> You're going to need 08100+ for that method. Thanks. Any idea about when this will be become available on CPAN ? --- On Tue, 5/5/09, Matt S Trout wrote: > From: Matt S Trout > Subject: Re: [Dbix-class] dirty-flag on inflated columns > To: "DBIx::Class user and developer list" > Date: Tues

Re: [Dbix-class] [PATCH] Oracle LOB Support

2009-05-05 Thread Ronald E. Straight
On Tue, 2009-05-05 at 10:57 +0200, Matthias Zeichmann wrote: > in your patch you have: > >8 > +#use constant ORA_BLOB => 113; ## ORA_CLOB is 112 > >8 > in lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm > > is it

Re: [Dbix-class] Oracle xmltype

2009-05-05 Thread Matt S Trout
On Mon, May 04, 2009 at 07:02:15AM -0700, Morgon Hed wrote: > > > http://search.cpan.org/~ribasushi/DBIx-Class-0.08102/lib/DBIx/Class/Manual/Cookbook.pod#Using_database_functions_or_stored_procedures > > Thanks for the link. > > My fundamental problem is that I more and more come to the conclusi

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-05 Thread Matt S Trout
On Mon, May 04, 2009 at 09:35:08AM -0700, Morgon Hed wrote: > > > Yes there is: > > Not in my version it seems. > > I have 0.08013 and in this version there does not seem to be a > "make_column_dirty" method in DBIx::Class::Row (I just inspected the code). You're going to need 08100+ for that

Re: [Dbix-class] DateTime Inflations for Timestamps

2009-05-05 Thread Matt S Trout
On Mon, May 04, 2009 at 09:44:01AM -0400, Ryan Cone wrote: > Matt, I think your idea looks like the way to go and I see you already > provided access to result_source->storage->datetime_parser. For > clarification, were you suggesting I patch it or are you interested in > updating the packag

Re: [Dbix-class] [PATCH] Oracle LOB Support

2009-05-05 Thread Matthias Zeichmann
On Tue, May 5, 2009 at 02:54, Ronald E. Straight wrote: > > Here it be.  Uncut, and uncensored.  A future shock that will shit you > up. > > Or, in mundane terms, support for [BC]LOB datatypes in the Oracle > driver. > > Tests included. in your patch you have: >8--