[hibernate-dev] EMF / EM properties

Steve Ebersole steve at hibernate.org
Wed Feb 3 14:10:39 EST 2010


Nope.  I gave up after that.  I had the far more pressing jpa feature of
"load an entity by another entity's id" to implement :D

If you can work that out, that would be an alternative as well.
Obviously not invasive at all.

On Wed, 2010-02-03 at 16:02 -0300, Hardy Ferentschik wrote:
> Ahh, I was wondering why you did not suggest sub-classing in your approach.
> Funny that you say that all properties got pulled then. Any ideas what the  
> issue was?
> 
> --Hardy
> 
> 
> On Wed, 03 Feb 2010 15:56:02 -0300, Steve Ebersole <steve at hibernate.org>  
> wrote:
> 
> > Word of warning.  I actually tried that :)
> >
> > It ended up being all the properties.  Something was pulling them all.
> > I tried a sublass+delegate approach (I also had trouble getting the
> > "default properties" to work with just straight subclassing).
> >
> > FYI...
> 
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
-- 
Steve Ebersole <steve at hibernate.org>
Hibernate.org




More information about the hibernate-dev mailing list