gavin wrote:
This would be very, very difficult to implement.
Gavin, 
Ok I've been thinking about this but it's 3am over here so just in case my
reply comes out as complete nonsense I'm going to read it in the morning 
before sending it. 
I'm impressed that you think it would be difficult to implement though as
by all accounts you seem to be a top notch coder. 
I dont really understand the internals of hibernate all that clearly but I
think I will try to learn a little more about them. 
From a performance standpoint I think that this would make things 
a 
 lot  more performant as you would not need to wrap each 
map in a persistant class.
If you think of the possibilities it would be so cool if you could 
custom wrap query results so that you never need to pass back 
a class which is one variable larger than necessary without 
going through the tedium of wrapping it yourself.
Although I'm a big fan of object mapping I've still got the old school
mentality of every byte counts and I need to come up with a plan to 
lighten up my session storage requirements. 
Thanks for taking the time to look at this.
--b