-
1. Re: jboss ide seam skeleton app error
maxandersen Jun 14, 2006 12:35 PM (in response to zhongwei)seam skeleton templates does not support composite keys yet.
-
2. Re: jboss ide seam skeleton app error
tushardesai22 Jul 16, 2006 1:50 PM (in response to zhongwei)
I am using Eclipse-SDK-3.1.2-win32 + BossIDE-200607141757-nightly-ALL
Can any one help me out with this error:
Exception while generating code:
Reason:
org.hibernate.tool.hbm2x.ExporterException: Error while processing template seam/find.jsp.ftl
freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl.
freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl.
I am just trying to configure and deploy the tables from MySQL as shown in CRUD demo by I keep getting the above error.
Below are the two tables:
mysql> create table City (ID integer(3), Name varchar(25), Zipcode integer(5), Country varchar(25));
mysql> create table Event(ID integer(3), Name varchar(60));
Please advice. -
3. Re: jboss ide seam skeleton app error
maxandersen Jul 16, 2006 4:42 PM (in response to zhongwei)they have no primary key, hence reveng creates a composite key of all columns, but the seam templates does not support composite key and thus it fails.
solution: define the primary keys -
4. Re: jboss ide seam skeleton app error
timpotter Aug 2, 2006 4:42 PM (in response to zhongwei)Any idea when composite keys will be supported? I have some primary keys that are composite keys by necessity. I'm chomping at the bit to use this as opposed to Ruby. Thanks in advance.
-
5. Re: jboss ide seam skeleton app error
maxandersen Aug 2, 2006 4:55 PM (in response to zhongwei)note it is only the seam templates that has issues with composite id's.
All other parts supports it.
when it will be in there ? when someone steps up and implement. -
6. Re: jboss ide seam skeleton app error
timpotter Aug 2, 2006 5:09 PM (in response to zhongwei)Are you dropping a hint?
-
7. Re: jboss ide seam skeleton app error
maxandersen Aug 2, 2006 5:16 PM (in response to zhongwei)yep
-
8. Re: jboss ide seam skeleton app error
grdzeli_kaci Feb 13, 2007 5:54 AM (in response to zhongwei) -
9. Re: jboss ide seam skeleton app error
maxandersen Feb 13, 2007 6:30 AM (in response to zhongwei)yes, the seam app skeleton in hibernate tools has been discontinued and now part of seam it self as the tool called seam-gen (with alot of improvements)
-
10. Re: jboss ide seam skeleton app error
grdzeli_kaci Feb 14, 2007 12:38 AM (in response to zhongwei)can u tell me version of the hiberrnate tools ?, or version of the JBoss Eclipse IDE ?
where tool can generate seam templates.
and i tryed to generate entities from command line./seam generate-entities
but i got an error like this :java.lang.NoClassDefFoundError: org.hibernate.bytecode.cglib.BytecodeProviderImpl