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.
| Online: | 7 Members of 4087 |
| Forum: Seam Users |
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 ?
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.
Please add to http://www.seamframework.org/Documentation/KnowledgeBase for future users also, and thanks in advance for the contribution :)
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.
Great! My email is catch.why@gmail.com.Many thanks 2 you!
Would you forward this document to me at tom.busch@stryker.com please? Thank you!
Please email a copy to mikeeprice@hotmail.com, Thank You
Could you please send a copy of the document at amandilas at xproject.gr as i am facing the same problem.
Regards, Antony
could you please send that document to babu.manoharan@cox.com
thanks - BM
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