Thanks. Now it works. But where this is described?

Miro.

Patrick Linskey (JIRA) wrote:
Custom sequences specified via @SequenceGenerator must have parentheses at the 
end of the class name
----------------------------------------------------------------------------------------------------

                 Key: OPENJPA-470
                 URL: https://issues.apache.org/jira/browse/OPENJPA-470
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa
    Affects Versions: 1.0.1, 1.0.0, 0.9.7, 0.9.6, 0.9.0
            Reporter: Patrick Linskey


When specifying a custom sequence to use via the @SequenceGenerator annotation, 
the class name specified in the sequenceName field must have open and close 
parentheses at the end of it. If no parentheses are present, OpenJPA assumes 
that the sequence name is the name of a sequence in the database, not a 
classname to use.


Reply via email to