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
- Inheritance in Java, apparent type vs actual type
- Why does compiler recognize while(true) at compile time but not if(true)
- How to write tests for classes with inheritance
- How to make methods from parent class use a different variable?
- Why put methods on the prototype of a class instead of declaring them in the constructor?
- AbstractMethodError when mixing in trait nested in object - only when compiled and imported
- Inheritance and Polymorphism in C#
- WCF reusing types with inheritance - cannot generate client code
- Inherit jQuery-like pattern
- C++ inheritance, interfaces
- Visual C++ - Virtual method is not overriden
- Inheritance with base class constructor with parameters
- Access Parent Class without declaring property
- Class factory to create derived classes c++
- Child element not to inherit parent property (not style) in html
Related Questions in HIBERNATE-MAPPING
- bidirectional OneToOne parent/child behavoiur
- Unidirection OnetoOne mapping foreign primary key is not generating in child table
- Hibernate's bidirectional OneToOne relationship not working within the same class
- How to resolve Hibernate Table or view does not exist?
- How to fetch set of data using ID in hibernate if we have composite primary key?
- HQL to access the subclass object of @manytoOne fields
- Blocking Updating or Inserting an Entity when using Cascade in Hibernate
- Hibernate mapping for list which is in different class
- How to configure multiple Hibernate DataSources?
- How do I configure JPA table name at runtime?
- Hibernate returning Proxy for previously loaded entity
- Bug in Spring Data JPA: Spring Data returns List<BigInteger> instead of List<Long>
- Change hibernate relationship mapping (from unidirectional to bidirectional)
- Why JPA\Hibernate don't automatically create this mapped field?
- Fetching data only for specified mapping in HQL query
Related Questions in AUTO-GENERATE
- Script All Insert Satements of the table in sql server 2000
- Improve function that adds aliases to .bashrc from command line
- How does the hibernate GenerationType.AUTO work in Oracle?
- Verilog: Is there a way to make a generalized adder (variable width/number of inputs)?
- How to autogenerate imports or dynamically import in javascript
- Make list of functions with lapply
- Drop table and copy one table look alike in MYSQL weekly
- Spring Boot auto-generated data source with EmbeddedDatabase Derby leads to "Schema '<schema-name>' does not exist"
- How do I generate random sized panels? C#
- Trigger auto generation of field on new Entity (Doctrine in Symfony) / avoid Integrity constraint violation field cannot be null
- auto generate id to textbox and datagridview
- XAML child window subclass: "InitializeComponent shadows member in base class." How can I resolve this warning without modifying autogenerated code?
- How make toString() method return Super Class private fields also along with its instance fields?
- Image gallery in php: Pause reading of array of files, continue onclick
- Auto-generate LESS styles for sprite icons
Related Questions in JPA-2.1
- Bidirectional relationships in JPA
- How to use Constructor Mapping with Spring JPA Repositories
- jpa lazy return all element
- JPA TABLE_PER_CLASS Inheritance : abstract entity table created
- Setting up custom scheme using @DataJpaTest
- JPA 2.1 : Custom JPQL in CriteriaBuilder
- When scanning too many entity in jpa hibernate, glassfish startup very slow or memorry leak
- JPA - OneToMany persist - EntityExistsException
- JPA tries to insert the same entity twice in the database when using EJBs with PersistenceContext in EntityListener
- @OnDelete Hibernate annotation does not generate ON DELETE CASCADE for MySql
- SQLResultSetMapping is throwing exception in case of null columns
- How do I tell JPA CriteriaBuilder to order by the only column of data returned?
- EclipseLink Remove Cascade
- Call Oracle's native function (wm_concat) through query dsl
- Compare Long to String
Related Questions in TABLE-PER-CLASS
- NHibernate: Persisting subclassed entity to main table (table per class strategy issue)
- Hibernate: table per concrete class vs. table per subclass
- What is the best way to handle discriminator columns in PostgreSQL?
- How to improve performance in Hibernate polymorphic query when using table per class strategy?
- Entity Framework Table Per Concrete Type foreign key
- JPA2.0 How to map a collection of an entity with inheritance mapped by TABLE_PER_CLASS
- Table per-subclass strategy when populating a large tree from a database using NHibernate
- eclipselink asking for class indicator field when using InheritanceType.TABLE_PER_CLASS
- I want to implement inheritance strategy(TABLE_PER_CLASS) using discriminator column
- JPA: Why GenerationType.AUTO could not be used with InheritanceType.TABLE_PER_CLASS strategy
- Hibernate inheritance (TABLE_PER_CLASS) table expansion
- Entity Framework Code First - Inheritance - Related Items Collections
- Can you change from a base class to a joined subclass type in nhibernate?
- How-to: Mapping (NHibernate) multiple classes with different business logic from the same table?
- Entity Framework 6 says two entries have the same primary key, while they are in completely different tables
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 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?