Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add tips to connect ofbiz on read only database

...

...

If you receive an SQL error in ofbiz, it doesn't show the error from the database itself. Instead, it shows a general error which isn't neccessarily clear. Run the SQL directly on the database get a more helpful error message.

 

Anchor
Read Only Database
Read Only Database

How to connect to a Database on read only

If you need to connect OFBiz to a database without write access or you want just are sure that your users have a read acces, you can change on the entityengine.xml the helper to the class ReadOnlyHelperDAO on your data-source  like that

Code Block
languagexml
    <datasource name="localderby"
            helper-class="org.apache.ofbiz.entity.datasource.ReadOnlyGenericHelperDAO"
            schema-name="OFBIZ"
            field-type-name="derby">...

 

Anchor
External Database
External Database

...