* @throws SQLException
* @throws MalformedURLException
*/
@Test
public void prepared_statement_setters_81() throws SQLException, MalformedURLException {
JenaConnection conn = this.getConnection();
JenaPreparedStatement stmt = (JenaPreparedStatement) conn.prepareStatement("SELECT * WHERE { ?s ?p ? }");
Calendar c = Calendar.getInstance();
Time t = new Time(c.getTimeInMillis());
stmt.setObject(1, t, Types.JAVA_OBJECT);
ParameterizedSparqlString pss = stmt.getParameterizedString();
Assert.assertTrue(pss.toString().contains(Integer.toString(c.get(Calendar.HOUR_OF_DAY))));
Assert.assertTrue(pss.toString().contains(XSDDatatype.XSDtime.getURI()));
stmt.close();
conn.close();
}