Could somebody explain why InheritanceType.TABLE_PER_CLASS could not use the GenerationType.AUTO strategy for primary key value generation when mapping inheritance?
JPA: Why GenerationType.AUTO could not be used with InheritanceType.TABLE_PER_CLASS strategy
129 Views Asked by skip At
0
There are 0 best solutions below
Related Questions in INHERITANCE
- System.InvalidCastException while inheriting a class
- What effect does the `virtual` modifier have on an interface member?
- Is it allowed to pass "this" of derived class to constructor of base class?
- Why parent no-arg constructor is called?
- Python super().__init__() doesn't call multiple inherited classes?
- How to query child models from parent model data?
- .NET Core : disable parent application web.config inheritance
- Is it appropriate to subclass the parent's parameters in subclass __init__'s within python?
- Inheritance - is it possible to 'force' variable values relative to the derived class?
- Need more parameters in subclass overridden method
- How to call a method on a generic type from inside the generic class?
- Dependency Injection with Generic Interface and Inheritance
- Sparx Enterprise Architect - sysml - how to model a configuration on a block definition diagram using specialization
- Generic "Create" method in .NET Core that creates two entities
- crud operation and function with a an abstract class of which it had two subclasses
Related Questions in HIBERNATE-MAPPING
- Hibernate: JOIN inheritance question - why the need for two left joins
- JPA Hibernate OneToOne Mapping
- Cannot save multiple orders on one customer
- How to establish a two-way one-to-many relationship between a composite restriction of fields?
- Error Creating A Table(org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL) and java.sql.SQLSyntaxErrorException
- Primary key is composite key but the need oneToMany with one of the key in composite key
- Hibernate - Mapping only id not entire entity with foreign key constraint
- How to track down cause of "Could not determine recommended JdbcType" exception with Hibernate 6?
- Hibernate 5 > 6: DiscriminatorColumn of type Enum
- Using hibernate-core 6.4.4.final query is going in infinite loop
- How to create a OneToMany relationship targeting a combined primary key in Hibernate?
- Is there an option in intellij to generate tables from our classes (entities)
- HIbernate[hibernate.id.new_generator_mappings=true] creating duplicate keys if older keys are deleted
- How to conditionally join with field's value of a entity by JPA or Hibernate annotations?
- hibernate one to one using xml mapping with null foreign key
Related Questions in AUTO-GENERATE
- Flutter generate number
- How to use a preprocessor to separate parameters from function signatures in C++?
- Autogenerate Case ID With Conditional Letter Prefix, Next Avail Number, and Current Year
- Adding a SOAP header in a generated client with SOAP Interceptor with namespaces
- Python: How to link back & front on website for Word/PDF templates?
- Don't sort the result set of function in SQL Server
- Why is my InDesign Javascript not fully working?
- auto generate number is not working at the start of new year
- Error while using non-default type with TypeConverter in Floor entity
- Using git to manage the edit, patch, and merge of autogenerated microcontroller code
- Define specific area to Generate PDF - Google Apps Script
- template expectations when two models within same Django model file
- {controller} placeholder doesn't work when generating TypeScript client with NSwag
- Excel Dropdown list generates unique ID number for each value
- How to change code generation settings in IntelliJ?
Related Questions in JPA-2.1
- Collections annotated with @ElementCollection in an entity is not parsed to SQL when using a Query created by EntityManager
- JPA: A row of a EnumSet with a @AtrributeConverter and jpa-ql query, that does not work anymore
- JPA Sort order by according to primary key entity field
- JPA : Optimistic locking AND orphanRemoval = true , compatible?
- Internal Server Error 500 status code while trying to access endpoint
- JPA: Inheritance.TABLE_PER_CLASS set parent table name
- Need Help : Caused by: java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because "variable" is null
- Dynamic query building using JPA Specification with IN clause with multiple OR conditions more than 2000 values failing for paramaters limitation
- Using JPA Criteria API to fetch a list
- Error: Encountered a duplicated sql alias
- Getting data in Hibernate JPA query with ManyToOne Mapping
- How to make JPA enforce the right FK constraint among many of them?
- How to add JPA referenced entity to collection and save it without it being queried first?
- Named Query with map values in Spring Data JPA
- JPA Many to Many with Intermediate Table and MapKey*
Related Questions in TABLE-PER-CLASS
- TABLE_PER_CLASS Inheritance how can I get all records from two tables
- Updating a child entity
- I want to implement inheritance strategy(TABLE_PER_CLASS) using discriminator column
- How to improve performance in Hibernate polymorphic query when using table per class strategy?
- What is the best way to handle discriminator columns in PostgreSQL?
- Confusion about which inheritance strategy to use with EF6 (CodeFirst)
- How do you map two abstract InheritanceType.TABLE_PER_CLASS entities with a OneToMany relationship?
- Orchard model inheritance with Table-Per-Concrete-Type?
- Using JPARepository on Entity with Inheritancetype.TABLE_PER_CLASS result in wrong query
- Spring data JPA + TABLE_PER_CLASS polymorphic save one to many
- JPA Table per Class Inheritance with different Id names
- Hibernate inheritance with different primary key
- Hibernate inheritance (TABLE_PER_CLASS) table expansion
- TPC in Entity Framework v6
- Entity Framework TPC Foreign Key relationships
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?