Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
25. Aug 2008, 12:14 CET | Link

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 ?

9 Replies:
25. Aug 2008, 18:17 CET | Link

We had this issue.

I prepared a detailed document to walk our developers thru using SEAM and SQL Server. I can email it to you or try and post it.

Rating:  * * * * *
25. Aug 2008, 19:23 CET | Link

Please add to http://www.seamframework.org/Documentation/KnowledgeBase for future users also, and thanks in advance for the contribution :)

11. Sep 2008, 22:21 CET | Link

Did this actually get added to the knowledge base? I am also in need of the solution but I don't see it there... though I may just be blind.

26. Aug 2008, 09:16 CET | Link

Great! My email is catch.why@gmail.com.Many thanks 2 you!

11. Sep 2008, 22:51 CET | Link

Would you forward this document to me at tom.busch@stryker.com please? Thank you!

14. Sep 2008, 22:41 CET | Link

Please email a copy to mikeeprice@hotmail.com, Thank You

05. Oct 2008, 19:18 CET | Link

Could you please send a copy of the document at amandilas at xproject.gr as i am facing the same problem.

Regards, Antony

27. Oct 2008, 20:35 CET | Link

could you please send that document to babu.manoharan@cox.com

thanks - BM

30. Oct 2008, 11:25 CET | Link

Well you must select the schema when configuring seam. Use 'seam setup' and add 'dbo' when prompted for schema. Else Hibernate will pick up all schemas including the 'sys' schema.

It should work after that

cheers allan