Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » (no subject)
(no subject) [message #716027] Tue, 16 August 2011 08:42
Eclipse UserFriend
Originally posted by:

i was sentenced to migrate a RAP application from Hibernate to
eclipselink. I am a GUI developer, so forgive me if the question is dumb.

I have to replace the hibernate @where annotations in our code.
It's used to filter the correct subclass into a set from a SINGLE_TABLE
using the DiscriminatorValue.


@OneToMany(targetEntity = SystemValueObject.class, mappedBy
@Where(clause="TECH_CLASS_TYPE = 'TEXT_TYPE'")

private Set<TextFormatType> textFormatTypes = new HashSet<TextFormatType>();

How would you do this with JPA/Eclipselink ?
Funny enough there's a page on migrating hibernate to eclipselink on the
eclipse wiki. It ends exactly at the point where it would get
interesting for me :-)

Previous Topic:(no subject) [solved]
Next Topic:hibernate gotchas
Goto Forum:

Current Time: Sun Nov 29 03:45:56 GMT 2015

Powered by FUDForum. Page generated in 0.02571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software