; Copyright (c) 1998-1999 by BEA WebXpress. All Rights Reserved. (EntityDescriptor beanHomeName jdbc.AutoAccountHome enterpriseBeanClassName examples.ejb.sequence.jdbc.AutoAccountBean homeInterfaceClassName examples.ejb.sequence.jdbc.AutoAccountHome remoteInterfaceClassName examples.ejb.sequence.jdbc.AutoAccount 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 balanceEqual)" "(= balance $balanceEqual)" ; 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 ejbAccounts dbIsShared false poolName demoPool (attributeMap ; EJBean attribute Database column name ; ----------------------------------------- accountId id balance bal ); end attributeMap ); end jdbc ); end persistentStoreProperties ; Application-specifc property ; Name of the table that holds the AccountIDs idTable idGenerator ; Number of IDs to cache at a time creationRange 4 ); end environmentProperties ; Entity EJBean-specific properties: primaryKeyClassName examples.ejb.sequence.jdbc.AutoAccountPK containerManagedFields [accountId balance] ; end entity EJBean-specific properties. ); end EntityDescriptor