2 Replies Latest reply on Apr 10, 2003 6:39 AM by m_korotkov

    Error checking if entity exists

    tcnash

      JBoss 3.0.6 on Red Hat 8.0
      PostgreSQL 7.3.2 on Red Hat 8.0

      We are experiencing a problem with a CMP Entity bean when we try to create a row in the table. This appears to only happen on Postgres, however, because we have tested using Firebird on windows.

      The row does not get inserted into the table.

      The following error appears:

      Error checking if entity exists
      java.sql.SQLException: ERROR: parser: parse error at end of input...

      Any ideas?

        • 1. Re: Error checking if entity exists
          pepecarioca

          Im having the same problem...

          jboss 3.0.6, java 1.4.1, windows 2000p

          • 2. Re: Error checking if entity exists
            m_korotkov

            I was using Posgresql7.3, jboss3.0.4 and created new bean with no errors.
            The bad thing was that I cound not create CMP beans with CRM fiels that are restricted to be not null in the sql script. So, I was using ejbPostCreate for this purposes as the specification says and received SQLExecption, cause JBOSS inserted a new record right after the ejbCreate method when no relations were established...
            Can you help me? Does it work with JBoss3.2RC4?

            --mk.