I added support for DynaBean components to Hibernate2. You can now
use mappings like:

<class .... >
    .....
    <dynabean name="dynaBean" dynaclass="MyDynaClass"/>
         <property name="foo" type="string"/>
         <property name="bar" type="integer"/>
         <many-to-one name="baz" class="Baz" cascade="save-update"/>
    </dynabean>

</class>

Can people please try this out, to check that I didn't get anything
wrong; I am new to DynaBeans, so I'm not sure I am using it right.
(Like all the Jakarta stuff it is completely underdocumented.)

What I didn't find was a way to do the equivalent of Class.forName()
to retrieve a DynaClass. So Hibernate and the user code aren't
actually using the same DynaClass instance, which is suboptimal.






-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to