[hibernate-dev] MariaDB on CI

2015-07-17 Thread Steve Ebersole
[18:45] whoa.. [18:45] sannegrinovero: we definitely need this for mariadb on ci... [18:46] sync_binlog=0 innodb_flush_log_at_trx_commit=0 innodb_doublewrite=0 [18:46] tests were much faster These were suggested to me on the #mariadb list. I added them to my local /etc/my.cnf file and the tes

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Steve Ebersole
So this is definitely not limited to 5.0. This happens in 4.3 as well. I pointed 4.3 locally to my MariaDB instance and it is hanging. In every case I have seen so far, this is problems in the test code though. On Fri, Jul 17, 2015 at 1:33 PM Steve Ebersole wrote: > Here is something else in

[hibernate-dev] UUID as id

2015-07-17 Thread Steve Ebersole
This goes to the feature we just added in 5.0 of supporting "non standard" types as identifiers. Specifically UUID. Sanne and I have been discussing the MySQL (MariaDB) tests hanging recently. Well on the ORM side this was caused by an overly optimistic tests not properly handling transactions a

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Steve Ebersole
Here is something else interesting... So at the point that the test hang against MySQL for me, I have: MariaDB [(none)]> SHOW FULL processlist; +-++-++-+--+-++--

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Steve Ebersole
Process != test. Process here == connection. You have multiple. On Fri, Jul 17, 2015, 11:12 AM Sanne Grinovero wrote: > On 17 July 2015 at 16:25, Steve Ebersole wrote: > > It would seem that this is a regression with ORM, I agree. However, we > do > > not know how recent of a regression. An

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Sanne Grinovero
On 17 July 2015 at 16:25, Steve Ebersole wrote: > It would seem that this is a regression with ORM, I agree. However, we do > not know how recent of a regression. And that is the problem. We have no > idea how far back to look. Because the ORM CI jobs against MySQL, > PostrgreSQL, Oracle, etc

Re: [hibernate-dev] Hibernate Search fails to generate anything

2015-07-17 Thread Sanne Grinovero
Hi Koen, is it possible that it's initializing with the wrong version of Hibernate ORM ? Dimitry below mentioned versions hibernate-core 4.3.1 and hibernate-search 5.0.1; these are getting a bit old now but they work fine together. Is it possible the jboss-tools plugin could use a different hibern

Re: [hibernate-dev] Hibernate Search fails to generate anything

2015-07-17 Thread Koen Aers
Hey Sanne and Dmitry, I am trying to wrap my head around this problem and I found that Hibernate ORM can see the Hibernate Search services. “SearchFactoryReference” is instantiated while building the services. However, its “initialize” method is never called. AFAICS this is the responsibility o

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Steve Ebersole
It would seem that this is a regression with ORM, I agree. However, we do not know how recent of a regression. And that is the problem. We have no idea how far back to look. Because the ORM CI jobs against MySQL, PostrgreSQL, Oracle, etc have not been running for many months. IIRC even when th

[hibernate-dev] Proposal for a Redis module in Hibernate OGM

2015-07-17 Thread Mark Paluch
Hi there, I created a Redis module for Hibernate OGM, based on OGM 4.2. Redis is a Key-Value store supporting Lists, Hashes (Maps), Sorted Sets, ... I took the Infinispan/CouchDB approach storing entities and associations as JSON documents within Redis Hashes. A Map> corresponds with a Redis Hash

Re: [hibernate-dev] Naming strategies and collection element columns

2015-07-17 Thread Gunnar Morling
Turns out our ImplicitNamingStrategy's determineBasicColumnName() is invoked twice at different places within Ejb3Column. Once the magic HHH-6005 replacement takes place (in redefineColumnName()) and the other time it doesn't (addColumnBinding()). So we are once called with "grandChildren.name" an

[hibernate-dev] Naming strategies and collection element columns

2015-07-17 Thread Gunnar Morling
Steve, There is one remaining itch I have wrt. upgrading OGM to ORM 5. I have an entity GrandMother with an @ElementCollection "grandChildren" of type GrandChild. The latter has a property "name" which used to be passed as "grandChildren.collection&&element.name" to OGM's NamingStrategy#propertyT

Re: [hibernate-dev] Second candidate release for Hibernate ORM 5.0

2015-07-17 Thread Sanne Grinovero
On 17 July 2015 at 10:07, Gunnar Morling wrote: > Interesting, so they'd really block the link from being shared due to the > broken author meta-data. And worse: you get strongly penalized in SEO terms. Next we should add valid microdata. -- Sanne > > 2015-07-17 11:03 GMT+02:00 Sanne Grinovero

Re: [hibernate-dev] Second candidate release for Hibernate ORM 5.0

2015-07-17 Thread Gunnar Morling
Interesting, so they'd really block the link from being shared due to the broken author meta-data. 2015-07-17 11:03 GMT+02:00 Sanne Grinovero : > G+ link sharing works now. Thanks Gunnar and Emmanuel for the quick > "meta fix" WEBSITE-380! > > Cheers, > Sanne > > On 16 July 2015 at 11:37, Sanne G

Re: [hibernate-dev] Second candidate release for Hibernate ORM 5.0

2015-07-17 Thread Sanne Grinovero
G+ link sharing works now. Thanks Gunnar and Emmanuel for the quick "meta fix" WEBSITE-380! Cheers, Sanne On 16 July 2015 at 11:37, Sanne Grinovero wrote: > Ah, that helps; I hadn't understood you were talking about the "share > link" feature. > > I could reproduce the problem now; it seems one

Re: [hibernate-dev] Missing transaction hangs the testsuite

2015-07-17 Thread Sanne Grinovero
Thanks Steve, I wasn't sure if I had found a problem. Still, it looks like the Hibernate Search tests are not benefiting from auto-commit, or I wouldn't have this problem right? Our testing configuration properties have been the same for years and I'm just re-enabling tests which haven't been run f