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

itsme do-not-reply at jboss.com
Tue Mar 10 04:34:45 EDT 2009


Yes. This is - especially for addresses - the common case, so there is no need to travers a relationship between tables.

If you want to reuse your address entity, so there will be a address table, you can create a simple wrapper for your address with nothing more than an identifier and an embedded field address or your address must be a full entity and not an embeddable.

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

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



More information about the jboss-user mailing list