It would be great if one can also define partioning on entities as annotations. There is such a feature in eclipse link: http://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/a_partitioned.htm I guess it might be the most common uses case beyond what is achievable with jpa annotations. From a testing/operational view it is convient if the Hibernate schema generator comes close to the desired schema without many manual changes. This not only allows a simple first setup, but also allows it to be used as a reference schema to compare against Flyway/Liquiebase/... migrations to check for missing columns, indics, etc. |