On the OfBiz side, the only other thing to do is to edit
framework/entity/config/entityengine.xml and replace
"localderby/olap/tenant" with "localpostgres/olap/tenant" for default
delegator, it should end up looking like this:
<delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
<group-map group-name="org.apache.ofbiz"
datasource-name="localpostgres"/>
<group-map group-name="org.apache.ofbiz.olap"
datasource-name="localpostgresolap"/>
<group-map group-name="org.apache.ofbiz.tenant"
datasource-name="localpostgrestenant"/>
</delegator>
Everithing else is on the Postgres side. Hope this helps,
Tomislav
On 23. 01. 2025. 18:27, Julien NICOLAS wrote:
Hi Tomislav,
Thanks for your help.
I put your recommandation
runtimeOnly
'org.postgresql:postgresql:42.7.4'
In line 210 of the file build.gradle
And it seems gradle accept to use the postgresql driver \o/
I have another problem and still not able to connect to my database,
but I'll dig further before asking :)
Kind regards,
Julien.