Patches item #672865, was opened at 2003-01-23 12:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=672865&group_id=40712

Category: None
Group: None
Status: Open
Resolution: None
>Priority: 6
Submitted By: Mark Woon (unkyaku)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for too-long column name aliases

Initial Comment:
This is another approach to resolve the problem with
Hibernate generating column aliases that are too long.
 Instead of appending a suffix to the original name,
I've modified it so that it generates unique names. 
The change to handle this was simple enough (in
EntityPersister and MultiTableEntityPersister), but it
took a long time to figure out why loading
joined-subclasses didn't work too well.  That required
the change to Loader.

In any case, I hope this patch works out better than
the last one. Gavin, I really need a solution to this
problem since this is my only remaining problem with
Hibernate.


----------------------------------------------------------------------

>Comment By: Gavin King (oneovthafew)
Date: 2003-01-25 01:34

Message:
Logged In: YES 
user_id=384580

You noticed this comment:

    // Get the persister for the _subclass_

That is actually critical. The persister you pass in is the 
persister of the root class. Potentially the object we are 
hydrating is of a subclass, and has a different persister.

So this patch breaks stuff.

Other than that, I think the patch is a reasonable approach. 
However, please produce *two* patches, one for Hibernate2, 
one for Hibernate 1.2. I can't introduce this change in 1.2 only.

THanks :)

Gavin


----------------------------------------------------------------------

Comment By: Gavin King (oneovthafew)
Date: 2003-01-24 01:41

Message:
Logged In: YES 
user_id=384580

THanks :)

I'll look at this at the very 1st opportunity, I promise....

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=672865&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to