Hibernate: Unable to load class declared in Hibernate configuration entry

后端 未结 10 1314
野趣味
野趣味 2021-01-21 01:03

I am completely new in Hibernate and got such an stacktrace:

hql> from TracksEntity 
[2014-04-26 21:13:45] org.hibernate.MappingException: Unable to load clas         


        
10条回答
  •  臣服心动
    2021-01-21 01:14

    write in this pattern
    
     
    
        com.mysql.jdbc.Driver
        jdbc:mysql://localhost:3306/dairy
        
        root
        root
        10
        true
        org.hibernate.dialect.MySQLDialect
        thread
    
        
        
        
    
    
    

    and also no need to mention scema

提交回复
热议问题