Re: [Hibernate] uml2hbm

2005-05-02 Thread Max Rydahl Andersen
All code/artifact generating tools are in hibernateext/tools.
There you find code that generates via velocity templates and/or
actual programmatic building of a Configuration.
/max
omg please excuse my sentence structure. no sleep. my code is better,  
promise. :-P

--
No tengo pelos en mi lengua
On May 1, 2005, at 12:00 AM, Ryan Marsh wrote:
I need to build either an XSLT for XMI to hbm or extend my UML tool to  
generate hbm. As far as programmatically creating a hibernate mapping  
file, where would you suggest I look as the latest and greatest API for  
creating HBM files programmatically?

I'm considering doing this because the class model for this domain is  
massive. I could really save some time by just exporting HBM from my  
UML tool (which is open-source) and then generating POJO and the schema.

Regards,
-ryan
--
No tengo pelos en mi lengua

---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great  
events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events,  
4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

--
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] New laziness rules

2005-05-02 Thread Max Rydahl Andersen

Note that the association-level lazy setting is now *completely
respected*. if I run a HQL query and some of the objects in the result

set have non-lazy associations, those associations will be
*immediately fetched*.
This one I don't get why we want that ?
I actually saw it as a strength that you via the HQL language could
override what the static mapping specifiedor am i misunderstanding  
this ?

--
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] New laziness rules

2005-05-02 Thread Gavin King
Yes, you're misunderstanding.

If I say lazy=false, it should *always* be eager fetched.

There's nothing wrong with fetch=join lazy=true if you want
flexibility.

-Original Message-
From: Max Andersen 
Sent: Monday, 2 May 2005 5:48 PM
To: Gavin King; Christian Bauer; hibernate-devel@lists.sourceforge.net
Subject: Re: [Hibernate] New laziness rules


 Note that the association-level lazy setting is now *completely
 respected*. if I run a HQL query and some of the objects in the
result

 set have non-lazy associations, those associations will be
 *immediately fetched*.

This one I don't get why we want that ?
I actually saw it as a strength that you via the HQL language could
override what the static mapping specifiedor am i misunderstanding  
this ?

-- 
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] New laziness rules

2005-05-02 Thread Christian Bauer
On May 3, 2005, at 1:31 AM, Gavin King wrote:
There's nothing wrong with fetch=join lazy=true if you want
flexibility.
I hate explaining this already...

---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel