I am developing an enterprise bean, and i am using the j2ee server provided with J2EE SDK Enterprise Edition.
I have some problems which I cannot solve:
- only findByPrimaryKey works: if I try and call findBySomeField and then call a business method like getField it returns only null values. Looking at the server output it looks like the container never calls ejbLoad or ejbStore.
- if I set transaction parameters as REQUIRED I receive the exception "Transaction aborted (possibly due to transaction timeout).
My bean is very similar to another one which perfectly works: since the only difference is the fact that the new one has some serializable types as fields I am thinking maybe this is the problem, even if the ejbCreate method works and correctly stores data in the database.