From: <ste...@jb...> - 2005-08-03 04:48:02
|
Well the Hibernate Configuration only accepts meta-data in a limited number of ways, all of which boil down to expecting some form of xml. So basically we'd be having jbossxb do the transformation from xml into a HibernateMapping[], and then transforming each HibernateMapping back to XML to pass to the Hibernate Configuration. Or am I missing something? I guess we could do something like Emmanuel is doing for the annotations. He extends the Configuration to plug in a new annotation-based Binder (which is the thing which interprets the incoming meta-data). Not to mention that maintaining the DTD is hard enough without having to duplicate stuff over to a schema. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888095#3888095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888095 |