[jboss-user] [EJB 3.0] - @embedable annotation

kkangsar do-not-reply at jboss.com
Tue Mar 10 03:43:32 EDT 2009


Hi expert,

     I am thinking of creating a common Address.class which can be embedded into my customer and vendor class.

     My concern is, if I do so, what will be the end result when hibernate create a schema for my customer and vendor table?

     Will it create an address object in the database? 

     Is this a good practice to create a common attribute for an entity and extend or embed to it? please advice.

    Thanks.

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

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



More information about the jboss-user mailing list