hibernate - another auto generated field which is not the ID -


I want to create another autogunated field in my class.
I followed this unanswered question - no success

I need a more simple thing - I want my second area - like @ID @ autozenited Is there a way to do this to get the price?

Try this kind of example. Validated: incorrect, updating = false) private integer column; @ generatedValue (strategy = detection) @ column (name = "columnname", exclusive = true, empty = false, insertable;

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -