openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath Thomann (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1642) ClassCastException caused when using property 'openjpa.Sequence'
Date Wed, 28 Apr 2010 17:25:52 GMT
ClassCastException caused when using property 'openjpa.Sequence'
----------------------------------------------------------------

                 Key: OPENJPA-1642
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1642
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.0.0, 1.2.2, 1.0.3
            Reporter: Heath Thomann
            Assignee: Heath Thomann


When setting the following property:

<property name="openjpa.Sequence"
value="org.apache.openjpa.jdbc.kernel.ClassTableJDBCSeq()"/>

the following exception is caused:

java.lang.ClassCastException:
org.apache.openjpa.conf.OpenJPAConfigurationImpl cannot be cast to
org.apache.openjpa.jdbc.conf.JDBCConfiguration

The same exception is caused when using other sequence generators, for example 'org.apache.openjpa.jdbc.kernel.TableJDBCSeq'.

-- 
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