rawSQL plugin strange behaviour

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

rawSQL plugin strange behaviour

Postby Janssenjos » Fri Mar 15, 2024 3:15 pm

We are having problems with execution of stored procedures.
Does someone have a hint, where to look what goes wrong?

Code: Select all
var _sp = "exec axspTest @parameter= ?";
var _args = [12]
var _typeIO = [0]
var _return = plugins.rawSQL.executeStoredProcedure("abs_web", _sp, _args, _typeIO, 1);


The @parameter dissapears in the invoke of the procedure.

If I do a sql trace, it executes it as:

RPC:Starting exec axspTest 12

Strange thing is, when I debug it on our development, with same db/user, it does it correctly as:
RPC:Starting exec axspTest @parameter=12
Also with another servoy server instance: it also works correcly like that.

Only thing that is different is the Servoy version.
Could there be a bug or something changed?

It goes wrong in:
- Servoy version 2023.12.2 -releaseNumber 3924 (builddate: 2024-02-07 11:31)

It works in:
-Servoy version 2023.6.0 -releaseNumber 3883 (builddate: 2023-06-30 16:19)
- Servoy version 2023.9.0 -releaseNumber 3902 (builddate: 2023-09-27 15:31)

We really need to be able to specify the parameter
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: rawSQL plugin strange behaviour

Postby mboegem » Fri Mar 15, 2024 4:33 pm

Hi Jos,

which database are you using?
Did you try using the jdbc connector version from .9 in .12?
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1752
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: rawSQL plugin strange behaviour

Postby Janssenjos » Fri Mar 15, 2024 5:13 pm

We are using sql server 2019.

And we tried an older version what you suggested, and this solves our problem!
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: rawSQL plugin strange behaviour

Postby mboegem » Sun Mar 17, 2024 5:25 pm

Still interesting to know why it was updated, and why it breaks.
You might want to raise a case for this in JIRA
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1752
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 18 guests