jpa - Hibernate : programmatically adding an index -


how can add index database column definition of property.

pseudo code like,

//iterate through mappings of persistent classes.  if(entityclass instanceof myclass) {    // version property of class   // make sure index added in schema column } 

is possible ? using jpa hibernate persistent provider


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -