This is a good point.
This issue also raised a few others in my mind regarding this type of object 
model factories, i.e. the one that uses introspection when adding children to 
parents.

If you look at the factory implementation, you will see that all addChild 
methods are 'typed', i.e. parent and child are of concrete Java types. So, as 
it works today, you would have to move that addChild method you are talking 
about from JDBCPmMetaDataFactory to XMBeanMetaDataFactory. Which is not really 
good, since the parent and child are still typed. And XMBean might have some 
other non-JDBCPm persistence manager.

I'll work on the fix and let you know.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to