Database query error, missing table prefix

Description

There is a bug in org/activiti/db/mapping/entity/Job.xml.
There are 2 queries that do not use table prefix (${prefix}).

There is a patch attached.

I've also created a bug in gitlab (https://github.com/Activiti/Activiti/issues/652)

Environment

None

Status

Assignee

Joram Barrez

Reporter

Gaston Scapusio

Labels

None

Components

Affects versions

5.18

Priority

High
Configure