This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of DevSecOps Adventures: A Game-Changing Approach with Chocolate, LEGO, and Coaching Games and have Dana Pylayeva on-line!
See this thread for details.
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic