; Copyright (c) 1998-1999 by BEA WebXpress. All Rights Reserved. (EntityDescriptor beanHomeName oracle.OracleHome enterpriseBeanClassName examples.ejb.sequence.oracle.OracleBean homeInterfaceClassName examples.ejb.sequence.oracle.OracleHome remoteInterfaceClassName examples.ejb.sequence.oracle.Oracle isReentrant false (accessControlEntries ; DEFAULT [admin manager] ); end accessControlEntries (controlDescriptors (DEFAULT isolationLevel TRANSACTION_SERIALIZABLE transactionAttribute TX_REQUIRED runAsMode CLIENT_IDENTITY ; runAsIdentity admin ); end DEFAULT ); end controlDescriptors (environmentProperties ; homeClassName ; ejbObjectClassName maxBeansInFreePool 20 maxBeansInCache 1000 idleTimeoutSeconds 5 (finderDescriptors "findAccount(double salaryEqual)" "(= salary $salaryEqual)" ; This is converted to a "findAccount" method in ; the generated persistent storage class, which returns ; returns a bean of this class that satisfies this expression. ); end finderDescriptors (persistentStoreProperties persistentStoreType jdbc ; Note: the value of the persistentStoreType must be lowercase. ; persistentStoreClassName (jdbc tableName emp dbIsShared false poolName oraclePool (attributeMap ; EJBean attribute Database column name ; ----------------------------------------- accountId empno salary sal ); end attributeMap ); end jdbc ); end persistentStoreProperties ; Application-specifc property ; Name of the sequence that generates the AccountIDs sequenceName ejbSequence ; Number of IDs to cache at a time ; in practice, this would probably be much larger creationRange 4 ); end environmentProperties ; Entity EJBean-specific properties: primaryKeyClassName examples.ejb.sequence.oracle.OraclePK containerManagedFields [accountId salary] ; end entity EJBean-specific properties. ); end EntityDescriptor