OpenJPA
  1. OpenJPA
  2. OPENJPA-1642

ClassCastException caused when using property 'openjpa.Sequence'

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3, 1.2.2, 2.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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'.

        Issue Links

          Activity

            People

            • Assignee:
              Heath Thomann
              Reporter:
              Heath Thomann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development