[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Project for JPA » EclipseLink(Using Inheritance)
EclipseLink [message #1854584] Fri, 26 August 2022 14:30
hejer ishak is currently offline hejer ishakFriend
Messages: 1
Registered: August 2022
Junior Member
I have three Entities

@MappedSuperClass
public abstract class AbstractEntity {

}

@Entity
public class Entity1 extends AbstractEntity {
string treat;
}

@Entity
public class Entity2 extends AbstractEntity {

string state;
}


How can i query on AbstractEntity that search from Entity1 and Entity2 , also i need to extract only enity1 that have treat= 1 and Entity2 that have state = 2 ?
Next Topic:Oracle Proxy Authentication using EclipseLink in JBOSS 7.4
Goto Forum:
  


Current Time: Thu Dec 12 17:00:35 GMT 2024

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

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

Back to the top