[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
max.andersen@jboss.com
do-not-reply at jboss.com
Thu Sep 24 04:40:17 EDT 2009
"allforjava" wrote : Thank you Max, for the reply.
|
| anonymous wrote : We support both generation from database and entities.
| |
| | If you by selective mean generate from a subset of the current entities then that is not available yet.
|
| I meant generation of only entities/components without their views. Did you meant the same?
|
You can use normal Hibernate Tools pojo generation for generating Entities if you want.
anonymous wrote :
| c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up.
|
I don't understand what you mean here. What system tables are being picked up ? We only pick that up if you have not limited the generation to a specific schema (that aren't the system one ;)
anonymous wrote :
| d. Further page.xml are not generated for the components.
|
What you can do is go to Hibernate Tools code generation launch config, copy it and remove the generation steps you don't want.
Then run that launch config and it will only generate for the bits and pieces you wish for.
anonymous wrote :
| anonymous wrote : You mean only generate list and not home/edit and vice versa ?
| | No - what is your usecase if you have the feature from above ?
|
| No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form.
| However there is no option to use existing entity/component to create the view. If wrong please correct.
|
No, that is correct.
anonymous wrote :
| 3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed.
|
I don't understand what you mean by "seam-modules for seam-project" ?
anonymous wrote :
| Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables.
| And now expecting to generate only views with exisitng Entities/Components.
| Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults.
| Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be
| and required views for it.
| If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256810#4256810
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256810
More information about the jboss-user
mailing list