Hello amin-mc,
Quote:
However if try to update the entity before ...
What do you mean with "to update", just changing it through Hibernate ?
Quote:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists
This means Hibernate didn't find the object in the DB, this is unrelated with the index setup. As you're using the master/slave approach for indexes, please verify the two servers are sharing the same Database!
Would it be possible that you're doing several delete/inserts on the same object ID ? You're pointing me to a design knot which might have a problem, but it's just a theoretic idea in my mind: your issue could be the proof that it's real.
Quote:
Apologies for asking so many questions. Final thing left now.
No problem, you're also being helpful to other users, that's very nice and gives us more time to help you and work on next version's cool features.
Also we need people to report problems, even if it's only the Docs which need to be more clear on some points ;-)
Quote:
I am noticing that with jms backend i'm getting an entry in the local index when the refresh time is 30mins. This shouldn't happen right? Presumbly i shouldn't see anything until 30mins when the master copies changes to the local.
No this should' happen consistently, but it might occur if your update happens just before the timer trigger. I'd check the configuration to see if you're really using JMS, enable some logging.