db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDO-114) Embedded mapping for fields of SimpleClass not recognized
Date Sat, 22 Apr 2006 20:01:10 GMT
     [ http://issues.apache.org/jira/browse/JDO-114?page=all ]
     
Michael Bouschen closed JDO-114:
--------------------------------

    Fix Version: JDO 2 beta
     Resolution: Fixed

> Embedded mapping for fields of SimpleClass not recognized
> ---------------------------------------------------------
>
>          Key: JDO-114
>          URL: http://issues.apache.org/jira/browse/JDO-114
>      Project: JDO
>         Type: Bug

>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Erik Bengtson
>      Fix For: JDO 2 beta

>
> Field mapped as embedded appears not to be recognized as such by JPOX, which generates
a name for it that does not exist in the schema.  Perhaps there is a mapping problem here,
but I do not see it.
>  
>    [java] There was 1 error:
>     [java] 1) test(org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass)javax.jdo.JDODataStoreException:
Insert request failed: I
> S17,SIMPLECLASS109,SIMPLE_CLASS150_IDENTIFIZS,SIMPLE_CLASS151_IDENTIFIZS,SIMPLECLASS93,SIMPLE_CLASS148_IDENTIFIZS,SIMPLE_CLASS166_IDENTIF
> PLECLASS120,SIMPLECLASS47,SIMPLECLASS83,SIMPLECLASS41,SIMPLECLASS108,SIMPLECLASS54,SIMPLECLASS138,SIMPLECLASS53,SIMPLECLASS37,SIMPLECLASS
> LECLASS18,SIMPLE_CLASS156_IDENTIFIZS,SIMPLECLASS77,SIMPLECLASS126,SIMPLECLASS119,SIMPLECLASS2,SIMPLECLASS13,SIMPLECLASS125,SIMPLECLASS12,
> ASS38,SIMPLE_CLASS165_IDENTIFIZS,SIMPLECLASS85,SIMPLECLASS140,SIMPLE_CLASS145_IDENTIFIZS,SIMPLECLASS21,SIMPLE_CLASS160_IDENTIFIZS,SIMPLEC
> 47_IDENTIFIZS,SIMPLECLASS56,SIMPLECLASS139,SIMPLECLASS84,SIMPLECLASS22,SIMPLECLASS129,SIMPLECLASS128,SIMPLECLASS30,SIMPLECLASS52,SIMPLECL
> IMPLECLASS92,SIMPLECLASS1,SIMPLECLASS76,SIMPLECLASS5,SIMPLECLASS4,SIMPLE_CLASS163_IDENTIFIZS,SIMPLECLASS36,SIMPLECLASS102,SIMPLE_CLASS154
> ASS112,SIMPLECLASS16,SIMPLECLASS57,SIMPLECLASS49,SIMPLECLASS104,SIMPLECLASS6,SIMPLECLASS72,SIMPLECLASS0,SIMPLECLASS67,SIMPLECLASS31,SIMPL
> 8,SIMPLECLASS94,SIMPLECLASS88,SIMPLECLASS121,IDENTIFIER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
> ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
>     [java]      at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:329)
>     [java]      at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1755)
>     [java]      at org.jpox.store.StoreManager.insert(StoreManager.java:721)
>     [java]      at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3092)
>     [java]      at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3065)
>     [java]      at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1016)
>     [java]      at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1052)
>     [java]      at org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass.runTest(TestFieldsOfSimpleClass.java:82)
>     [java]      at org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass.test(TestFieldsOfSimpleClass.java:65)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
>     [java] NestedThrowablesStackTrace:
>     [java] ERROR 42X14: 'SIMPLE_CLASS150_IDENTIFIZS' is not a column in table or VTI
 APPLICATIONIDENTITY0.FIELDSOFSIMPLECLASS'.
>     [java]      at org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
>     [java]      at org.apache.derby.impl.sql.compile.ResultColumn.bindResultColumnByName(ResultColumn.java)
>     [java]      at org.apache.derby.impl.sql.compile.ResultColumnList.bindResultColumnsByName(ResultColumnList.java)
>     [java]      at org.apache.derby.impl.sql.compile.InsertNode.bind(InsertNode.java)
>     [java]      at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java)
>     [java]      at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java)
>     [java]      at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionCont
>     [java]      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java)
>     [java]      at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(EmbedPreparedStatement20.java)
>     [java]      at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(EmbedPreparedStatement30.java)
>     [java]      at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Driver30.java)
>     [java]      at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java)
>     [java]      at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java)
>     [java]      at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:303)
>     [java]      at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:156)
>     [java]      at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1755)
>     [java]      at org.jpox.store.StoreManager.insert(StoreManager.java:721)
>     [java]      at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3092)
>     [java]      at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3065)
>     [java]      at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1016)
>     [java]      at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1052)
>     [java]      at org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass.runTest(TestFieldsOfSimpleClass.java:82)
>     [java]      at org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass.test(TestFieldsOfSimpleClass.java:65)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message