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 - sscanf() double showing zeros -

command line - Python: find current directory of remote "cmd.exe" processes -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -