database - Can string be used for hibernate generator id tag type -


I am using hibernate to map my program to the table, in which the varChar value as its primary key I was wondering if it is possible to type type = "string" in place of long or any other number, for example

   & Lt; / Id & gt;  


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -