weblogic.ejb
Interface QueryProperties
- All Known Subinterfaces:
- Query, WLQueryProperties
- public interface QueryProperties
- Author:
- Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
TX_REQUIRED
public static final short TX_REQUIRED
TX_REQUIRES_NEW
public static final short TX_REQUIRES_NEW
TX_MANDATORY
public static final short TX_MANDATORY
setTransaction
public void setTransaction(short value)
throws javax.ejb.FinderException
- Uses the standard EJB values: Required, RequiresNew, etc.
Default: Required
getTransaction
public short getTransaction()
throws javax.ejb.FinderException
setMaxElements
public void setMaxElements(int value)
throws javax.ejb.FinderException
- Sets the maximum number of results that can be returned.
Default: no limit
getMaxElements
public int getMaxElements()
throws javax.ejb.FinderException
setIncludeUpdates
public void setIncludeUpdates(boolean value)
throws javax.ejb.FinderException
- Used to specify whether any updates that have been made during the current
transaction will be reflected in the query result.
Default: updates from the current transaction are not included
getIncludeUpdates
public boolean getIncludeUpdates()
throws javax.ejb.FinderException
setResultTypeRemote
public void setResultTypeRemote(boolean value)
throws javax.ejb.FinderException
- Used to specify whether the results of the query will be EJBObjects
or EJBLocalObjects. This setting is only valid when an EJB with both
a local and remote client view is returned.
Default: false
isResultTypeRemote
public boolean isResultTypeRemote()
throws javax.ejb.FinderException