hi,

a short question about transactions.

Is's good idea to set transactions for all get*() methods to Never i.e.:

    /**
     * Gets the permission_id attribute of the Acl_EntryBean object
     *
     * @return   The permission_id value
     *
     * @ejb.persistence
     *     column-name="permission_id"
     *     sql-type="permission_id"
     *     read-only="true"
     *
     * @ejb.transaction
     *     type="Never"
     */
    public abstract Integer getPermission_id();


Best Regards, Rafal



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to