Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Exception [EclipseLink-6094] : The parameter name ... does not match any....(ExceptionHandler for SQLServer)
Exception [EclipseLink-6094] : The parameter name ... does not match any.... [message #1073229] Wed, 24 July 2013 11:00
Clementi Ursula is currently offline Clementi UrsulaFriend
Messages: 6
Registered: July 2013
Junior Member
Hello

our application uses Ecliselink with SQLServer.

At one customer i get an concaternation of exception.

The problems startet with following Exception;

Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Die Anweisung wurde geschlossen.
Error Code: 0

I am sorry but the text is in german. I do not know if the StatementClosedException or the ConnectionClosed exception is meant.

After that i get a
"databaseaccessor not connected."
exception.

Because i have implemented an exceptionhandler for SQLServer i try to
reestablich the connection with

databaseException.getSession().getAccessor().reestablishConnection(databaseException.getSession());

This runs without exception, and i try to reexecute the query with

databaseException.getSession().executeQuery(databaseException.
getQuery());

This will raise the following exception.

The parameter name [P_OID] in the query's selection criteria does not match any parameter name defined in the query.


Any idea to solve this problem ?


Regards


Ursula



Previous Topic:Canonical model class is not working after changing the class name
Next Topic:Help for persist optimization
Goto Forum:
  


Current Time: Thu Apr 25 11:23:24 GMT 2024

Powered by FUDForum. Page generated in 0.03028 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top