Springboot JPA连接SQL SERVER配置以及碰到的问题
com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 'xxxxx' 无效。我的是因为没有加这个dialect~~~~
spring:
  datasource:
    url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=haha
    username: sa
    password: sa
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  jpa:
    hibernate:
      dialect: org.hibernate.dialect.SQLServer2008Dialect
                    
                
                
            
        
浙公网安备 33010602011771号