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!
2
Hibernate states: transient, persistent, detached1
Hibernate inheritance mapping strategies1
Hibernate: Person must have the @Table(âper_person â) annotation2
Declare an org.hibernate.SQL logger at DEBUG level, in the configuration with hibernate.show_sql = true1
Hibernate: How to get the current date and version of the database?1
Hibernate annotations to map a class to a database table.2
Hibernate: What is the difference between lazy and eager loading?