Entity bean read-only methods

For entity beans that use bean-managed persistence, you can mark business methods that do not modify data. Doing so allows EAServer to skip calls to the ejbStore method after the business method returns. Performance improves through elimination of redundant database updates. Set this property using the Read Only option in the EAServer Method Properties dialog box. If using jagtool, set the method property com.sybase.jaguar.method.flags.

NoteRead-only methods in CMP entity beans When using EJB CMP entity beans, the persistence engine detects read-only method invocations. You do not need to set the Read Only method property. The ejbStore method is always called, but never performs data storage.