zaienaji / customservice

refactoring Openbravo domain logic into microservice
2 stars 0 forks source link

make repository connect to db #4

Closed zaienaji closed 2 years ago

zaienaji commented 2 years ago

current repository implementation is in-memory object. it need to persist it into db, so we can add further improvement (eg cache only active records).

repository involved:

zaienaji commented 2 years ago

To do for material transaction

To do for material Costing

zaienaji commented 2 years ago

Embedded db H2 that used by unit test, not support where <column> in (<value1>, <value2>, ... <valueN>). Propose to use postgresql for test DB, with separate DB instance.