Cannot run this command because Java services are not enabled
From EggeWiki
When connecting to Sybase via jconn3 and Spring 2.0, you receive the error:
Cannot run this command because Java services are not enabled
This can be caused by passing a char type as on of the arguments. Example:
char gender = 'M'; jdbcTemplate.queryForObject( "SELECT top 1 first_name from people where gender = ?", String.class, gender);
Fix: Simply convert the char to a String. I.e., String.valueOf(gender).


