Show Table of Contents
3.5. External Materialization and Red Hat JBoss Data Grid
Red Hat JBoss Data Grid can be used as an external materialized data source system. You would use it if you wish to perform in-memory caching of results.
Note
When you use Teiid Designer to reverse-engineer the view into a pojo, a BigDecimal data type is defined in the view. Unfortunately for the Google Protobuf used for serialization, complex data types cannot be converted to either C or C++. It is therefore recommended that you use primitive data types only. (You will come across this situation if you are trying to materialize a view that contains a complex data type or if there is an existing JDG cache that contains a POJO that has complex data types.)
As the protobuffer does not support BigDecimal directly, you have three options:
- use all primitive data types
- implement a marshaller that will handle the conversion, which means the .proto file will also need to be created (see Red Hat JBoss Data Grid for the creation of files)
- create a view that will convert the BigdDecimal to a string, then materialize that view.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.