Hi,

I am using H2 to store text as clobs.  
The operations go like this:

The clobs are read into a String from the DB 
The String is transformed into a json ojbect
the json object is modified 
the object is transformed into a json string and saved back into H2 as a 
clob

Multiple threads are performing the above operations at the same time. 

 I am running into thread dead locks when doing this.  If I synchronize 
around my methods which Select and Execute into the database, I do not run 
into the deadlocks.  Thus, I am avoiding the problem by making sure that 
all my calls to H2 are synchronized in my code, which makes me wonder if 
there is a synchronization problem somewhere in H2.   Are there any known 
deadlock problems in h2 with regard to clobs or the such.  

H2 version: {name=info.VERSION, value=1.3.176 (2014-04-05)}

Thanks,
-Adam

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to