Hi Jorge,
I think what you said is correct, there should be a shared Lob by two different variables. Whenever we create a new variable, jbpm4 will always assign a unique dbid to it.
If you could tell us how you saved variable and the type and value of variable, it will be much helpful for us to investigating. Thank you very much.