-
1. Re: Add/List/Edit/Remove example in Seam
marius.oancea Dec 21, 2005 2:57 AM (in response to rorschach)I had plans to do such an example application. I had no time yet (my second child was just born).
If you want to see something specific please try to describe in a usecase.
During the Xmas I'm sure i'll find the time to implement that. -
2. Re: Add/List/Edit/Remove example in Seam
gavin.king Dec 21, 2005 3:04 AM (in response to rorschach)You guys should try out the reverse engineering tool:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74318
It will create such an example for you, from your database schema. -
3. Re: Add/List/Edit/Remove example in Seam
rorschach Dec 21, 2005 10:31 AM (in response to rorschach)"gavin.king@jboss.com" wrote:
You guys should try out the reverse engineering tool:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74318
It will create such an example for you, from your database schema.
I would love to, but I'm using IntelliJ. -
4. Re: Add/List/Edit/Remove example in Seam
christian.bauer Dec 21, 2005 10:33 AM (in response to rorschach)I'm pretty sure it also works with the Ant tools, but nobody documented the procedure step by step yet.
-
5. Re: Add/List/Edit/Remove example in Seam
gavin.king Dec 21, 2005 5:03 PM (in response to rorschach)I would love to, but I'm using IntelliJ.
So use eclipse for reverse engineering, and IntelliJ for development.
The tool does not generate eclipse-specific code ;) -
6. Re: Add/List/Edit/Remove example in Seam
maxandersen Dec 21, 2005 5:13 PM (in response to rorschach)From seamtest-build.xml in hibernatetools:
<!-- setup global properties --> -
7. Re: Add/List/Edit/Remove example in Seam
maxandersen Dec 21, 2005 5:17 PM (in response to rorschach)great - xml code is not getting escaped..
Here it is with []'s instead:
[hibernatetool destdir="${destdir}"]
[jdbcconfiguration configurationfile="seamtest.cfg.xml" packagename="org.jboss.seam.example.crud"/]
[!-- setup global properties --]
[property key="seam_appname" value="Registration"/]
[property key="seam_shortname" value="crud"/]
[hbmtemplate exporterclass="org.hibernate.tool.hbm2x.seam.SeamExporter" filepattern="."/]
[/hibernatetool]