Require a name for Index annotations because managing indices without a name is

a pain in the ass that we don't particularly need to spend time on.
This commit is contained in:
Michael Bayne
2007-05-01 19:38:44 +00:00
parent 83148842ce
commit 55c4764192
@@ -33,7 +33,7 @@ import java.lang.annotation.Target;
public @interface Index
{
/** Defines the name of the index. */
String name () default "";
String name ();
/** Configures the type of this index if necessary. MySQL supports FULLTEXT, SPATIAL and
* UNIQUE. */