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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -