PostGre SQL Data fetching issue

Hi All,

We have a Postgre SQL DB connected to Appian system, and we are trying to fetching the data from respective table.

i created CDT, entity mapping verified & Data store published successfully. In Rule Expression, when we tried the query entity for this DSE, we are getting below error. 

Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data. Details: Unexpected error executing query (type: [AAFAssetDT2555], query: [queryentity expression], order by: [[Sort[assetpreviousstatus asc]]], filters:[null])

could you please suggest me to resolve the issue.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    kishoren0003,

    Error Message you shared doesn't have enough information to debug. Check your Tomcat Server Log for more information and share here?

    A possible reason could be your data store entity is not published properly.

  • Here the Log.... i could see below error 

    2021-09-14 12:07:30,865 [http-nio-8080-exec-18] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:07:33,527 [http-nio-8080-exec-6] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:18:25,250 [http-nio-8080-exec-18] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:20:08,730 [http-nio-8080-exec-57] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:34:50,416 [http-nio-8080-exec-42] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 13:04:43,227 [Timer-4] INFO com.appiancorp.cache.DatabaseAuxiliaryCache - Removing expired entries from db cache: uiState-auxiliary
    2021-09-14 13:09:18,034 [http-nio-8080-exec-50] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639

Reply
  • Here the Log.... i could see below error 

    2021-09-14 12:07:30,865 [http-nio-8080-exec-18] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:07:33,527 [http-nio-8080-exec-6] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:18:25,250 [http-nio-8080-exec-18] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:20:08,730 [http-nio-8080-exec-57] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 12:34:50,416 [http-nio-8080-exec-42] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639
    2021-09-14 13:04:43,227 [Timer-4] INFO com.appiancorp.cache.DatabaseAuxiliaryCache - Removing expired entries from db cache: uiState-auxiliary
    2021-09-14 13:09:18,034 [http-nio-8080-exec-50] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: relation "AAF_Asset" does not exist
    Position: 639

Children