]
Diego Pires Plentz updated ANN-538:
-----------------------------------
Component/s: binder
Give @IndexColumn a default name
--------------------------------
Key: ANN-538
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-538
Project: Hibernate Annotations
Issue Type: Improvement
Components: binder
Affects Versions: 3.2.1
Reporter: Sven Meier
Priority: Minor
It would be great, if the @IndexColumn annotation had a default 'name'.
This would support users (e.g. me ;) in their effort to keep persistence annotations
clear of database specifics. Additionally @IndexColumn is a rather often used annotation
and it's tedious to repeat the same information (i.e. the 'name') over and
over again.
I'd propose 'hibernate_index', similar to the defaults in
net.sf.hibernate.id.TableGenerator.
Preferably this default would come from NamingStrategy, but I'm not sure how stable
this interface is supposed to be.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: