Ive made a stupid error in a production system.
I chose JOINED strategy instead of SINGLE TABLE, and performance is seriously taking a hit.
I need to switch stragies and make appropriate changes to the schema, cant believe i screwed this up.
I would really appreciate and need some advice on how best to proceed.
Hibernate 3.5.6, JPA 2.0, SPRING 3.0
Do you understand the differences between database structures used for both strategies?
Migration can be done with one
ALTER TABLEandINSERT INTO ... SELECTper each inherited entity. That’s it!