从Hibernate抛出的信息看,是dialect参数没设置好,所以导致不能得到数据库连接

解决方案 »

  1.   

    我是这样配的
    ## MS SQL Serverhibernate.dialect net.sf.hibernate.dialect.SQLServerDialect
    hibernate.connection.username sa
    hibernate.connection.password 123## Microsoft Driver (not recommended!)
    hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver
    hibernate.connection.url jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=joy;SelectMethod=cursor
    有问题吗
    请问怎么解决?谢谢
      

  2.   

    把HIBERNATE自带的LOG4J文件复制到你的CLASS目录下
      

  3.   

    我用的是jbuilder
    我已经把log4j加到工程中去了阿
    为什么还不行呢?