Edit : I also have a date error, as you can see i have a date parameter (i supposed that is a java.util.Date).
to use it in my tOracleInput i tried :
"SELECT * FROM X.Orders WHERE orderDate >= '" + (new java.sql.Date(((Date)globalMap.get("vGetOrders.after")).getTime())) + "'
But he return me an error cause the java.sql.Date is convert to string and he return 2016-01-01 instead of comparing the sql date with the oracle date.
Thanks you in advance,
CSen.
Hi, in this case have a single mapping only, then have a filter may be that will either get all orders or orders by id/provider, depending on whether id/provider is not empty.
The query parameters are not used in the JAX-RS matching algorithm, hence when you have 3 methods with the identical HTTP Verb and Path values, the selection is random or as in this case, the 1st matching method gets selected
HTH, Sergey