Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1642

ClassCastException caused when using property 'openjpa.Sequence'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.3, 1.2.2, 2.0.0
    • None
    • None
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              jpaheath Heath Thomann
              jpaheath Heath Thomann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: