[Dbix-class] ASE.pm uninitialized value warning

2011-08-10 Thread koxon
Hello, After making my code works (see: “SQL Query generation issue” post), I encountered a little issue but a noisy one. For each update I do in my table, I have this warning: *Use of uninitialized value in exists at [...]/DBIx-Class/0.08127/lib/perl5/DBIx/Class/Storage/DBI/Sybase/ASE.pm line

Re: [Dbix-class] ASE.pm uninitialized value warning

2011-08-10 Thread Peter Rabbitson
koxon wrote: ... 'DBIx-Class' = '0.08127', ^^ upgrade and see if the problem is already fixed. ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN:

Re: [Dbix-class] Re: SQL Query generation issue

2011-08-10 Thread Marc Logghe
Do you see a difference if you replace the line *use base qw/DBIx::Class::Core/; * by: use base 'DBIx::Class'; __PACKAGE__-load_components(**Core); in your schema file ? Both of these are 100% identical, why would he see a difference? :) well, I don't know what load_components(Core)

Re: [Dbix-class] Re: SQL Query generation issue

2011-08-10 Thread Peter Rabbitson
koxon wrote: Hello all, Any help on this ? As requested by others - show your invocation (the search() call) ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN:

Re: [Dbix-class] Set Operations in DBIC

2011-08-10 Thread Peter Rabbitson
Newton SBM wrote: Hi, I need to perform set operations using DBIC just in the same way describe by Fernando Aguero in a previous question: UNION, INTERSECTION and Nested Queries (2007)

Re: [Dbix-class] Set Operations in DBIC

2011-08-10 Thread Newton SBM
I am working in a project that involves many groups and we all use the same database schema and the same DBIC layer to this schema so I dont want to alter my Resultset classes to keep the compatibility with the other groups. On Wed, Aug 10, 2011 at 5:57 AM, Peter Rabbitson

[Dbix-class] Proposed readonly patch for DBIx::Class

2011-08-10 Thread Ben Tilly
Often database schemas have tables that should not be changed at runtime in the application. It would be convenient to be able to mark this fact in the class. However to avoid accidents you wind up having to override methods in both the Row class and the ResultSet class. Having to synchronize

Re: [Dbix-class] Proposed readonly patch for DBIx::Class

2011-08-10 Thread Ashley Pond V
On Wed, Aug 10, 2011 at 3:05 PM, Ben Tilly bti...@gmail.com wrote: Often database schemas have tables that should not be changed at runtime in the application.  It would be convenient to be able to mark this fact in the class.  However to avoid accidents you wind up having to override methods

Re: [Dbix-class] Proposed readonly patch for DBIx::Class

2011-08-10 Thread Alex Povolotsky
Ben Tilly пишет: Often database schemas have tables that should not be changed at runtime in the application. It would be convenient to be able to mark this fact in the class. However to avoid accidents you wind up having to override methods in both the Row class and the ResultSet class.