Skip to Content
0
Aug 04, 2023 at 02:16 PM

Java CAPire PersistenceService to run queries

166 Views Last edit Sep 18, 2023 at 03:10 AM 2 rev

I have a question about how to execute query immediately.

I noticed that the queries will not be executed until all codes inside @on and @after are passed through.

more specifically, if I run Select.from query inside @on, it will retrieve data immediately without problem, but if I update/insert entity, the influence on Database will be shown up only after @after.

It looks like there is a message queue mechanism?

Is there anyway to run update/insert query immediately?