Note the following corrections and newly documented properties:
com.sybase.jaguar.component.load The documented value afterBegin is not valid. If included in the list of values, this value is ignored.
The default value of beforeInvoke,beforeRemove is required for EJB 2.0 compliance and is safe for all compliant entity bean implementations. If your implementation of ejbRemove does not require any field values other than the primary key, you can remove beforeRemove from the value. Doing so improves performance by eliminating unnecessary database queries.
com.sybase.jaguar.component.store The default value of afterCreate,afterInvoke is required for EJB 2.0 compliance and is safe for all compliant entity bean implementations
If you insert values in the ejbCreate method, and do not modify any field values in the ejbPostCreate method, you can safely remove afterCreate from the setting. Doing so improves performance by eliminating redundant updates to the database.
You can use the beforeCompletion setting rather than afterInvoke if all updates to one table come from one entity bean, and you do not mind if finder methods return stale values because updates are deferred during a transaction. While this setting yields the best performance, you may get the wrong result with architectures where more than one component can update a table, for example, if two entity beans in one transaction update the same table, or if updates from session and entity beans are mixed in one transaction.
com.sybase.jaguar.component.timestamp This component property is documented incorrectly. This property specifies the concurrency control model used to avoid conflicting updates from entity components that use automatic persistence. The syntax matches the Timestamp field on the Persistence/General subtab of the Component Properties dialog box. See Chapter 25, “Managing Persistent Component State” in the EAServer Programmer’s Guide for more information.
com.sybase.jaguar.component.state.ts This component property is not used by EAServer.
com.sybase.jaguar.conncache.replaceorwithcolon If this property is set to true, pipe characters, ‘|’, in the server URL for JDBC connection caches are replaced with ‘:’ before calling the JDBC driver’s setServerName() method.
com.sybase.jaguar.server.jvm.displayOptions To instruct EAServer to write the current JVM properties to
the serverName.log server log, set the new server
property com.sybase.jaguar.server.jvm.displayOptions to true
;
the default value is false.
com.sybase.jaguar.server.jvm.options This is a correction for the com.sybase.jaguar.server.jvm.options property. To set the property to multiple values, separate the values with commas; for example:
com.sybase.jaguar.server.jvm.options=value1,value2
To set the property to a value that includes commas, wrap the value in single quotes; for example:
com.sybase.jaguar.server.jvm.options='value1, with a comment'
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |