openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-107) @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException
Date Thu, 25 Jan 2007 14:45:49 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467394
] 

Kevin Sutter commented on OPENJPA-107:
--------------------------------------

George,
I think Marc is right.  What version of the IBM JDK are you running with?   You need at least
SR3 to get around this problem.

>java -fullversion
java full version "J2RE 1.5.0 IBM Windows 32 build pwi32dev-20061002a (SR3)"

Thanks,
Kevin

> @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException
> ------------------------------------------------------------------------------
>
>                 Key: OPENJPA-107
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-107
>             Project: OpenJPA
>          Issue Type: Bug
>         Environment: windows xp, openjpa_097_incubating
>            Reporter: George Hongell
>
> @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException
> 7361  mdd  INFO   [main] openjpa.MetaData - Parsing class "com.ibm.ws.query.entities.annotated.DeptBean".
> ...
> ...
> Exception in thread "main" java.lang.ArrayStoreException
> 	at com.ibm.oti.reflect.AnnotationHelper.getReturnValueFromEntry(Native Method)
> 	at com.ibm.oti.reflect.AnnotationHelper.access$000(AnnotationHelper.java:14)
> 	at com.ibm.oti.reflect.AnnotationHelper$AnnotationInvocationHandler.invoke(AnnotationHelper.java:104)
> 	at $Proxy12.value(Unknown Source)
> 	at org.apache.openjpa.persistence.jdbc.AnnotationPersistenceMappingParser.parseClassMappingAnnotations(AnnotationPersistenceMappingParser.java:280)
> 	at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parseClassAnnotations(AnnotationPersistenceMetaDataParser.java:601)
> 	at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parse(AnnotationPersistenceMetaDataParser.java:344)
> 	at org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:211)
> 	at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:414)
> 	at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:272)
> 	at org.apache.openjpa.meta.ValueMetaDataImpl.resolveDeclaredType(ValueMetaDataImpl.java:426)
> 	at org.apache.openjpa.meta.ValueMetaDataImpl.resolve(ValueMetaDataImpl.java:405)
> 	at org.apache.openjpa.jdbc.meta.ValueMappingImpl.resolve(ValueMappingImpl.java:467)
> 	at org.apache.openjpa.meta.FieldMetaData.resolve(FieldMetaData.java:1574)
> 	at org.apache.openjpa.jdbc.meta.FieldMapping.resolve(FieldMapping.java:397)
> 	at org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1630)
> 	at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1565)
> 	at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:656)
> 	at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:556)
> 	at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
> 	at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
> 	at org.apache.openjpa.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:273)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.getMapping(MappingTool.java:660)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.buildSchema(MappingTool.java:732)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:630)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:1059)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:966)
> 	at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.java:907)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message