Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  *  Copyright 2009-2014 Pavel Ponec
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
  *  You may obtain a copy of the License at
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
package org.ujorm.orm.annot;
View is a description of database view. Use it simillary like a table.

See also:
public @interface View {

A named parameter for the view name. Default value is taken from a relation key name.
    String name() default .;
A shortcut for the attribute "name" of View.

See also:
    String value() default .;
View alias name. The default value is taken from a name.
    String alias() default .;
Mapping a VIEW to the SQL SELECT. The expession ${SCHEMA} is replaced for the real schema name in the SQL sttatement.

See also:
    String  select() default .;
Name of schema. If the value is empty than a default database schema is used.
    String schema() default .;
New to GrepCode? Check out our FAQ X