add jpa and mysql support