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

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -