|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=CLASS) @Target(value=java.lang.annotation.ElementType.TYPE) public @interface Entity
Required Element Summary | |
---|---|
String |
ejbName
Names this Entity bean. |
String |
primKeyClass
Names the Java class of the primary key. |
Optional Element Summary | |
---|---|
String |
abstractSchemaName
Gives the abstract schema name for this EJB. |
Constants.Bool |
cacheBetweenTransactions
(True|False) Specifies whether to cache the persistent data of an entity bean across (between) transactions. |
Constants.Bool |
checkExistsOnMethod
(True|False) Specifies whether the container checks for the existence of a bean for each method call. |
Constants.Bool |
clientsOnSameServer
(True|False) Specifies whether the clients are colocated with the EJB on the same server. |
Constants.Bool |
clusterInvalidationDisabled
cluster invalidation disabled |
Constants.ConcurrencyStrategy |
concurrencyStrategy
(ReadOnly|Exclusive|Database|Optimistic) Defines the concurrency strategy for this bean. |
Entity.DatabaseType |
databaseType
(DB2|Informix|Oracle|SQLServer|Sybase|PointBase|SQLServer2000) Specifies the database type of the underlying DBMS. |
String |
dataSourceName
Names the DataSource declared in config.xml. |
Constants.Bool |
dbIsShared
(True|False) |
String |
defaultDbmsTablesDdl
Specifies the DDL file name. |
Constants.TransactionAttribute |
defaultTransaction
(NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Sets the default transaction attribute to be applied to all methods that do not have a transaction attribute setting. |
Entity.DelayDatabaseInsertUntil |
delayDatabaseInsertUntil
(ejbCreate|ejbPostCreate) |
Constants.Bool |
delayUpdatesUntilEndOfTx
(True|False) Determines whether updates will be sent after the transaction has been committed. |
String |
disableWarning
A comma-separated line of warnings to disable when running ejbc. |
String |
dispatchPolicy
Specifies the dispatch policy queue for this bean. |
Constants.Bool |
enableBatchOperations
(True|False) Determines whether to perform batch operations. |
Constants.Bool |
enableCallByReference
(True|False) Specifies whether the container will call this EJB by reference. |
Constants.Bool |
enableDynamicQueries
(True|False) Specifies whether dynamic queries are enabled. |
Constants.Bool |
findersLoadBean
(True|False) If set to True, the beans will immediately be loaded into the cache by the finder. |
String |
homeCallRouterClassName
Names the class to be used for routing home method calls. |
Constants.Bool |
homeIsClusterable
(True|False) Determines whether this bean can be deployed from multiple servers in a cluster. |
Constants.HomeLoadAlgorithm |
homeLoadAlgorithm
(RoundRobin|Random|WeightBased|RoundRobinAffinity|RandomAffinity|WeightBasedAffinity) Specifies the algorithm to use for load-balancing between replicas of this home. |
String |
idleTimeoutSeconds
Sets the maximum duration an EJB should stay in the cache, in seconds. |
String |
initialBeansInFreePool
Specifies the initial number of beans in the free pool. |
Entity.InstanceLockOrder |
instanceLockOrder
(AccessOrder|ValueOrder) The locking order for this Entity bean. |
String |
invalidationTarget
Targets the ejb-name of a read-only Entity bean to be invalidated when this Container-Managed Persistence Entity EJB is modified. |
String |
lockOrder
Sets the database locking order of this bean when a transaction involves multiple beans. |
String |
maxBeansInCache
Sets the maximum number of beans in cache. |
String |
maxBeansInFreePool
Specifies the maximum number of beans in the free pool. |
String |
networkAccessPoint
|
String |
optimisticColumn
Specifies the column that holds the timestamp for optimistic concurrency. |
Constants.Bool |
orderDatabaseOperations
(True|False) Determines whether to sort the database operations. |
Entity.PersistenceType |
persistenceType
(cmp|bmp) Sets the type of this Entity bean (default: cmp). |
Constants.Bool |
primKeyClassNogen
(True|False) If this keyword is specified, EJBGen will not generate the primary key class (it is assumed that you are providing it). |
String |
readTimeoutSeconds
Sets the number of seconds between each ejbLoad() call on a read-only Entity bean. |
Constants.Bool |
reentrant
(True|False) |
String |
remoteClientTimeout
remote client timeout |
String |
runAs
Specifies the role-name for this EJB. |
String |
runAsIdentityPrincipal
Gives the name of the principal in case the role maps to several principals. |
String |
runAsPrincipalName
Gives the name of the principal in case the role maps to several principals. |
String |
tableName
Names the table to which this Entity bean is mapped. |
String |
timerPersistenceStore
Deprecated. Use Entity.timerPersistentStore() instead. |
String |
timerPersistentStore
|
String |
transTimeoutSeconds
Sets the transaction timeout (in seconds). |
String |
unknownPrimaryKeyField
|
Constants.Bool |
useCallerIdentity
(True|False) Determines whether or not this EJB uses the callers identity. |
Constants.Bool |
useSelectForUpdate
(True|False) If true, causes SELECT ... |
Entity.ValidateDBSchemaWith |
validateDbSchemaWith
(MetaData|TableQuery) Specifies the method used to validate the tables created by the EJB container. |
Entity.VerifyColumns |
verifyColumns
(Read|Modified|Version|Timestamp) Specifies how optimistic concurrency verifies that the columns have or have not been modified during transactions. |
Entity.VerifyRows |
verifyRows
(Read|Modified) Specifies the rows in a table that should be checked when optimistic concurrency is used. |
Element Detail |
---|
public abstract String ejbName
public abstract String primKeyClass
public abstract String tableName
public abstract Entity.VerifyRows verifyRows
public abstract Constants.Bool clientsOnSameServer
public abstract String invalidationTarget
public abstract Constants.Bool useCallerIdentity
public abstract Constants.Bool cacheBetweenTransactions
public abstract String defaultDbmsTablesDdl
public abstract Constants.TransactionAttribute defaultTransaction
public abstract Constants.Bool checkExistsOnMethod
public abstract String optimisticColumn
public abstract Constants.Bool orderDatabaseOperations
public abstract String runAsIdentityPrincipal
public abstract String runAsPrincipalName
public abstract Entity.DelayDatabaseInsertUntil delayDatabaseInsertUntil
public abstract Constants.Bool enableCallByReference
public abstract Entity.ValidateDBSchemaWith validateDbSchemaWith
public abstract String dispatchPolicy
public abstract String lockOrder
public abstract Constants.Bool findersLoadBean
public abstract Constants.ConcurrencyStrategy concurrencyStrategy
public abstract Entity.PersistenceType persistenceType
public abstract String maxBeansInCache
public abstract Constants.Bool primKeyClassNogen
public abstract String initialBeansInFreePool
public abstract Entity.VerifyColumns verifyColumns
public abstract String idleTimeoutSeconds
public abstract String transTimeoutSeconds
public abstract Constants.Bool enableBatchOperations
public abstract String maxBeansInFreePool
public abstract String disableWarning
public abstract String readTimeoutSeconds
public abstract Entity.DatabaseType databaseType
public abstract Constants.Bool reentrant
public abstract Constants.HomeLoadAlgorithm homeLoadAlgorithm
public abstract Constants.Bool delayUpdatesUntilEndOfTx
public abstract String runAs
public abstract String abstractSchemaName
public abstract Constants.Bool dbIsShared
public abstract Constants.Bool enableDynamicQueries
public abstract Constants.Bool homeIsClusterable
public abstract String dataSourceName
public abstract Constants.Bool useSelectForUpdate
public abstract Entity.InstanceLockOrder instanceLockOrder
public abstract Constants.Bool clusterInvalidationDisabled
public abstract String remoteClientTimeout
public abstract String homeCallRouterClassName
public abstract String networkAccessPoint
public abstract String unknownPrimaryKeyField
public abstract String timerPersistenceStore
Entity.timerPersistentStore()
instead.
public abstract String timerPersistentStore
|
Copyright 1996, 2013, 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.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |