Pessoal boa tarde,
Eu começei com o Hibernate, gerei os entities, configurei e funciona tudo certinho, o problema é que quando estou na minha página e aciono um botão ele carrega toda vez umas informação de entities e namedquery’s entre outras coisas pra depois entrar no método que estou chamando no meu ManagedBean.
Ai fica impossível, deve estar faltando alguma configuração que eu não sei e não consegui achar na net.
o que ele exibe é o seguinte:
INFO: Binding entity from annotated class: br.com.entity.VendasEstoque
INFO: Bind entity br.com.entity.VendasEstoque on table vendas_estoque
INFO: Binding entity from annotated class: br.com.entity.Nivel
INFO: Bind entity br.com.entity.Nivel on table nivel
INFO: Binding entity from annotated class: br.com.entity.Usuarios
INFO: Bind entity br.com.entity.Usuarios on table usuarios
INFO: Binding entity from annotated class: br.com.entity.Menu
INFO: Bind entity br.com.entity.Menu on table menu
INFO: Binding entity from annotated class: br.com.entity.Vendas
INFO: Bind entity br.com.entity.Vendas on table vendas
INFO: Binding entity from annotated class: br.com.entity.Tarefa
INFO: Bind entity br.com.entity.Tarefa on table tarefa
INFO: Binding entity from annotated class: br.com.entity.Clientes
INFO: Bind entity br.com.entity.Clientes on table clientes
INFO: Binding entity from annotated class: br.com.entity.Produtos
INFO: Bind entity br.com.entity.Produtos on table produtos
INFO: Binding entity from annotated class: br.com.entity.Estoque
INFO: Bind entity br.com.entity.Estoque on table estoque
INFO: Mapping collection: br.com.entity.Menu.tarefaList -> tarefa
INFO: Mapping collection: br.com.entity.Vendas.vendasEstoqueList -> vendas_estoque
INFO: Mapping collection: br.com.entity.Clientes.vendasList -> vendas
INFO: Mapping collection: br.com.entity.Produtos.estoqueList -> estoque
INFO: Mapping collection: br.com.entity.Estoque.vendasEstoqueList -> vendas_estoque
INFO: Hibernate Validator not found: ignoring
WARNING: composite-id class does not override equals(): br.com.entity.VendasEstoquePK
WARNING: composite-id class does not override hashCode(): br.com.entity.VendasEstoquePK
Lembrando que toda a vez ele carrega essas coisas entreo outras antes de ir pro método q eu chamou, ou seja, o que eu bolei de começar transações, comitar e etc, funciona rápido, como vi no debug, mas msm colocando o breakpoint bem no inicio ele carrega isso tudo toda vez antes de entrar no método, alguém poderia me ajudar!!?!?
Abraços