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 48 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Hibernate
1
Declare an org.hibernate.SQL logger at DEBUG level, in the configuration with hibernate.show_sql = true1
Hibernate annotations to map a class to a database table.1
Hibernate states: transient, persistent, detached1
Hibernate: What is the difference between lazy and eager loading?0
What is the name of the property that defines the dialect to use in Hibernate?