Issue Details (XML | Word | Printable)

Key: JDO-113
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Cannot perform operation "+" on ObjectLiteral "?" = org.apache.jdo.tck.pc.fieldtypes.SimpleClass@cc969a85 and StringLiteral "'%'"

Created: 05/Aug/05 08:16 AM   Updated: 23/Apr/06 02:59 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: JDO 2 beta

Time Tracking:
Not Specified

Resolution Date: 23/Apr/06 02:59 AM


 Description  « Hide
Three tests affected:
org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections
org.apache.jdo.tck.models.fieldtypes.TestHashtableStringValueCollections
org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections

test(org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections)org.jpox.store.expression.ScalarExpression$IllegalOperationException: Cannot perform operation "+" on ObjectLiteral "?" = org.apache.jdo.tck.pc.fieldtypes.SimpleClass@cc969a85 and StringLiteral "'%'"

at org.jpox.store.expression.ScalarExpression.add(ScalarExpression.java:356)

at org.jpox.store.rdbms.scostore.NormalMapStore.getGetStatement(NormalMapStore.java:876)

at org.jpox.store.rdbms.scostore.AbstractMapStore.getValue(AbstractMapStore.java:547)

at org.jpox.store.rdbms.scostore.NormalMapStore.put(NormalMapStore.java:582)

at org.jpox.store.rdbms.scostore.AbstractMapStore.putAll(AbstractMapStore.java:284)

at org.jpox.store.mapping.MapMapping.postUpdate(MapMapping.java:289)

at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:266)

at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1815)

at org.jpox.store.StoreManager.update(StoreManager.java:768)

at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4079)

at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:2929)

at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:432)

at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.runTest(TestMapStringValueCollections.java:122)

at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.test(TestMapStringValueCollections.java:71)

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)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael Watzek added a comment - 08/Aug/05 07:20 PM
The tests fail for both identity types.

Michelle Caisse added a comment - 19/Aug/05 07:14 AM
Fixed??, new error. See JDO-122

Michael Bouschen added a comment - 23/Apr/06 02:57 AM
Reopened to set the Fix Version/s field to JDO 2 beta.