GeneratorIdentifier « Map « JPA Q&A





1. @GeneratorIdentifier does not work    forum.hibernate.org

Hi, I tried to use a custom IdentifierGenerator for entity Id generation on Seam2.1.1.GA on JBoss5.0.1GA.(uses Hibernate 3.3.1.GA as default?) Unfortunately I cannot apply the Generator using the @GenericGenerator annotation. Code: @javax.persistence.Entity @org.hibernate.annotations.GenericGenerator( name="test", strategy="com.websein.wcrm.entity.util.MySQLKeyGenerator") public class TestDing2 { @javax.persistence.Id ...