replaced raw jdbc with korma