[jboss-user] [JBoss Seam] - Re: Generate database table from Entity with seam-gen

thejavafreak do-not-reply at jboss.com
Tue Mar 20 02:50:06 EDT 2007


anonymous wrote : 
  | Yes, of course. Answer "n" to do the tables already exist, or just edit persistence-dev.xml.

Now I get what you mean. So the table will be automatically created by the JPA (in this case Hibernate) when the application starts. Is this correct? But this doesn't create the View too right ?

What I need is the other way around.  I created the Entity class first, and then the View, *.page.xml, *Home class and *List class created automagically by seam-gen.

Would it be possible?

Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029624#4029624

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029624



More information about the jboss-user mailing list