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
BedrockMission!

Learn More

View all

Sign in to view all badges

Can the Data Management Service detect database changes ?

Avatar

Avatar
Validate 1
Level 2
Karl_Sigiscar_1
Level 2

Likes

0 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
Karl_Sigiscar_1
Level 2

Likes

0 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Karl_Sigiscar_1
Level 2

19-11-2008

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 ?

Replies

Avatar

Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
Level 2

19-11-2008

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.