[Dbix-class] _no_scope_identity_query error

Paul Rogers progers001 at hotmail.com
Wed Oct 10 19:06:22 GMT 2012


This is the actual calling script but not sure if it's of any help as most =
of the relevant code will be further down the dependency line. use lib 'C:\=
Perl64\site\GMDBIx\lib';
use strict;use Cos::Schema::MyDB;my $schema =3D CoS::Schema::MyDB->connect(=
 'dbi:ODBC:driver=3D{SQL Server};Server=3Ddev01;database=3Dmydb;uid=3Dmylog=
in;pwd=3Dxxxxx;' ); my $settings =3D $schema->resultset('glsyssetting')->se=
arch({ systemid =3D> 1 });while ( my $setting =3D $settings->next ) {
 print(
  uc $setting->appid . " - " . =

  lc $setting->subsection . " - " . =

  lc $setting->settingname . " - " . =

  lc $setting->settingvalue . "\n"
 );
} exit; From what I can see it's trying to find a function that doesn=92t e=
xist in its inheritance path but does exist in Class::Accessor::Grouped, wh=
ich is installed, so not sure why it's not working. Paul ---
 Date: Wed, 10 Oct 2012 12:44:35 -0500
From: frioux at gmail.com
To: =

Subject: Re: [Dbix-class] _no_scope_identity_query error


  =

    =

  =

  =

    Might help if you could show us the script :)

    =


    On 10/09/2012 10:26 PM, Paul Rogers
      wrote:

    =

    =

      =

      =

        I'm running ActivePerl v5.16.1 on Win2008 R2 x64.

         =


        Anyone see the below error message before?  Running same script
        on x86 machine produces no such error.

         =


        P:\test>perl "test.pl"

            Can't locate object method "_no_scope_identity_query" via
        package "DBIx::Class::

            Storage::DBI::ODBC::Microsoft_SQL_Server" at
        C:/Perl64/site/lib/DBIx/Class/Stora

            ge/DBI/ODBC/Microsoft_SQL_Server.pm line 255.

         =


        Cheers,

        Paul ---

         =


      =

       		 	   		  =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20121010/7b5=
1a9b5/attachment.htm


More information about the DBIx-Class mailing list