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.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2097 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-05-01 19:38:44 +00:00
parent 17c9fbedc5
commit 3e6d8e5afb
@@ -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. */