Ola a todos,
Bom estou com o seguinte problema, baixei as libs do Hibernate juntamente com o Hibernate Annotations, configurei um projeto, criei uma classe anotada, porem quando gero o meu main que tem como objeto pegar a configuracao e gerar o banco de acordo com a classe anotada da sempre este execção
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect.
at org.hibernate.dialect.Dialect.instantiateDialect(Dialect.java:232)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:210)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:225)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:86)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:61)
at Main.main(Main.java:16)
Detalhe, ja testes com todos os dialects que o hibernate tem para o Mysql, estou usando o Mysql 5, alguem sabe o que pode estar acontecendo.
Att,