Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.ejbgen
Annotation Type Finder


@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface Finder


Optional Element Summary
 String cachingName
          Specifies the name of an eager relationship caching.
 String comment
          Defines a comment that will be reproduced above the generated finder Java method.
 String ejbQl
          Specifies the EJB QL request as it will appear in the deployment descriptor.
 Finder.GenerateOn generateOn
          (Local|Remote) Determines which Home this finder will be generated on.
 String groupName
          Names the group for the WebLogic Server query.
 String id
          The identity of this tag (used for tag inheritance only).
 Constants.Bool includeUpdates
          (True|False) Determines whether updates made during the current transaction must be reflected in the result of a query.
 Constants.IsolationLevel isolationLevel
          (TransactionSerializable|TransactionReadCommitted|TransactionReadUncommitted|TransactionRepeatableRead) Specifies the type of transaction isolation for this method.
 String maxElements
          Specifies the maximum number of elements that should be returned by a multi-valued query.
 String signature
          Specifies exactly the signature to be generated on the Home class.
 Constants.Bool sqlSelectDistinct
          (True|False) Determines whether the generated SQL SELECT will contain a DISTINCT qualifier.
 Constants.TransactionAttribute transactionAttribute
          (NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Specifies the transaction attribute for this local method.
 String weblogicEjbQl
          Specifies the Weblogic Server EJB QL request as it will appear in the deployment descriptor.
 

isolationLevel

public abstract Constants.IsolationLevel isolationLevel
(TransactionSerializable|TransactionReadCommitted|TransactionReadUncommitted|TransactionRepeatableRead) Specifies the type of transaction isolation for this method.

Default:
weblogic.ejbgen.Constants.IsolationLevel.UNSPECIFIED

transactionAttribute

public abstract Constants.TransactionAttribute transactionAttribute
(NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Specifies the transaction attribute for this local method. If not specified, the default transaction attribute will be used. Methods with this tag will be generated on the Local class.

Default:
weblogic.ejbgen.Constants.TransactionAttribute.UNSPECIFIED

generateOn

public abstract Finder.GenerateOn generateOn
(Local|Remote) Determines which Home this finder will be generated on. If unspecified, it will be generated on both.

Default:
weblogic.ejbgen.Finder.GenerateOn.UNSPECIFIED

comment

public abstract String comment
Defines a comment that will be reproduced above the generated finder Java method.

Default:
"UNSPECIFIED"

id

public abstract String id
The identity of this tag (used for tag inheritance only).

Default:
"UNSPECIFIED"

cachingName

public abstract String cachingName
Specifies the name of an eager relationship caching.

Default:
"UNSPECIFIED"

groupName

public abstract String groupName
Names the group for the WebLogic Server query.

Default:
"UNSPECIFIED"

maxElements

public abstract String maxElements
Specifies the maximum number of elements that should be returned by a multi-valued query.

Default:
"UNSPECIFIED"

signature

public abstract String signature
Specifies exactly the signature to be generated on the Home class. EJBGen will add the conformant exceptions, but you must specify the fully qualified type of each parameter, even if it belongs to java.lang.

Default:
"UNSPECIFIED"

sqlSelectDistinct

public abstract Constants.Bool sqlSelectDistinct
(True|False) Determines whether the generated SQL SELECT will contain a DISTINCT qualifier.

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

includeUpdates

public abstract Constants.Bool includeUpdates
(True|False) Determines whether updates made during the current transaction must be reflected in the result of a query.

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

ejbQl

public abstract String ejbQl
Specifies the EJB QL request as it will appear in the deployment descriptor.

Default:
"UNSPECIFIED"

weblogicEjbQl

public abstract String weblogicEjbQl
Specifies the Weblogic Server EJB QL request as it will appear in the deployment descriptor. Note: if this request is needed, enclose both EJB-QL and Weblogic Server EJB-QL within double quotes.

Default:
"UNSPECIFIED"

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02