mysql class function
java demo