java planner(calendar and scheduler), plain sql queries + java SQL statements