2 Replies Latest reply on Apr 8, 2004 1:35 AM by 3004

    Mapping Problems with 3.1.0rc2

    3004
      I am having some problems with the mapping information under 3.1.0rc2. I
      am using kodo.jdbc.MappingFactory=metadata, and have the following meta
      data for com.incursiontech.webTools.bean.SitePage.

      The error is repoerted as follows:
      2004-04-04 13:15:41 2004-04-04 13:15:41,151 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      type=com.incursiontech.webTools.bean.SitePage
      2004-04-04 13:15:41 2004-04-04 13:15:41,166 WARN [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      scope named null NOT FOUND, using Page scope
      2004-04-04 13:15:41 2004-04-04 13:15:41,166 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      scope=com.incursiontech.webTools.util.Scope$3@952905
      2004-04-04 13:15:41 2004-04-04 13:15:41,166 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      var=pageData
      2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      filter=name == "home"
      2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      ordering=null
      2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
      model=com.incursiontech.calvert.model.CalvertModel@628704
      2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.calvert.model.CalvertModel -
      com.incursiontech.calvert.model.CalvertModel@628704 Filter Specified:
      name == "home"
      2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
      kodo.MetaData - Parsing class "SitePage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
      kodo.MetaData - Generating metadata for type "class
      com.incursiontech.webTools.bean.SitePage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.ipscp.jdbc.IPSCPDataSource -
      com.incursiontech.ipscp.jdbc.IPSCPDataSource@b1cd0 wrapping connection
      org.apache.commons.dbcp.PoolableConnection@190a0d6 with IPSCP
      ConnectionWrapper
      2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
      kodo.jdbc.JDBC - <t 17284365, conn 25994851> getColumns: calvert, null,
      SitePage, null
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Reading column information for table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "_class" on table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "_version" on table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "description" on table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "lastModified" on table
      "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "markup" on table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Found existing column "name" on table "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.Schema - Reading foreign keys for schema name "null", table name
      "sitepage".
      2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
      kodo.jdbc.JDBC - <t 17284365, conn 25994851> getImportedKeys: calvert,
      null, sitepage
      2004-04-04 13:15:41 2004-04-04 13:15:41,276 DEBUG [http8080-Processor3]
      kodo.jdbc.JDBC - <t 17284365, conn 25994851> [16 ms] close
      2004-04-04 13:15:41 2004-04-04 13:15:41,276 ERROR [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was
      found for "com.incursiontech.webTools.bean.SitePage.name".
      2004-04-04 13:15:41 2004-04-04 13:15:41,276 DEBUG [http8080-Processor3]
      Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
      kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was
      found for "com.incursiontech.webTools.bean.SitePage.name".
           at
      kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:147)
           at
      kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:422)
           at
      kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911)
           at
      kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891)
           at
      kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:666)
           at
      kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:89)
           at
      kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:364)
           at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:307)
           at
      kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:279)
           at
      kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:256)
           at kodo.query.AbstractQuery.createExecutor(AbstractQuery.java:546)
           at kodo.query.AbstractQuery.internalCompile(AbstractQuery.java:518)
           at kodo.query.AbstractQuery.compileForDataStore(AbstractQuery.java:464)
           at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:830)
           at kodo.query.AbstractQuery.execute(AbstractQuery.java:730)
           at
      com.incursiontech.ipscp.model.PersistenceModel.getObjects(PersistenceModel.java:981)
           at
      com.incursiontech.webTools.jsp.tagext.jdo.PersistentDataSupport.doStartTag(PersistentDataSupport.java:168)
           at
      com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag.doStartTag(PersistentDataTag.java:155)
           at
      org.apache.jsp.index_jsp._jspx_meth_tools_persistentData_0(index_jsp.java:143)
           at org.apache.jsp.index_jsp._jspService(index_jsp.java:78)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
           at
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
           at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at
      com.incursiontech.webTools.filter.ModuleSelectorFilter.doFilter(ModuleSelectorFilter.java:75)
           at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
           at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at
      com.incursiontech.webTools.filter.WebToolsWrapperFilter.doFilter(WebToolsWrapperFilter.java:81)
           at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
           at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
           at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at
      org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
           at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at
      org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
           at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
           at
      org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
           at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
           at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
           at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
           at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
           at
      org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
           at
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
           at java.lang.Thread.run(Thread.java:534)



      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects
      Metadata 1.0//EN" "http://java.sun.com/dtd/jdo_1_0.dtd">

      <jdo>
      <package name="com.incursiontech.webTools.bean">
      <class name="SitePage"
      identity-type="application"
      objectid-class="SitePage$Id"
      requires-extent="true"
      > <!-- end class tag -->
      <extension vendor-name="kodo"
      key="jdbc-class-map"
      value="base">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-class-map/table"
      value="SitePage">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-class-map/pk-column"
      value="name">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-version-ind"
      value="version-number">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-version-ind/column"
      value="_version">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-class-ind"
      value="in-class-name">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-class-ind/column"
      value="_class">
      </extension>
      <extension vendor-name="kodo"
      key="data-cache-timeout"
      value="60">
      </extension>
      <extension vendor-name="kodo"
      key="data-cache"
      value="true">
      </extension>
      <field name="name"
      primary-key="true"
      > <!-- end field tag -->
      <extension vendor-name="kodo"
      key="jdbc-field-map/column"
      value="name">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-size"
      value="100">
      </extension>
      </field>
      <field name="description"
      default-fetch-group="false"
      > <!-- end field tag -->
      <extension vendor-name="kodo"
      key="jdbc-field-map/column"
      value="description">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-size"
      value="-1">
      </extension>
      </field>
      <field name="lastModified"
      default-fetch-group="true"
      > <!-- end field tag -->
      <extension vendor-name="kodo"
      key="jdbc-field-map/column"
      value="lastModified">
      </extension>
      </field>
      <field name="markup"
      default-fetch-group="true"
      > <!-- end field tag -->
      <extension vendor-name="kodo"
      key="jdbc-field-map/column"
      value="markup">
      </extension>
      <extension vendor-name="kodo"
      key="jdbc-size"
      value="-1">
      </extension>
      </field>
      </class>
      </package>

      <!--
      To use additional vendor extensions, create a vendor-extensions.xml
      file that
      contains the additional extensions (in extension tags) and place it in
      your
      projects merge dir.
      -->

      </jdo>


      The underlying table is defined as

      CREATE TABLE SitePage (
      _class varchar(255) default NULL,
      _version int(11) default NULL,
      description text,
      lastModified datetime default NULL,
      markup text,
      name varchar(100) NOT NULL default '',
      PRIMARY KEY (name)
      ) TYPE=MyISAM;








        • 1. Re: Mapping Problems with 3.1.0rc2
          3004
          You're missing the jdbc-field-map extension. You need a jdbc-field-map
          extension whose value is the type of field mapping (i.e. "value",
          "one-one", etc)
          • 2. Re: Mapping Problems with 3.1.0rc2
            3004
            Matt-

            Strange ... the mapping looks OK to me.

            If you run a stand-alone test program that tried to insert or query
            against the class, do you get the same exception? If you enable verbose
            logging on all log channels, do you get any more useful information?


            In article <c4pk1e$bpg$1@solarmetric.netmar.com>, Matt Smith wrote:
            I am having some problems with the mapping information under 3.1.0rc2. I
            am using kodo.jdbc.MappingFactory=metadata, and have the following meta
            data for com.incursiontech.webTools.bean.SitePage.

            The error is repoerted as follows:
            2004-04-04 13:15:41 2004-04-04 13:15:41,151 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            type=com.incursiontech.webTools.bean.SitePage
            2004-04-04 13:15:41 2004-04-04 13:15:41,166 WARN [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            scope named null NOT FOUND, using Page scope
            2004-04-04 13:15:41 2004-04-04 13:15:41,166 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            scope=com.incursiontech.webTools.util.Scope$3@952905
            2004-04-04 13:15:41 2004-04-04 13:15:41,166 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            var=pageData
            2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            filter=name == "home"
            2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            ordering=null
            2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag@1c958af
            model=com.incursiontech.calvert.model.CalvertModel@628704
            2004-04-04 13:15:41 2004-04-04 13:15:41,182 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.calvert.model.CalvertModel -
            com.incursiontech.calvert.model.CalvertModel@628704 Filter Specified:
            name == "home"
            2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
            kodo.MetaData - Parsing class "SitePage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
            kodo.MetaData - Generating metadata for type "class
            com.incursiontech.webTools.bean.SitePage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.ipscp.jdbc.IPSCPDataSource -
            com.incursiontech.ipscp.jdbc.IPSCPDataSource@b1cd0 wrapping connection
            org.apache.commons.dbcp.PoolableConnection@190a0d6 with IPSCP
            ConnectionWrapper
            2004-04-04 13:15:41 2004-04-04 13:15:41,198 DEBUG [http8080-Processor3]
            kodo.jdbc.JDBC - <t 17284365, conn 25994851> getColumns: calvert, null,
            SitePage, null
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Reading column information for table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "_class" on table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "_version" on table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "description" on table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "lastModified" on table
            "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "markup" on table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Found existing column "name" on table "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.Schema - Reading foreign keys for schema name "null", table name
            "sitepage".
            2004-04-04 13:15:41 2004-04-04 13:15:41,260 DEBUG [http8080-Processor3]
            kodo.jdbc.JDBC - <t 17284365, conn 25994851> getImportedKeys: calvert,
            null, sitepage
            2004-04-04 13:15:41 2004-04-04 13:15:41,276 DEBUG [http8080-Processor3]
            kodo.jdbc.JDBC - <t 17284365, conn 25994851> [16 ms] close
            2004-04-04 13:15:41 2004-04-04 13:15:41,276 ERROR [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was
            found for "com.incursiontech.webTools.bean.SitePage.name".
            2004-04-04 13:15:41 2004-04-04 13:15:41,276 DEBUG [http8080-Processor3]
            Logs.com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag -
            kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was
            found for "com.incursiontech.webTools.bean.SitePage.name".
                 at
            kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:147)
                 at
            kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:422)
                 at
            kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911)
                 at
            kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891)
                 at
            kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:666)
                 at
            kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:89)
                 at
            kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:364)
                 at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:307)
                 at
            kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:279)
                 at
            kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:256)
                 at kodo.query.AbstractQuery.createExecutor(AbstractQuery.java:546)
                 at kodo.query.AbstractQuery.internalCompile(AbstractQuery.java:518)
                 at kodo.query.AbstractQuery.compileForDataStore(AbstractQuery.java:464)
                 at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:830)
                 at kodo.query.AbstractQuery.execute(AbstractQuery.java:730)
                 at
            com.incursiontech.ipscp.model.PersistenceModel.getObjects(PersistenceModel.java:981)
                 at
            com.incursiontech.webTools.jsp.tagext.jdo.PersistentDataSupport.doStartTag(PersistentDataSupport.java:168)
                 at
            com.incursiontech.webTools.jsp.tagext.jdo.el.PersistentDataTag.doStartTag(PersistentDataTag.java:155)
                 at
            org.apache.jsp.index_jsp._jspx_meth_tools_persistentData_0(index_jsp.java:143)
                 at org.apache.jsp.index_jsp._jspService(index_jsp.java:78)
                 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at
            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
                 at
            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
                 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                 at
            org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
                 at
            org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                 at
            com.incursiontech.webTools.filter.ModuleSelectorFilter.doFilter(ModuleSelectorFilter.java:75)
                 at
            org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
                 at
            org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                 at
            com.incursiontech.webTools.filter.WebToolsWrapperFilter.doFilter(WebToolsWrapperFilter.java:81)
                 at
            org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
                 at
            org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
                 at
            org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                 at
            org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                 at
            org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                 at
            org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                 at
            org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
                 at
            org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                 at
            org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                 at
            org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
                 at
            org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                 at
            org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
                 at
            org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
                 at
            org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
                 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
                 at
            org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
                 at
            org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
                 at
            org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
                 at
            org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                 at java.lang.Thread.run(Thread.java:534)



            <?xml version="1.0" encoding="UTF-8"?>
            <!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects
            Metadata 1.0//EN" "http://java.sun.com/dtd/jdo_1_0.dtd">

            <jdo>
            <package name="com.incursiontech.webTools.bean">
            <class name="SitePage"
            identity-type="application"
            objectid-class="SitePage$Id"
            requires-extent="true"
            <!-- end class tag -->
            <extension vendor-name="kodo"
            key="jdbc-class-map"
            value="base">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-class-map/table"
            value="SitePage">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-class-map/pk-column"
            value="name">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-version-ind"
            value="version-number">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-version-ind/column"
            value="_version">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-class-ind"
            value="in-class-name">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-class-ind/column"
            value="_class">
            </extension>
            <extension vendor-name="kodo"
            key="data-cache-timeout"
            value="60">
            </extension>
            <extension vendor-name="kodo"
            key="data-cache"
            value="true">
            </extension>
            <field name="name"
            primary-key="true"
            <!-- end field tag -->
            <extension vendor-name="kodo"
            key="jdbc-field-map/column"
            value="name">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-size"
            value="100">
            </extension>
            </field>
            <field name="description"
            default-fetch-group="false"
            <!-- end field tag -->
            <extension vendor-name="kodo"
            key="jdbc-field-map/column"
            value="description">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-size"
            value="-1">
            </extension>
            </field>
            <field name="lastModified"
            default-fetch-group="true"
            <!-- end field tag -->
            <extension vendor-name="kodo"
            key="jdbc-field-map/column"
            value="lastModified">
            </extension>
            </field>
            <field name="markup"
            default-fetch-group="true"
            <!-- end field tag -->
            <extension vendor-name="kodo"
            key="jdbc-field-map/column"
            value="markup">
            </extension>
            <extension vendor-name="kodo"
            key="jdbc-size"
            value="-1">
            </extension>
            </field>
            </class>
            </package>

            <!--
            To use additional vendor extensions, create a vendor-extensions.xml
            file that
            contains the additional extensions (in extension tags) and place it in
            your
            projects merge dir.
            -->

            </jdo>


            The underlying table is defined as

            CREATE TABLE SitePage (
            _class varchar(255) default NULL,
            _version int(11) default NULL,
            description text,
            lastModified datetime default NULL,
            markup text,
            name varchar(100) NOT NULL default '',
            PRIMARY KEY (name)
            ) TYPE=MyISAM;







            --
            Marc Prud'hommeaux marc@solarmetric.com
            SolarMetric Inc. http://www.solarmetric.com