My entity class has a sequence.
@Entity
@SequenceGenerator(name = "idgen", sequenceName = "PROVIDER_SEQ")
public class Provider extends BaseEntity {
Superclass defines idgen. However when I run the Ant task to convert to SQL I get
Caused by: java.lang.NoSuchMethodError: javax.persistence.SequenceGenerator.catalog()Ljava/lang/String
Am using Hibernate3.0
You have mixture of JPA 1 and 2 libraries in classpath. As you see from the documentation, catalog attribute was added in JPA 2.0. Hibernate 3.0 is rather old (roughly 7 years) and does not implement JPA 2.