This is bit lengthy but a simple conceptual problem. Please take some time to read :) I have 2 tables with exactly same columns except their primary ...
This is bit lengthy but a simple conceptual problem. Please take some time to read :) I have 2 tables with exactly same columns except their primary ...
in Symfony 6, I have a MappedSuperclass Entity called Person with personal data (name, surnames, etc.). And I have a number of entities extending f ...
I have several JPA entities, each Entity has a database user column, in that column I have to store the user that makes changes to a specific row in t ...
I'm having some issues dealing with a Mapped Superclass in Hibernate. I have two applications, Product and Manufacturer that share a Common library bu ...
I have a class with multiple mapped superclasses I am trying to select for, search by and group by some nested field. For the beginning I found I c ...
I am very new to Java and am in need of some help. I have created a @MappedSuperclass "Attendees" using OpenXava. I then extended it with two furth ...
I have a problem with JPA inheritance. The database model is also specially built. It contains several tables with the same attributes (the tables wer ...
I have a base class: The @GeneratedValue is not used since the id is generated using a BackendSession There are a lot of inheritance from this cla ...
I have a UserAuthenticationEntity extending from BaseEntity. All future entities will extend BaseEntity class. Is it possible that all entities i ...
I try to use @MappedSuperclass. It works well for simple variable (int, string...) and OneToMany/ManyToOne relationship. But OneToOne relationship doe ...
I have a couple of specific questions regarding ER modelling. To provide some specific context, this is for a university project and I seem to not be ...
I'm using Spring-Boot 1.5.10 with spring-boot-starter-data-jpa. I have a staging table and a production table, both have the same structure just diffe ...
I want to group common mappings in an interface, but I cannot use an abstract superclass because my entities already extend another class. So I need a ...
I have several entities that are related, such as McDoublePrice, CheeseburgerPrice, BigMacPrice, etc, which have a common BurgerPrice entity in a Mapp ...
I'm trying to create a inheritance with TABLE_PER_CLASS strategy, but i want to have different primary key for each table is it possible? I've one cl ...
I have six tables that have many common fields. Ten years ago I specified something to Hibernate Reverse Engineering to create a mapped superclass an ...
I am trying to add a state for the base model which records wether the records are 'ACTIVE', 'DELETED' or 'IN_PROGRESS' Here's my code : But ...
Given this class: I want to define an entity: But this fails with a "No identifier specified" (or a "Could not determine type for") error on Som ...
I have the following hierarchy and a transctional ejb where I perform crud operations. In another ejb named ServicioProceso I have the following m ...
I have two classes A & B, B extends A and A is @MappedSuperclass as it is extended by other entities as well for some common fields. Class A C ...