BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.ejb
Interface WLQueryProperties

All Superinterfaces:
QueryProperties

public interface WLQueryProperties
extends QueryProperties

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
static String GROUP_NAME
           
static String ISOLATION_LEVEL
           
static int NONE
           
static int READ_COMMITTED
           
static int READ_COMMITTED_FOR_UPDATE
           
static int READ_UNCOMMITTED
           
static String RELATIONSHIP_CACHING_NAME
           
static int REPEATABLE_READ
           
static int SERIALIZABLE
           
static String SQL_SELECT_DISTINCT
           
 
Fields inherited from interface weblogic.ejb.QueryProperties
TX_MANDATORY, TX_REQUIRED, TX_REQUIRES_NEW
 
Method Summary
 String getFieldGroupName()
           
 int getIsolationLevel()
           
 String getRelationshipCachingName()
           
 boolean getSQLSelectDistinct()
           
 String getSqlShapeName()
           
 void setFieldGroupName(String value)
          Used to specify which CMP field group will be loaded upon execution of the find method.
 void setIsolationLevel(int value)
          Used to set the isolation level that should be used for the dynamic query.
 void setRelationshipCachingName(String cachingName)
           
 void setSQLSelectDistinct(boolean value)
          Used to control whether the generated SQL 'SELECT' will contain a 'DISTINCT' qualifier.
 void setSqlShapeName(String value)
           
 
Methods inherited from interface weblogic.ejb.QueryProperties
getEnableQueryCaching, getIncludeUpdates, getMaxElements, getTransaction, isResultTypeRemote, setEnableQueryCaching, setIncludeUpdates, setMaxElements, setResultTypeRemote, setTransaction
 

Field Detail

GROUP_NAME

public static final String GROUP_NAME
See Also:
Constant Field Values

ISOLATION_LEVEL

public static final String ISOLATION_LEVEL
See Also:
Constant Field Values

NONE

public static final int NONE
See Also:
Constant Field Values

READ_COMMITTED

public static final int READ_COMMITTED
See Also:
Constant Field Values

READ_COMMITTED_FOR_UPDATE

public static final int READ_COMMITTED_FOR_UPDATE
See Also:
Constant Field Values

READ_UNCOMMITTED

public static final int READ_UNCOMMITTED
See Also:
Constant Field Values

RELATIONSHIP_CACHING_NAME

public static final String RELATIONSHIP_CACHING_NAME
See Also:
Constant Field Values

REPEATABLE_READ

public static final int REPEATABLE_READ
See Also:
Constant Field Values

SERIALIZABLE

public static final int SERIALIZABLE
See Also:
Constant Field Values

SQL_SELECT_DISTINCT

public static final String SQL_SELECT_DISTINCT
See Also:
Constant Field Values
Method Detail

getFieldGroupName

public String getFieldGroupName()
                         throws FinderException
Throws:
FinderException

getIsolationLevel

public int getIsolationLevel()
                      throws FinderException
Throws:
FinderException

getRelationshipCachingName

public String getRelationshipCachingName()
                                  throws FinderException
Throws:
FinderException

getSQLSelectDistinct

public boolean getSQLSelectDistinct()
                             throws FinderException
Throws:
FinderException

getSqlShapeName

public String getSqlShapeName()
                       throws FinderException
Throws:
FinderException

setFieldGroupName

public void setFieldGroupName(String value)
                       throws FinderException
Used to specify which CMP field group will be loaded upon execution of the find method. Default: The default field group (all fields)

Throws:
FinderException

setIsolationLevel

public void setIsolationLevel(int value)
                       throws FinderException
Used to set the isolation level that should be used for the dynamic query. Default: database default

Throws:
FinderException

setRelationshipCachingName

public void setRelationshipCachingName(String cachingName)
                                throws FinderException
Throws:
FinderException

setSQLSelectDistinct

public void setSQLSelectDistinct(boolean value)
                          throws FinderException
Used to control whether the generated SQL 'SELECT' will contain a 'DISTINCT' qualifier. Use of the DISTINCT qualifier will cause the RDBMS to return unique rows. Default: False

Throws:
FinderException

setSqlShapeName

public void setSqlShapeName(String value)
                     throws FinderException
Throws:
FinderException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.