Estou usando o Hibernate com anotações para fazer meu tcc so que ta dando o erro abaixo. Já conferir o mapeamento esta tudo correto, já adicionei todas as bibliotecas e nada. Me ajudem se possível estou desesperado… Obrigado
Hibernate: select this_.est_codigo as est1_0_0_, this_.est_cpf as est2_0_0_, this_.est_datafimcurso as est3_0_0_, this_.est_datainiciocurso as est4_0_0_, this_.est_datainscricacao as est5_0_0_, this_.est_matricula as est6_0_0_, this_.est_nome as est7_0_0_, this_.est_pagcarteira as est8_0_0_, this_.est_rg as est9_0_0_, this_.est_telefone as est10_0_0_, this_.est_utilizatransporte as est11_0_0_, this_1_.pon_codigo as pon1_4_0_, this_2_.estend_codigo as estend1_2_0_, this_3_.cur_codigo as cur1_1_0_, this_4_.oni_codigo as oni1_3_0_ from public.estudante this_ left outer join Ponto this_1_ on this_.est_codigo=this_1_.est_codigo left outer join enderecoestudante this_2_ on this_.est_codigo=this_2_.est_codigo left outer join Curso this_3_ on this_.est_codigo=this_3_.est_codigo left outer join Onibus this_4_ on this_.est_codigo=this_4_.est_codigo
Exception in thread “AWT-EventQueue-0” org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2231)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
at org.hibernate.loader.Loader.list(Loader.java:2120)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1596)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
at Visão.TelaEstudante.(TelaEstudante.java:51)
at Visão.TelaPrincipal.miestudanteActionPerformed(TelaPrincipal.java:547)
at Visão.TelaPrincipal.access$300(TelaPrincipal.java:23)
at Visão.TelaPrincipal$4.actionPerformed(TelaPrincipal.java:255)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at com.birosoft.liquid.LiquidMenuItemUI.doClick(LiquidMenuItemUI.java:492)
at com.birosoft.liquid.LiquidMenuItemUI$MouseInputHandler.mouseReleased(LiquidMenuItemUI.java:1161)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.postgresql.util.PSQLException: ERRO: coluna this_1_.est_codigo não existe
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1808)
at org.hibernate.loader.Loader.doQuery(Loader.java:697)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2228)
… 37 more