Hola a todos estoy dando mis priemros pasos en java, asi que instale el JDK SE el netbeans y postgres 8.4 en el cual hice una pequeña base de datos con una tabla que contiene 5 campos, inicie un proyecto nuevo y lo asocie con la base de datos, solito jaa yame armo un abm pero al querer ejecutarlo, me sale ese chorizo de cosas abajo, agradeceria que me guien que despues me voy solito ejej soy bueno aprendiendo, pero este es nuevo para mi es mas jamas antes toque java, saludos y gracias!
run:
[TopLink Info]: 2010.06.08 02:18:38.283--ServerSession(1192380230)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
[TopLink Info]: 2010.06.08 02:18:39.067--ServerSession(1192380230)--file:/C:/testejava/Contacto/src/-pruebaPU login successful
[TopLink Warning]: 2010.06.08 02:18:39.138--UnitOfWork(1690464956)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseExcep tion
08/06/2010 02:18:39 org.jdesktop.application.Application$1 run
Internal Exception: org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «nombre»
GRAVE: Application class contacto.ContactoApp failed to launch
Error Code: 0
Local Exception Stack:
Call: SELECT idcon, domicilio, telefono, Apellido y nombre, DNI FROM prueba.public.contacto
Query: ReportQuery(contacto.Contacto)
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseExcep tion
Internal Exception: org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «nombre»
Error Code: 0
Call: SELECT idcon, domicilio, telefono, Apellido y nombre, DNI FROM prueba.public.contacto
Query: ReportQuery(contacto.Contacto)
at oracle.toplink.essentials.exceptions.DatabaseExcep tion.sqlException(DatabaseException.java:319)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.basicExecuteCall(DatabaseAccessor .java:566)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.executeCall(DatabaseAccessor.java :452)
at oracle.toplink.essentials.threetier.ServerSession. executeCall(ServerSession.java:473)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeCall(Datasourc eCallQueryMechanism.java:228)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeCall(Datasourc eCallQueryMechanism.java:214)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeSelectCall(Dat asourceCallQueryMechanism.java:285)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.selectAllRows(Datasou rceCallQueryMechanism.java:615)
at oracle.toplink.essentials.internal.queryframework. ExpressionQueryMechanism.selectAllRowsFromTable(Ex pressionQueryMechanism.java:2416)
at oracle.toplink.essentials.internal.queryframework. ExpressionQueryMechanism.selectAllReportQueryRows( ExpressionQueryMechanism.java:2382)
at oracle.toplink.essentials.queryframework.ReportQue ry.executeDatabaseQuery(ReportQuery.java:802)
at oracle.toplink.essentials.queryframework.DatabaseQ uery.execute(DatabaseQuery.java:628)
at oracle.toplink.essentials.queryframework.ObjectLev elReadQuery.execute(ObjectLevelReadQuery.java:692)
at oracle.toplink.essentials.queryframework.ObjectLev elReadQuery.executeInUnitOfWork(ObjectLevelReadQue ry.java:746)
at oracle.toplink.essentials.internal.sessions.UnitOf WorkImpl.internalExecuteQuery(UnitOfWorkImpl.java: 2233)
at oracle.toplink.essentials.internal.sessions.Abstra ctSession.executeQuery(AbstractSession.java:952)
at oracle.toplink.essentials.internal.sessions.Abstra ctSession.executeQuery(AbstractSession.java:924)
at oracle.toplink.essentials.internal.ejb.cmp3.base.E JBQueryImpl.executeReadQuery(EJBQueryImpl.java:367 )
at oracle.toplink.essentials.internal.ejb.cmp3.base.E JBQueryImpl.getResultList(EJBQueryImpl.java:478)
at contacto.ContactoView.initComponents(ContactoView. java:291)
at contacto.ContactoView.<init>(ContactoView.java:36)
at contacto.ContactoApp.startup(ContactoApp.java:19)
at org.jdesktop.application.Application$1.run(Applica tion.java:171)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
Caused by: org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «nombre»
at org.postgresql.core.v3.QueryExecutorImpl.receiveEr rorResponse(QueryExecutorImpl.java:1592)
at org.postgresql.core.v3.QueryExecutorImpl.processRe sults(QueryExecutorImpl.java:1327)
at org.postgresql.core.v3.QueryExecutorImpl.execute(Q ueryExecutorImpl.java:192)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execut e(AbstractJdbc2Statement.java:451)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execut eWithFlags(AbstractJdbc2Statement.java:350)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execut eQuery(AbstractJdbc2Statement.java:254)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.executeSelect(DatabaseAccessor.ja va:726)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.basicExecuteCall(DatabaseAccessor .java:501)
... 29 more
Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class contacto.ContactoApp failed to launch
at org.jdesktop.application.Application$1.run(Applica tion.java:177)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseExcep tion
Internal Exception: org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «nombre»
Error Code: 0
Call: SELECT idcon, domicilio, telefono, Apellido y nombre, DNI FROM prueba.public.contacto
Query: ReportQuery(contacto.Contacto)
at oracle.toplink.essentials.exceptions.DatabaseExcep tion.sqlException(DatabaseException.java:319)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.basicExecuteCall(DatabaseAccessor .java:566)
at oracle.toplink.essentials.internal.databaseaccess. DatabaseAccessor.executeCall(DatabaseAccessor.java :452)
at oracle.toplink.essentials.threetier.ServerSession. executeCall(ServerSession.java:473)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeCall(Datasourc eCallQueryMechanism.java:228)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeCall(Datasourc eCallQueryMechanism.java:214)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.executeSelectCall(Dat asourceCallQueryMechanism.java:285)
at oracle.toplink.essentials.internal.queryframework. DatasourceCallQueryMechanism.selectAllRows(Datasou rceCallQueryMechanism.java:615)
at oracle.toplink.essentials.internal.queryframework. ExpressionQueryMechanism.selectAllRowsFromTable(Ex pressionQueryMechanism.java:2416)
at oracle.toplink.essentials.internal.queryframework. ExpressionQueryMechanism.selectAllReportQueryRows( ExpressionQueryMechanism.java:2382)
at oracle.toplink.essentials.queryframework.ReportQue ry.executeDatabaseQuery(ReportQuery.java:802)
at oracle.toplink.essentials.queryframework.DatabaseQ uery.execute(DatabaseQuery.java:628)
at oracle.toplink.essentials.queryframework.ObjectLev elReadQuery.execute(ObjectLevelReadQuery.java:692)
at oracle.toplink.essentials.queryframework.ObjectLev elReadQuery.executeInUnitOfWork(ObjectLevelReadQue ry.java:746)
at oracle.toplink.essentials.internal.sessions.UnitOf WorkImpl.internalExecuteQuery(UnitOfWorkImpl.java: 2233)
at oracle.toplink.essentials.internal.sessions.Abstra ctSession.executeQuery(AbstractSession.java:952)
at oracle.toplink.essentials.internal.sessions.Abstra ctSession.executeQuery(AbstractSession.java:924)
at oracle.toplink.essentials.internal.ejb.cmp3.base.E JBQueryImpl.executeReadQuery(EJBQueryImpl.java:367 )
at oracle.toplink.essentials.internal.ejb.cmp3.base.E JBQueryImpl.getResultList(EJBQueryImpl.java:478)
at contacto.ContactoView.initComponents(ContactoView. java:291)
at contacto.ContactoView.<init>(ContactoView.java:36)
at contacto.ContactoApp.startup(ContactoApp.java:19)
at org.jdesktop.application.Application$1.run(Applica tion.java:171)
... 8 more
Caused by: org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «nombre»