I'm trying to add a connection in Jasper Studio via the "Hibernate Session" option I've added the Hibernate .jars, the MySQL Driver and set the hibernate.cfg.xml file, but I still have the access:
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/dbteste
I also tried the connection via "EJBQL". I added the .jars of libraries and a .jar with persistence.xml and my entities, but I always get the exception:
Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named JPAUnit
Does anyone have any tips on how to make these connections. I want to perform them to test reports with HQL or JPQL queries instead of using SQL.