blackboard.persist.impl.mapping.annotation
Annotation Type Table


@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Table

Annotation indicating the table name in the database that a particular object maps to.

Since:
Bb 7.3
Version:
$Revision: #1 $ $Date: 2007/06/27 $

Required Element Summary
 java.lang.String value
          The name of the table that the object maps to in the database.
 
Optional Element Summary
 java.lang.String alias
          The default table alias to use in the generated map.
 

Element Detail

value

public abstract java.lang.String value
The name of the table that the object maps to in the database.

alias

public abstract java.lang.String alias
The default table alias to use in the generated map. Typically only used in sub-query conditions.

Default:
""


Copyright © 2003 Blackboard, Inc. All Rights Reserved.