Create java class that connect to MySQL database, has update and Select data functions implemented in it. functions should be able to take in table names, and entities and form a Query. then return a success or fail of the update Query. in case it fails it should return a proper error message of where it fails. For the Select function it should return the result and if it fails it should return fail.