alguém sabe como solucionar esse erro…meu hibernate é o 3.0 meu banco é mysql 5.0…
2 [AWT-EventQueue-0] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.CR1
06/10/2008 11:08:48 org.hibernate.cfg.Environment
INFO: Hibernate 3.2.6
06/10/2008 11:08:48 org.hibernate.cfg.Environment
INFO: hibernate.properties not found
06/10/2008 11:08:48 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
06/10/2008 11:08:48 org.hibernate.cfg.Environment
INFO: using JDK 1.4 java.sql.Timestamp handling
122 [AWT-EventQueue-0] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.1.0.CR1
205 [AWT-EventQueue-0] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: Classes.Usuario
258 [AWT-EventQueue-0] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity Classes.Usuario on table Usuario
314 [AWT-EventQueue-0] INFO org.hibernate.cfg.AnnotationConfiguration - Hibernate Validator not found: ignoring
06/10/2008 11:08:48 org.hibernate.connection.UserSuppliedConnectionProvider configure
WARNING: No connection properties specified - the user must supply JDBC connections
Exception in thread “AWT-EventQueue-0” java.lang.ExceptionInInitializerError
at TELAS.TelaUsuario.jButton1ActionPerformed(TelaUsuario.java:114)
at TELAS.TelaUsuario.access$0(TelaUsuario.java:109)
at TELAS.TelaUsuario$1.actionPerformed(TelaUsuario.java:69)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:854)
at Classes.HibernateUtil.(HibernateUtil.java:12)