Medium
Considerate the following structure of Entity classes:
By what should be replace "XXXXX" to obtain only one table "Employe" with Hibernate?
@Entity
@Table(name = "Employe")
@XXXXX
@DiscriminatorColumn(
name = "TypeE"
, discriminatorType = DiscriminatorType.STRING)
@DiscriminatorValue("Employe")
public class Employe implements Serializable {
// ...
}
Author: ManuvaiStatus: PublishedQuestion passed 79 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Hibernate: How to get the current date and version of the database?2
Declare an org.hibernate.SQL logger at DEBUG level, in the configuration with hibernate.show_sql = true1
Hibernate: Person must have the @Table(âper_person â) annotation1
Hibernate inheritance mapping strategies2
Hibernate states: transient, persistent, detached2
Hibernate: What is the difference between lazy and eager loading?1
Hibernate annotations to map a class to a database table.