• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Callling Stored Procedures from CMP

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
We are facing a strange problem here in calling stored procedures from a CMP bean using TYPE $ drivers , the container throws an javax.ejb.ObjectNotFoundException.
We are using JRun3.1 and the same code works fine when used with JDBC-ODBC Bridge.
This happens only in the finder methods, the stored procedure calls from remove() and store() methods work fine.
Does anyone know the reason for this, i have tried using three type 4 drivers - JTurbo, INet Opta and Data Direct drivers.
All of these have the same problem.
Any insight on this would be much appreciated.
Thanks in advance.
Prashanth
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CMP stands for container managed persistence. You shouldn't be calling any stored procedures.
 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will have to use BMP for using stored procedure.
 
reply
    Bookmark Topic Watch Topic
  • New Topic