13 Replies Latest reply on Jul 24, 2011 8:13 AM by rrr jjjhhh

    Seam generate entities doesn't work with SQL Server 2005

    Tom Brown Newbie

      I'm using JBossTool 2.1.2 and Seam2.0.2.


      while use seam generate entities, it promps can't generate seam entities.


      details are below:


        org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.fantasy.entity.CheckConstraints' generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'. Same name where generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'
        Duplicate class name 'com.fantasy.entity.CheckConstraints' generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'. Same name where generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'
          org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.fantasy.entity.CheckConstraints' generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'. Same name where generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'
          Duplicate class name 'com.fantasy.entity.CheckConstraints' generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'. Same name where generated for 'org.hibernate.mapping.Table(tempdb.sys.checkconstraints)'


      Anyone can help me ?