Persistence Using Layers

Today you can use any Java based persistence API, where StrataCode can help you manage annotations, generate XML files, etc. You can break your models up into layers based on logical groupings of properties. Since you specify the meta-data per layer, you can use this organization to build one configuration which groups all fields in the same database, and another which groups them in separate databases. If the extend a shared layer, one or more overlapping properties could be used to seamlessly join from one to the other as needed. You can later move all fields defined in a layer into a different type of storage engine altogether.

There are several planned features to leverage layers with persistence: