basic example of stored procedure connecting to Java