I have a web development project using local install of Tomcat 7
. I am trying to connect to SQL Server 2012
using Microsoft\'s driver for jdbc (
I think you need to be registered on the dialect class: org.hibernate.dialect.SQLServer2012Dialect
if it were spring project, it is connected to a file application.properties:
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.jpa.database-platform=org.hibernate.dialect.SQLServer2012Dialect
spring.datasource.url=jdbc:sqlserver:database;user=sa;password=password;
spring.datasource.username=sa
spring.datasource.password=password
but here it will be exactly like I do not remember