Label:Exception in thread "main" org.hibernate.HibernateException:Access toDialectresolutioninfo cannot is null when ' hibernate.dialect ' not setThe program basically hasn't moved.,previously used version of the 3.3.2,after today's change to 4.3.4 's version,,changed the method of Sessionfactory generation,the rest is unchanged.,You can start running .,It's about 30min .,you can't run it! Hibernate4 has abandoned the original buildsessionfactory, use the following, no problem.Configuration cf
These two days with a database link pool, there is a problem on my computer to run is very good no problem, but switched to a colleague on the computer on the show "Cannot create JDBC driver of class" for connect URL ' null ' "very depressed, not had finally settled.
My Computer environment: Myeclipse10 +apache-tomcat-6.0.37
Colleague Environment: myeclipse8.5 +apache-tomcat-6.0.37
My server.xml:
Colleag
DBCP Connection Pool configuration
About DBCP Connection pool The specific use of the method also need to refer to: Click to open the link dbcp jar package
Commons-dbpc.jar, Commons-collections.jar, commons-pool.jar download click to downloadc3p0 Connection Pool configuration
For more information on C3P0 connection pooling use: Click to open linkc3p0 jar Package
C3p0-0.9.2.jar Download Click to downloadjdbc-pool Connection Pool configuration
Pre-defined interceptors: Org.apache.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.