[jboss-user] [JBoss Seam] - Re: Extracting service. Joining tables across schemas. Using

petemuir do-not-reply at jboss.com
Thu Apr 12 12:53:25 EDT 2007


"kummer" wrote : 2. We have concerns about hardcoding the OR-mapping in the Java annotations. Is it possible to use Hibernate xml mappning files for part of the mappings along with the annotations?

You can use a mix of hbm.xml files, orm.xml files (JPA/EJB3 xml schema) and annotations.  AFAIK you can mix annotations and xml for a class.

anonymous wrote : 3. Is it possible to map tables in different schemas to the same network of objects, without hardcoding the schema names in the Java source files?

You should be able to do this using xml

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

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



More information about the jboss-user mailing list