Its not *runtime* extension to schemas, which I find a troubling
concept. Its *deployment* time, which could be useful.

Note that previously people have proposed allowing DynaBeans
as _entities_. This patch allows them as components.




                                                                                       
                                               
                    "Max Rydahl Andersen"                                              
                                               
                    <[EMAIL PROTECTED]>                            To:     <[EMAIL 
PROTECTED]>                           
                    Sent by:                                cc:                        
                                               
                    [EMAIL PROTECTED]       Subject:     Re: [Hibernate] DynaBean 
components                          
                    eforge.net                                                         
                                               
                                                                                       
                                               
                                                                                       
                                               
                    20/01/03 12:56 AM                                                  
                                               
                                                                                       
                                               
                                                                                       
                                               




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




**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************





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