Apache JDO Project - [jira] Closed: (JDO-114) Embedded mapping for fields of SimpleClass not recognized

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2005 > [jira] Closed: (JDO-114) Embedded mapping for fields of SimpleClass not recognized





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (JDO-114) Embedded mapping for fields of SimpleClass not recognized
Michelle Caisse (JIRA)

2005-10-31, 5:45 pm

[ http://issues.apache.org/jira/browse/JDO-114?page=all ]

Michelle Caisse closed JDO-114:
-------------------------------


> 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


>
> 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_IDENT
IFIZS,SIMPLE_CLASS151_IDENTIFIZS,SIMPLEC
LASS93,SIMPLE_CLASS148_IDENTIFIZS,SIMPLE
_CLASS166_IDENTIF
> PLECLASS120,SIMPLECLASS47,SIMPLECLASS83,
SIMPLECLASS41,SIMPLECLASS108,SIMPLECLASS
54,SIMPLECLASS138,SIMPLECLASS53,SIMPLECL
XXX37,SIMPLECLASS
> LECLASS18,SIMPLE_CLASS156_IDENTIFIZS,SIM
PLECLASS77,SIMPLECLASS126,SIMPLECLASS119
,SIMPLECLASS2,SIMPLECLASS13,SIMPLECLASS1
25,SIMPLECLASS12,
> XXX38,SIMPLE_CLASS165_IDENTIFIZS,SIMPLEC
LASS85,SIMPLECLASS140,SIMPLE_CLASS145_ID
ENTIFIZS,SIMPLECLASS21,SIMPLE_CLASS160_I
DENTIFIZS,SIMPLEC
> 47_IDENTIFIZS,SIMPLECLASS56,SIMPLECLASS1
39,SIMPLECLASS84,SIMPLECLASS22,SIMPLECLA
SS129,SIMPLECLASS128,SIMPLECLASS30,SIMPL
ECLASS52,SIMPLECL
> IMPLECLASS92,SIMPLECLASS1,SIMPLECLASS76,
SIMPLECLASS5,SIMPLECLASS4,SIMPLE_CLASS16
3_IDENTIFIZS,SIMPLECLASS36,SIMPLECLASS10
2,SIMPLE_CLASS154
> XXX112,SIMPLECLASS16,SIMPLECLASS57,SIMPL
ECLASS49,SIMPLECLASS104,SIMPLECLASS6,SIM
PLECLASS72,SIMPLECLASS0,SIMPLECLASS67,SI
MPLECLASS31,SIMPL
> 8,SIMPLECLASS94,SIMPLECLASS88,SIMPLECLAS
S121,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(AbstractPersisten
ceManager.java:1016)
> [java] at org.jpox.AbstractPersistenceManager. makePersistent(AbstractPersistenceManage
r.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(GenericLanguage
ConnectionCont
> [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(AbstractPersisten
ceManager.java:1016)
> [java] at org.jpox.AbstractPersistenceManager. makePersistent(AbstractPersistenceManage
r.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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com