[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities

RogerWBMD do-not-reply at jboss.com
Thu May 15 15:48:26 EDT 2008


I am newbie to jboss and I was struggle on the same issue yesterday. Somehow I found in the forum that to add hibernate.default_schema=<schema name> line in the hibernate-console.properties will fix the problem. I tried and it worked.

Now, I have another question. I try to use "New -> Seam Entity." The java code is generated with default attributes (id, version, and name) are created and the table is also created in DB beautifully. However, when I like to modify or add attributes (like change name to first name,) I stuck. I don't know how to make the code change to update the table in DB. Or, I just have manully alter the table accordingly?

Thanks
Roger

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

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



More information about the jboss-user mailing list