• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchEntityException with change of jdbc driver

Rohit Gupta
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I was using CMP in my web application to access MS SQLServer
7.0 database.Everything works fine, Now our company is moving to
SQLServer 2000 and when i try to update fields in my application
through CMP, I get No Such Entity Exception in EJBStore, though all
the reads through CMP are working well.
There is absolutely no change in my application except the drivers
used in connection pool.
The Database in SQLServer 7.0 is running on default port:80 and its
named as (sqldev01). With SQLServer 7.0 I was using the driver
'weblogic.jdbc.mssqlserver4.Driver' and url is
The database in SQLServer 2000 is running as an instance server
(sqldev01\\srvapps) on a given port say 1903. With SQLServer 2000 we
are using 'weblogic.jdbc.sqlserver.SQLServerDriver' and url is
'jdbc:bea:sqlserver://sqldev01\ srvapps:1433'
Any help would be appreciated.
here is the stack trace ...
Exception while commiting Tx : Name=[EJB
back. [Reason=javax.ejb.NoSuchEntityException: [EJB:010142]Instance of
EJB 'LoanInfo' with primary key '61058' does not exist.]
,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since
begin=1,seconds left=30,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=myserver),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@172be65),SCInfo[certification+myserver]=(state=rolledback),properties=({weblogic.transaction.name=[EJB
javax.ejb.NoSuchEntityException: [EJB:010142]Instance of EJB
'LoanInfo' with primary key '61058' does not exist.
[ February 07, 2004: Message edited by: Rohit Gupta ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic