aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Entity Bean not inserted in my table ... no runtime error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Entity Bean not inserted in my table ... no runtime error" Watch "Entity Bean not inserted in my table ... no runtime error" New topic
Author

Entity Bean not inserted in my table ... no runtime error

mohammed nasri
Greenhorn

Joined: Nov 19, 2009
Posts: 1
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Entity Bean not inserted in my table ... no runtime error
 
Similar Threads
web.xml error
Entity EJB & env-entry problem with WebLogic7
JBoss Primary Key Generation
My Entity beans are not saved (stored) on data base
How to do lookup for local ejb's in WSAD?