Strabon

changeset 196:6a9493a4fe5e

add setDouble in evaluate()
author George Garbis <ggarbis@di.uoa.gr>
date Thu May 24 14:36:56 2012 +0300 (2012-05-24)
parents 3eb7ccfc4c37
children a92eae721a40
files monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java
line diff
     1.1 --- a/monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java	Thu May 24 14:35:27 2012 +0300
     1.2 +++ b/monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java	Thu May 24 14:36:56 2012 +0300
     1.3 @@ -68,6 +68,9 @@
     1.4  					if ( o instanceof String ) {
     1.5  						stmt.setString(++p, (String)o); // TODO this must be extended with all types 
     1.6  					}
     1.7 +					if ( o instanceof Double ){
     1.8 +						stmt.setDouble(++p, (Double)o); // TODO this must be extended with all types
     1.9 +					}
    1.10  					else {
    1.11  						stmt.setObject(++p, o);
    1.12  					}