mohammed nasri

Greenhorn
+ Follow
since Nov 19, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by mohammed nasri

Hi,

I am developping an application using EJB2.1, all things are good, except the entity beans, I don't know why they are not inserted into my DB.
I'm trying to map my table "Department", with xdoclet 1.2.2 I have generate these classes :

On server Side :
DepartmentEntityEJB
DepartmentEntityEJBBean
DepartmentEntityEJBCMP

On User Side :
DepartmentEntityEJBData
DepartmentEntityEJBHome
DepartmentEntityEJBLocal
DepartmentEntityEJBLocalHome
DepartmentEntityEJBUtil
And I have added DepartmentEntityEJB interface.

I deploy, the server logs : 16:00:14,093 INFO [EjbModule] Deploying DepartmentEJB

On User side, I have :



My ejbCreate methode :


my ejb-jar.xml :


When I run, I don't have any runtime error, the server print : I a inserting a object ...
But any department object was inserted in my table.

is there any relation with transaction management ? is my abstract schema name badly configured, ....

Please, Help.