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

Part Number E27170-01

weblogic.ejbgen
Annotation Type EntityCacheRef


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


Required Element Summary
 Constants.ConcurrencyStrategy concurrencyStrategy
          (ReadOnly|Exclusive|Database) Defines the concurrency strategy for this bean.
 String name
          Names the cache.
 
Optional Element Summary
 Constants.Bool cacheBetweenTransactions
          (True|False) Sets whether to cache the persistent data of an entity bean across (between) transactions.
 String estimatedBeanSize
          Specifies the estimated average size of the instances of an entity bean, in bytes.
 int idleTimeoutSeconds
           
 int readTimeoutSeconds
           
 

Element Detail

concurrencyStrategy

public abstract Constants.ConcurrencyStrategy concurrencyStrategy
(ReadOnly|Exclusive|Database) Defines the concurrency strategy for this bean.


name

public abstract String name
Names the cache.

idleTimeoutSeconds

public abstract int idleTimeoutSeconds
Default:
0

readTimeoutSeconds

public abstract int readTimeoutSeconds
Default:
0

cacheBetweenTransactions

public abstract Constants.Bool cacheBetweenTransactions
(True|False) Sets whether to cache the persistent data of an entity bean across (between) transactions.

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

estimatedBeanSize

public abstract String estimatedBeanSize
Specifies the estimated average size of the instances of an entity bean, in bytes.

Default:
"UNSPECIFIED"

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-01