-
1. Re: JBoss tools - Seam generate entities from existing entit
pmuir Nov 19, 2007 10:37 AM (in response to mortena)Max says this needs some (minor) changes to (hibernate) tooling to support (you could configure this on or off).
I guess you should take a look at the hibernate tools forum and jira, and submit a patch :) -
2. Re: JBoss tools - Seam generate entities from existing entit
maxandersen Nov 19, 2007 10:38 AM (in response to mortena)btw. for seam-gen you could just comment out the hbm2java generation in there and not regenerate.
-
3. Re: JBoss tools - Seam generate entities from existing entit
maxandersen Nov 19, 2007 10:50 AM (in response to mortena)btw. morten - report it in jira; much higher chance for me to notice it ;)
-
4. Re: JBoss tools - Seam generate entities from existing entit
atao Nov 19, 2007 11:02 AM (in response to mortena)it seems to me this question is related to JBSEAM-843
-
5. Re: JBoss tools - Seam generate entities from existing entit
mortena Nov 19, 2007 1:42 PM (in response to mortena)Hmm. I think that you should consider using fewer lines of communication.
There's an awful lot of tools involved. seam-gen, jboss-tools, eclipse, jira, this forum, hibernate tools forum, ...
:-)
How can I get the "Seam Generate Entities" function working in eclipse without regnerating the entities? -
6. Re: JBoss tools - Seam generate entities from existing entit
maxandersen Nov 19, 2007 2:16 PM (in response to mortena)JBoss Tools -> JBoss Tools forum (easy, right ;)
"How can I get the "Seam Generate Entities" function working in eclipse without regnerating the entities?"
For now you can remove the hbm2java from the generated code generation launch and just rerun it.
For getting that more permantly in there report an issue in jboss tools.
It is *related* to JBSEAM-843 but we don't use the ant tasks in jboss tools so this is not the same. -
7. Re: JBoss tools - Seam generate entities from existing entit
mortena Nov 19, 2007 3:11 PM (in response to mortena)For now you can remove the hbm2java from the generated code generation launch and just rerun it.
Where should I remove it from (a build file?)
Morten -
8. Re: JBoss tools - Seam generate entities from existing entit
maxandersen Nov 20, 2007 1:35 PM (in response to mortena)Go to Run > Hibernate code Generation and select the "yourproject-generate-entities" configuration.
go to exporters and remove the hbm2java/.java exporter.
btw. I created and fixed http://jira.jboss.com/jira/browse/JBIDE-1336 just for you ;) -
9. Re: JBoss tools - Seam generate entities from existing entit
marius.oancea Nov 21, 2007 8:58 AM (in response to mortena)There is no plan to create a "generate-ui" task?
For 1.2.1 there is "http://jira.jboss.org/jira/browse/JBSEAM-1206"
Removing hbm2java is not enough because the entities from db are still considered. No way to use my entitites? -
10. Re: JBoss tools - Seam generate entities from existing entit
atao Nov 21, 2007 9:07 AM (in response to mortena)
There is no plan to create a "generate-ui" task?
Pete Muir just integreted JSEAM 843 (Generate application from existing entities) in CVS.
For 1.2.1 there is "http://jira.jboss.org/jira/browse/JBSEAM-1206"
This issue is related to "improve i18n in seam-gen". What is the link with this thread? -
11. Re: JBoss tools - Seam generate entities from existing entit
pmuir Nov 21, 2007 9:52 AM (in response to mortena)See, we look at votes :)
-
12. Re: JBoss tools - Seam generate entities from existing entit
maxandersen Nov 21, 2007 12:55 PM (in response to mortena)marious - I talked about how to do it in jboss tools.
if you want to do it in ant files you need to swithc jdbc-configuration out with jpa-configuration.