![]() |
![]() |
|
| Index | Recent Threads | Unanswered Threads | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 3
|
|
| Author |
|
|
Newbie Joined: Aug 29, 2006 Post Count: 5 Status: Offline |
i want to call a stored procedure in my JDOQL-Statement like this: Query query = new Query(...) query.setFilter("userid == doAdd(1, 2)") doAdd should be a stored procedure which does something and gives an integer as a result. It is clear that JPOX says that it doesnt knows doAdd, but how can i tell JPOX that it should call the Stored Function doAdd. thx |
||
|
|
Expert UK Joined: Mar 13, 2004 Post Count: 5686 Status: Offline |
i want to call a stored procedure in my JDOQL-Statement like this: http://www.jpox.org/docs/1_1/query_sql.html ---------------------------------------- -Andy ![]() ![]() |
||
|
|
Newbie Joined: Aug 29, 2006 Post Count: 5 Status: Offline |
thank you for your quick answer. But on this link is only described how i call a single Stored Procedure, but i want to call the function within a select-query. query.setFilter("userid == doAdd(1, 2)") (doAdd should be the stored procedure (function)) how can i do that? |
||
|
|
|
|
|
Current timezone is GMT May 17, 2012 11:27:54 AM |