Using JPA with Rails on GlassFish and MySQL