Well, I wish I could have find a way to make HIbernate knows about object updated by an SP.
I realize it was probably hopeless, I don't see anyway for hibernate to catch what is like an "external" data modification.
But using the SessionFactory.evict* method is specified as occuring
Quote:
outside
of any transaction; it performs an immediate "hard" remove, so does not respect any transaction isolation semantics of the usage strategy
So how can I isolate theobjects modified by SP?
Is there any way start a transaction when triggering a SP with JDBC?
Sorry for the newbie's questions, but my knowledge of transactionnal aspects is very fresh and thin.