Re: [hibernate-dev] Testing DB lock timeouts

2016-12-13 Thread Steve Ebersole
ConnectionProvider mocking the Connection? To help there is org.hibernate.testing.jdbc.JdbcMocks On Tue, Dec 13, 2016 at 11:23 AM Radim Vansa wrote: > Hi, > > since hibernate-infinispan testsuite has been set on by default, > recently I've set myself to improve the execution time which is seve

[hibernate-dev] Testing DB lock timeouts

2016-12-13 Thread Radim Vansa
Hi, since hibernate-infinispan testsuite has been set on by default, recently I've set myself to improve the execution time which is several minutes due to various sleeps and timeouts. Many of the tests test concurrency issues, and that often involves issuing two writes to single table/row in

Re: [hibernate-dev] [SEARCH] Translating analyzer definitions from HSearch to Elasticsearch

2016-12-13 Thread Sanne Grinovero
Adding a "name" attribute to the @TokenizerDef annotation seems like a good idea. Make it an optional attribute of course, we can throw an exception if it's missing and ES is being used, while maintaining compatibility with existing apps using Lucene. Perhaps you could be slightly forgiving in cer

[hibernate-dev] [SEARCH] Translating analyzer definitions from HSearch to Elasticsearch

2016-12-13 Thread Yoann Rodiere
Hello everyone, I'm currently working on HSEARCH-2219, "Define analyzers via the REST API", whose purpose is to automatically translate @AnalyzerDefs in Hibernate Search to settings in Elasticsearch, removing the need for users to configure analyzers separately in their Elasticsearch instance. Th