• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!