Ok - this sounds interesting :)

I vaguely remember that someone tried to do this earlier for Hibernate, is
this the thing that was
done at that time ?

I'm curious to what this stuff can be used ... you mention that one can
better
dynamically extend the schema, as you do not need to modify the classes, I
dig that :)

Any other Good Thing's about this one ? (One could argue that dynamically
extending the schema is a Bad Thing - but I won't - not yet :)

/max

----- Original Message -----
From: "Gavin King" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 1:04 PM
Subject: [Hibernate] DynaBean components


> 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
>



-------------------------------------------------------
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