O'Reilly logo

Apache OFBiz Cookbook by Ruth Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mapping database data types

One of the primary benefits of using the Entity Engine over direct SQL calls to access data is that OFBiz abstracts the details of how data is physically stored, away from the user. When making a request for data through the Entity Engine, the user does not need to know where the data is physically located or how it is formatted. The Entity Engine handles all the details of data mapping for the user in real time.

Since physical data storage formatting varies widely from database vendor to vendor, the Entity Engine must map these variations to consistent data type values for use within the OFBiz framework.

Getting ready

The following steps have to be performed before adding or modifying data type mapping:

  1. Entity engine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required