# Error accessing database tables in external database

**URL:** <https://forums.pega.com/t/error-accessing-database-tables-in-external-database/1239>\
**Category:** General\
**Tags:** 8-5-2, case-management, system-architect\
**Created:** [March 18, 2021, 3:17pm UTC](https://forums.pega.com/t/error-accessing-database-tables-in-external-database/1239 "2021-03-18T15:17:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SilviaZ3](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@SilviaZ3](https://forums.pega.com/u/SilviaZ3)\
**Post date:** [March 18, 2021, 3:17pm UTC](https://forums.pega.com/t/error-accessing-database-tables-in-external-database/1239/1 "2021-03-18T15:17:36Z")

</div>

We recently migrated our application from Pega Platform 8.3.3 on premise to Pega Platform 8.5 on cloud environment.

We have a Database rule pointing to an external Oracle database and we had to switch from a JDBC connection pool connection to a JDBC URL connection. If we click the “Test connectivity” button on the Database rule, the result is Good.

Instead, if we click the same button on the database tables defined on that Database rule or we try to click Save on concrete classes related to those database tables, we get the following error:

Caused by: com.pega.pegarules.pub.database.DatabaseException: ERROR: relation “v$parameter” does not exist Position: 19: code: SQLState: Message:

We don’t get that error on the on premise environment which refers to the same database and database table rules.

How can we solve?

_ **Edited by Moderator Kayla to update Platform Capability tags** _\*

---

<div class="post-metadata">

**Author:** ![SilviaZ3](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@SilviaZ3](https://forums.pega.com/u/SilviaZ3)\
**Post date:** [March 19, 2021, 2:22pm UTC](https://forums.pega.com/t/error-accessing-database-tables-in-external-database/1239/2 "2021-03-19T14:22:27Z")

</div>

@SilviaZ3 We solved the issue with HFIX-69533
