Sorry for the late reply, I've been out for the holidays and
simultaneously rebuilding my system from its hard-drive crash.

The read-only stuff would not fix this issue, as I understand it.  From
what I think that user is asking for, he still probably wants to the
flushes against the "main entity" to be honored and just wants the
reference data excluded from the flush checking.

I think he's suggestion makes good sense, where the check to see whether
an entity is mutable comes before checking it's attributes for
dirtiness.  At least in the current implementation, that makes a lot of
sense to me.
 
However, right before the holidays I started work on breaking down the
SessionImpl into even more basic components.  Another thought here might
be to further split what is now called PersistentContext.  The idea
would be to split the concepts of 1) tracking an entity's state from 2)
defining the "scope of object identity".  This would actually help later
on with some potential issue I have been thinking about regarding a good
read-only session implementation.  Then we could continue to track these
objects within the scope of object identity but not in the session cache
(aka, this is analogous to TopLink's distinction between Session and
UnitOfWork).


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max
Rydahl Andersen
Sent: Sunday, December 26, 2004 1:53 PM
To: Hibernate development
Subject: [Hibernate] someone looking at flushing performance...

...fyi: http://forum.hibernate.org/viewtopic.php?t=936291

Is he on to something or is the readonly stuff in H3 the answer to this
?

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

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to