Estou a praticamente uma semana tento testa o hibernate e não consgio sempre falta um arquivo ou uma classe.
Agora esta dando este erro:
13:38:26,467 INFO SettingsFactory:140 - cache provider: net.sf.ehcache.hibernate.Provider
13:38:26,547 INFO Configuration:1130 - instantiating and configuring caches
Exception in thread "main" java.lang.AbstractMethodError: net.sf.ehcache.hibernate.Provider.start(Ljava/util/Properties;)V
at net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1133)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:804)
at HiberTeste.currentSession(HiberTeste.java:47)
at MostraCategorias.main(MostraCategorias.java:18)
sendo que o meu arquivo hibernate.properties esta assim:
# hibernate.properties
## FireBrid
# driver interno do hibernate
hibernate.dialect net.sf.hibernate.dialect.FirebirdDialect
# driver JDBC do seu banco
hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver
# URL de acesso JDBC ao seu banco
hibernate.connection.url jdbc:firebirdsql:localhost/3050:C://banco//detec//DETEC.GDB
# usuário do banco de dados
hibernate.connection.username SYSDBA
# senha do banco de dados
hibernate.connection.password masterkey
# parametros restantes
hibernate.connection.pool_size 1
hibernate.query.substitutions true 1, false 0, yes 'Y', no 'N'
hibernate.proxool.pool_alias pool1
hibernate.jdbc.batch_size 0
hibernate.jdbc.use_streams_for_binary true
hibernate.max_fetch_depth 1
hibernate.cache.region_prefix hibernate.test
hibernate.cache.use_query_cache false
hibernate.cache.provider_class net.sf.ehcache.hibernate.Provider
#hibernate.show_sql true
o que esta faltando?
por favor!!!