openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kangkang <>
Subject need help !!! Embended OpenEjb3.1.x
Date Mon, 28 Feb 2011 19:31:30 GMT

our project uses GenericDao pattern in persistence layer. A DAO is sth like:

public class UserDAOBean extends GenericDAO<User, Long> implements UserDAO 

CRUD functions like persistence() merge() findbyid() etc. is in  GenericDAO

We use Embended OpenEjb to test DAO function but get followed Exception:

DEBUG - The following method doesn't have a transaction policy assigned:
public abstract java.lang.Object
DEBUG - finished invoking method merge. Return
DEBUG - finished invoking method call. Return value:null
FAILED: testCreateUser
java.lang.IllegalStateException: No tx on thread

we have installed openejb-javaagent-3.1.3.jar in maven pom.

need help!

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message