📄 deploymentdescriptor.txt
字号:
(EntityDescriptor
beanHomeName ProductHome
enterpriseBeanClassName com.wiley.compBooks.roman.entity.product.ProductBean
homeInterfaceClassName com.wiley.compBooks.roman.entity.product.ProductHome
remoteInterfaceClassName com.wiley.compBooks.roman.entity.product.Product
isReentrant false
(accessControlEntries
; DEFAULT [admin manager]
); end accessControlEntries
(controlDescriptors
(DEFAULT
isolationLevel TRANSACTION_SERIALIZABLE
transactionAttribute TX_REQUIRED
runAsMode CLIENT_IDENTITY
; runAsIdentity admin
); end isolationLevel
); end controlDescriptors
(environmentProperties
; application-specific properties
; end application-specific properties
; realmName "my.realm"
; homeClassName
; ejbObjectClassName
maxBeansInFreePool 20
maxBeansInCache 1000
idleTimeoutSeconds 5
isModifiedMethodName isModified
(finderDescriptors
"findByName(String name)" "(= name $name)"
"findByDescription(String description)" "(= description $description)"
"findByBasePrice(double basePrice)" "(= basePrice $basePrice)"
"findExpensiveProducts(double minPrice)" "(> basePrice $minPrice)"
"findCheapProducts(double maxPrice)" "(< basePrice $maxPrice)"
"findAllProducts()" "(= 1 1)"
; This is converted to a "findAllProducts" method
; in the generated persistent storage class, which
; returns an enumeration of beans of this class
; that satisfy this expression.
); end finderDescriptors
(persistentStoreProperties
persistentStoreType jdbc
; Note: the value of the persistentStoreType must be lowercase.
; persistentStoreClassName
(jdbc
tableName Products
dbIsShared false
poolName ejbPool
(attributeMap
; EJBean attribute Database column name
; -----------------------------------------
productID id
name name
description description
basePrice basePrice
); end attributeMap
); end jdbc
); end persistentStoreProperties
); end environmentProperties
; Entity EJBean-specific properties:
primaryKeyClassName com.wiley.compBooks.roman.entity.product.ProductPK
containerManagedFields [productID name description basePrice]
; end entity EJBean-specific properties.
); end EntityDescriptor
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -