[
https://issues.apache.org/jira/browse/OPENJPA-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved OPENJPA-2679.
--------------------------------------
Resolution: Won't Fix
Closing as obsolete during backlog cleanup: Asks only to backport an existing
2.x fix to the dead 1.2.x/1.3.x branches. Please reopen if this still happens
with OpenJPA 4.x.
> Version field in a mapped super class causes
> java.lang.ArrayIndexOutOfBoundsException
> -------------------------------------------------------------------------------------
>
> Key: OPENJPA-2679
> URL: https://issues.apache.org/jira/browse/OPENJPA-2679
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.2.3, 1.3.0
> Reporter: Yves De Moor
> Priority: Major
> Labels: easyfix
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Version field in a mapped super class causes
> java.lang.ArrayIndexOutOfBoundsException
> StackTrace version 1.2.3
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.apache.openjpa.jdbc.sql.DBDictionary.appendUpdates(DBDictionary.java:2124)
> at
> org.apache.openjpa.jdbc.sql.DBDictionary.toBulkOperation(DBDictionary.java:2068)
> at
> org.apache.openjpa.jdbc.sql.DBDictionary.toUpdate(DBDictionary.java:1953)
> The bug has been fixed in 2.x version, in class
> org.apache.openjpa.jdbc.meta.FieldMapping, in method public Column[]
> getColumns() by rgc : 2 March 2011
> The idea is to backport this method from 2.4.0 to 1.x
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)