Hi!

(1) make lazy default to true on both <class> and <collection>
   mapping elements; if a class cannot be proxied, laziness
   is transparently disabled; make it clear that we intend
   laziness to be used 99% of the time

+1
Hm - i can't remember, does lazy=true on a non-proxyable class fail today ? (with
a error?) If it does wouldn't the proper setting per default be lazy=auto ?
Thus lazy=auto|true|false



(2) provide <hibernate-mapping default-lazy="false">, to override this new default for backward compatibility purposes

+1


(3) deprecate (remove?) the confusingly named outer-join attribute

If fetch will be 100% replacement and we provide a
h2toh3 tool then i'm +1 for remove.
(but i guess considering that all the current material mentions outer-join
is also a factor - but maybe then it's even more important to remove it
so people discover the change)
hmm - maybe we should introduce a "RemovedFeatureException" (mostly kidding ;)


(4) introduce the fetch attribute, where, at least initially,
   the options are fetch="join|select"; eventually we may
   add other options like fetch="immediate-select"

+1 (sounds more clear/explicit)


Questions:

* The default should be fetch="select" for collections, what
 should the default be for to-one associations? I suppose
 that purely for backward compatibility purposes we need
 fetch="auto|join|select", where auto is the default, and
 chooses "select" for a lazy-enabled class.

+1


* Should we provide XSLT stylesheets to transform 2.x mapping to 3.0 mappings, rather than providing backward compatibility at the mapping document level, by adding default-lazy and continuing to support the outer-join attribute?

+1 for h2toh3 tool if at all possible.


* Anything else needed?

Can't think of one thing at the moment...


* Does this suck?

Not at all! It's crystal! ' /max





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to