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] Reopened: (JDO-106) An attempt was made to put a data value of type 'byte[]' into a data value of type 'BIGINT'.
Date Sat, 22 Apr 2006 19:44:23 GMT
     [ http://issues.apache.org/jira/browse/JDO-106?page=all ]
     
Michael Bouschen reopened JDO-106:
----------------------------------


> An attempt was made to put a data value of type 'byte[]' into a data value of type 'BIGINT'.
> --------------------------------------------------------------------------------------------
>
>          Key: JDO-106
>          URL: http://issues.apache.org/jira/browse/JDO-106
>      Project: JDO
>         Type: Bug

>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Michelle Caisse

>
> SQL Exception: An attempt was made to put a data value of type 'byte[]' into a data value
of type 'BIGINT'.
> Affected tests:
> org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections
> org.apache.jdo.tck.models.fieldtypes.TestLinkedListCollections
> org.apache.jdo.tck.models.fieldtypes.TestListCollections
> org.apache.jdo.tck.models.fieldtypes.TestVectorCollections
> test(org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections)javax.jdo.JDODataStoreException:
Cannot set Object parameter: value = org.apache.jdo.tck.pc.fieldtypes.SimpleClass@cc969a85
> 	at org.jpox.store.rdbms.mapping.LongVarBinaryRDBMSMapping.setObject(LongVarBinaryRDBMSMapping.java:194)
> 	at org.jpox.store.mapping.SingleFieldMapping.setObject(SingleFieldMapping.java:235)
> 	at org.jpox.store.rdbms.scostore.AbstractCollectionStore.populateElementInStatement(AbstractCollectionStore.java:333)
> 	at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1615)
> 	at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:333)
> 	at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:269)
> 	at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:266)
> 	at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1810)
> 	at org.jpox.store.StoreManager.update(StoreManager.java:710)
> 	at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4069)
> 	at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:2917)
> 	at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(TestArrayListCollections.java:105)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(TestArrayListCollections.java:69)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
> 	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
> NestedThrowablesStackTrace:
> ERROR XCL12: An attempt was made to put a data value of type 'byte[]' into a data value
of type 'BIGINT'.
> 	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
> 	at org.apache.derby.iapi.types.DataType.throwLangSetMismatch(DataType.java)
> 	at org.apache.derby.iapi.types.DataType.setValue(DataType.java)
> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setBytes(EmbedPreparedStatement.java)
> 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setBytes(NewProxyPreparedStatement.java:599)
> 	at org.jpox.store.rdbms.mapping.LongVarBinaryRDBMSMapping.setObject(LongVarBinaryRDBMSMapping.java:189)
> 	at org.jpox.store.mapping.SingleFieldMapping.setObject(SingleFieldMapping.java:235)
> 	at org.jpox.store.rdbms.scostore.AbstractCollectionStore.populateElementInStatement(AbstractCollectionStore.java:333)
> 	at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1615)
> 	at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:333)
> 	at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:269)
> 	at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:266)
> 	at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1810)
> 	at org.jpox.store.StoreManager.update(StoreManager.java:710)
> 	at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4069)
> 	at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:2917)
> 	at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(TestArrayListCollections.java:105)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(TestArrayListCollections.java:69)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
> 	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