Posts by Dani • 1 point
3 posts
-
0
votes2
answers292
viewsA: How to use @Mappedsuperclass @Id with @Sequence Individual - Hibernate oracle
I coded to separate each @Id in each class. I wrote down the class as Inheritance to carry out the inheritance. Entidadedominio @Inheritance(strategy = InheritanceType.JOINED) //@MappedSuperclass…
-
0
votes2
answers292
viewsA: How to use @Mappedsuperclass @Id with @Sequence Individual - Hibernate oracle
I got somewhere using: @MappedSuperclass public class EntidadeDominio implements IEntidade, Serializable { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE ,generator = "SQ")…
-
0
votes2
answers292
viewsQ: How to use @Mappedsuperclass @Id with @Sequence Individual - Hibernate oracle
I need to solve a question of using inheritance and sequences with Hibernate and Oracle. I’m using Maven with: hibernate-core 5.1.5.Final hibernate-entitymanager 5.1.5.Final hibernate-validator…