Olha eu de novo aqui tretando com o Hibernate… Dessa vez ele ta dando esse erro:
Mar 18, 2013 12:35:43 PM org.hibernate.util.JDBCExceptionReporter logExceptions
Advertência: SQL Error: 0, SQLState: 42883
Mar 18, 2013 12:35:43 PM org.hibernate.util.JDBCExceptionReporter logExceptions
Grave: ERRO: operador não existe: bigint = bytea
Dica: Nenhum operador corresponde com o nome e o(s) tipo(s) de argumento(s) informados. Você precisa adicionar conversões de tipo explícitas.
Posição: 522
Mar 18, 2013 12:36:18 PM org.hibernate.util.JDBCExceptionReporter logExceptions
Advertência: SQL Error: 0, SQLState: 42883
Mar 18, 2013 12:36:18 PM org.hibernate.util.JDBCExceptionReporter logExceptions
Grave: ERRO: operador não existe: bigint = bytea
Dica: Nenhum operador corresponde com o nome e o(s) tipo(s) de argumento(s) informados. Você precisa adicionar conversões de tipo explícitas.
Posição: 549
Exception in thread "AWT-EventQueue-0" org.hibernate.exception.SQLGrammarException: could not retrieve snapshot: [br.inf.topsoft.Model.tab_ende#2c6d8085f3f2809de2f2aee9eee6aef4eff0f3efe6f4aecdefe4e5ecaef4e1e2dff0e1f2e3f62a5797650d83ae828094cc8087e3e1e4f0e1f2e3f48090cceae1f6e1aff5f4e9ecafc4e1f4e5bbcc8087e3e1f4dfe3eee8f48092cceae1f6e1afece1eee7afd3f4f2e9eee7bbcc8087e3eee8f0e1f2e3f180fe8082cc8087e3eef0f0e1f2e3f180fe8082cc8087e3efe4e6e9ece9f180fe8082cc8087e3efe4efe3f5f0f48093cceae1f6e1afece1eee7afc9eef4e5e7e5f2bbcc8087e3efe4f0e1f2e3f180fe8083cc8087e3f4f0f0e1f2e3f180fe8082cc8087e5ede1f0e1f2e3f180fe8082cc8087e5f3f4e3e9f6e9f180fe8082cc8087e6e7e5f0e1f2e3f48091cceae1f6e1afece1eee7afd3e8eff2f4bbcc8087e8efedf0e1f2e3f180fe8082cc8087eee1e3f0e1f2e3f180fe8082cc8087eee1f3f0e1f2e3f180fe8081cc8087eee1f4f0e1f2e3f180fe8082cc8087eeefedf0e1f2e3f180fe8082cc8087efe2f3f0e1f2e3f180fe8082cc8087f0e5f3f0e1f2e3f48095cceae1f6e1afece1eee7afc3e8e1f2e1e3f4e5f2bbcc8087f2e5e7f0e1f2e3f180fe8082cc8087f3e5f8f0e1f2e3f180fe8085f8f0f0f0f0f48089b1b2b3b1b3b2b1b2b3f48083b0b0b1f0f3f28091eae1f6e1aeece1eee7aec9eef4e5e7e5f292622024770107b8828081c98085f6e1ecf5e5f8f28090eae1f6e1aeece1eee7aecef5ede2e5f2062c159d8b14600b828080f8f080c8c0fcf0f48086b1b2b3b1b2b3f48082c9cef0f0f4808ac1a0c4c5d3c9c7cec1d2f3f2808eeae1f6e1aef5f4e9ecaec4e1f4e5e8ea0181cbd9f499838080f8f0f788808081bdee31e011f8f0f48095d9e1e7efa0c5f2eee1eee4e5f3a0c4eff5f2e1e4eff48092b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1f0f48089b1b2b3b1b2b3b1b2b3f0]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1048)
at org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(StatefulPersistenceContext.java:246)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189)
at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:512)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:80)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
at br.inf.topsoft.Dao.CadParcDao.Salvar(CadParcDao.java:40)
at br.inf.topsoft.Controller.CadParcCtrl.Salvar(CadParcCtrl.java:39)
at br.inf.topsoft.View.FrmLanFunc2.btGravaActionPerformed(FrmLanFunc2.java:775)
at br.inf.topsoft.View.FrmLanFunc2.access$500(FrmLanFunc2.java:40)
at br.inf.topsoft.View.FrmLanFunc2$11.actionPerformed(FrmLanFunc2.java:688)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6504)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6269)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4860)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:121)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1072)
at java.awt.Component.show(Component.java:1650)
at java.awt.Component.setVisible(Component.java:1602)
at java.awt.Window.setVisible(Window.java:1013)
at java.awt.Dialog.setVisible(Dialog.java:1003)
at br.inf.topsoft.View.FrmLanFunc2.<init>(FrmLanFunc2.java:89)
at br.inf.topsoft.View.FrmCadParc.Alterar(FrmCadParc.java:45)
at br.inf.topsoft.Forms.FrmCadPrin.excluiActionPerformed(FrmCadPrin.java:219)
at br.inf.topsoft.Forms.FrmCadPrin.access$300(FrmCadPrin.java:14)
at br.inf.topsoft.Forms.FrmCadPrin$4.actionPerformed(FrmCadPrin.java:124)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6504)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6269)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4860)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.postgresql.util.PSQLException: ERRO: operador não existe: bigint = bytea
Dica: Nenhum operador corresponde com o nome e o(s) tipo(s) de argumento(s) informados. Você precisa adicionar conversões de tipo explícitas.
Posição: 549
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1021)
... 96 more
Alguém sabe o que é isso? Como assim operador bigint = bytea?