|
I am trying to make a query using Jena ARQ as follows: static public final String NL = System.getProperty("line.separator") ; //some codes
//some codes Using this code my program works well. As we can see that I use constant filter values for height and diameter (6.0 and 0.5 respectively). However actually what I want is not a constant filter values. Instead I want variable filter values. This is similar to PreparedStatement in MySQL. I need this because the query must change dynamically based on user input. So, my question is: how can I make a query using variable filter value? Thanks. |
|
I personally think that in this situation if you have to make query using variable filter value you can build the query dynamically. |

