org.postgresql.util.PSQLException: Can't infer the SQL type to use for an instance of java.util.Date. Use setObject() with an explicit Types value to specify the type to use.

openxava | *anonymous | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Compracion de fechas baseCondition

    openxava | 7 years ago | *anonymous
    org.postgresql.util.PSQLException: Can't infer the SQL type to use for an instance of java.util.Date. Use setObject() with an explicit Types value to specify the type to use.
  2. 0

    estereotipo que depende-de-propiedades

    openxava | 5 years ago | jairbuir
    org.postgresql.util.PSQLException: El índice de la columna está fuera de rango: 1, número de columnas: 0.
  3. 0

    Impossible to create the condition for consult the list

    openxava | 7 years ago | shadowdemon
    org.postgresql.util.PSQLException: Der Spaltenindex 1 ist außerhalb des gültigen Bereichs. Anzahl Spalten: 0.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate UserType working in a testapplication but not on web service on tomcat

    Stack Overflow | 3 years ago | j.bergmann
    org.hibernate.exception.SQLGrammarException: could not insert: [com.zhs.dbaccess.tableclasses.ZhsJunk]
  6. 0

    Problemas con @Condition

    openxava | 6 years ago | hrecabal
    org.postgresql.util.PSQLException: Can't infer the SQL type to use for an instance of java.util.Date. Use setObject() with an explicit Types value to specify the type to use.

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.postgresql.util.PSQLException

      Can't infer the SQL type to use for an instance of java.util.Date. Use setObject() with an explicit Types value to specify the type to use.

      at org.postgresql.jdbc2.AbstractJdbc2Statement.setObject()
    2. PostgreSQL JDBC Driver
      AbstractJdbc4Statement.setObject
      1. org.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statement.java:1772)
      2. org.postgresql.jdbc3g.AbstractJdbc3gStatement.setObject(AbstractJdbc3gStatement.java:37)
      3. org.postgresql.jdbc4.AbstractJdbc4Statement.setObject(AbstractJdbc4Statement.java:46)
      3 frames
    3. org.apache.tomcat
      DelegatingPreparedStatement.setObject
      1. org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:166)
      1 frame
    4. org.openxava.tab
      Tab.getTableModel
      1. org.openxava.tab.impl.JDBCTabProvider.nextBlock(JDBCTabProvider.java:228)
      2. org.openxava.tab.impl.JDBCTabProvider.nextChunk(JDBCTabProvider.java:261)
      3. org.openxava.tab.impl.EntityTabDataProvider.nextChunk(EntityTabDataProvider.java:35)
      4. org.openxava.tab.impl.EntityTab.nextChunk(EntityTab.java:298)
      5. org.openxava.tab.impl.TableModelBean.getRow(TableModelBean.java:120)
      6. org.openxava.tab.impl.TableModelBean.getValueAt(TableModelBean.java:171)
      7. org.openxava.tab.impl.XTableModelDecoratorBase.getValueAt(XTableModelDecoratorBase.java:63)
      8. org.openxava.tab.impl.HiddenXTableModel.getValueAt(HiddenXTableModel.java:70)
      9. org.openxava.tab.Tab.createTableModel(Tab.java:322)
      10. org.openxava.tab.Tab.getTableModel(Tab.java:295)
      10 frames