1
I’m trying to add a connection in Jasper Studio via the option "Hibernate Session" I added the . Hibernate jars, the Mysql Driver and I’ve uploaded the Hibernate.cfg.xml file, but still, I always have 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
Someone has some clue how to make these connections. I want to perform them to test the reports with HQL or JPQL queries instead of using SQL.
What is the version of the mysql driver you are using?
– Roknauta
The version is 5.1.35, but I’ve tried with 5.1.6 as well.
– romarcio