• Section 2-6 : Key Features
Data Modeling
Data Modeling - Configure
- Configure Table Joins | Table Relations in Builder Studio - DATA Table Explorer
REST Data Modeling
GraphQL Data Modeling
Data Modeling And Caching
- When using caching either Simple or Redis, the data returned in data modeling using caching may return stale data. This is due to Spring Boot way of handling caching. Any new records added or any deleted records, from tables used in joins, may not reflect in data modeling queries responses.
- If getting latest accurate data is high priority, You can -
- Project Configure : Cache None
- or Disable caching for specific queries against data model, via its controller customization.
Disable Caching for Selective API endpoints
Via CacheManager clear()
- Use in controller
@Autowired
CacheManager cacheManager;
// add clear calls in GetMapping function beginning
// for all Entities used in data model, e.g.
cacheManager.getCache("Orders").clear();
cacheManager.getCache("Shipping").clear();
Via EntityManager clear()
- Use in controller
@PersistenceContext
private EntityManager entityManager;
// add in GetMapping function beginning
entityManager.clear();
BE Flexible SQL-Like Querying via APIs
- REST
- GraphQL