Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can the Data Management Service detect database changes ?

Karl_Sigiscar_1
Level 2
Level 2
Is it possible with LCDS to have the Data Management Service
detect database changes ? We already have LCDS configured with a
custom Java assembler. Any change commited on a client reflects to
other clients and in the database too. But we also have some
backend processes changing the database. In that case, is it
possible to configure LCDS to detect those changes to the database
and push them to the clients ?

1 Reply
Zee_Yang
Level 2
Level 2
There's a way for LCDS to monitor a database, but it requires
polling in your server side code. In your custom assembler, spin a
thread to poll the database with DataServiceTransaction.refreshFill
function. It's not going to give you realtime update, but it's more
scalable then polling from the clients.