I'm considering if it is possible to use Qi4j for modelling business logic when the persistence is done by relational database which exposes only stored procedures.
The conditions are as follows:
1. I don't know the schema and have no access to the tables.
2. I can only call the stored procedures.
3. Typically there are CRUD SPs available plus some specialized SPs for fetching filtered data.
4. Business logic is located only in Java application.

I'm not going to implement such application at the moment but I think that this impedance mismatch might become an obstacle for Qi4j adoption in many (huge) companies.

I can imagine three possible solutions.
1. Reuse existing EntityStore implementation - I don't know which one should I pick. Maybe QRM?
2. Write dedicated EntityStore implementation.
3. Use database as a regular service.

WDYT?

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to