Skip to main content
16-Pearl
January 28, 2020
Solved

Binding a persistent variable

  • January 28, 2020
  • 1 reply
  • 809 views

I have a thing "GLOB" that contains global persistent properties

I have another thing "THG1" that has a property "prop1" that is bound to one of GLOB.

 

Do I need to set also on THG1 that "prop1" is persistent or is it enough the persistent flag on GLOB ?

From a simple test (by just restarting THG1) seems that it is enought set persistent the prop at GLOB .... but I have a cloud instance and cannot restart the whole app easily ....

 

 

Best answer by raluca_edu

Hi,

 

I have done same test as you described and the value of THG1 property is kept after Tomcat/server restart.

 

Best regards,

Raluca Edu

1 reply

17-Peridot
January 28, 2020

Hi,

 

I have done same test as you described and the value of THG1 property is kept after Tomcat/server restart.

 

Best regards,

Raluca Edu