Re: [hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-28 Thread Gunnar Morling
I like the idea of a new operator, but I side with Sanne that "~" would be useful for similarity/full-text searches. What about "?=", somewhat inspired by Groovy's Elvis operator? It seems nicer to me for expressing null-awareness. The pattern could even be generalized by using the operator prefix

Re: [hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-28 Thread Brett Meyer
+1 to ~. Sanne has a good point, but I think I'd rather see a function name there (CONTAINS, etc.). On 08/28/2015 10:09 AM, Sanne Grinovero wrote: > On 28 August 2015 at 15:02, Steve Ebersole wrote: >> What do y'all think of using a symbol like ~ for this? The idea would be >> similar to the "

Re: [hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-28 Thread andrea boriero
+1 for ~ On 28 August 2015 at 15:02, Steve Ebersole wrote: > What do y'all think of using a symbol like ~ for this? The idea would be > similar to the "wavy equals" from logic used to denote "approximately > equals". > > > On Thu, Aug 27, 2015 at 7:05 AM andrea boriero > wrote: > >> i like the

Re: [hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-28 Thread Sanne Grinovero
On 28 August 2015 at 15:02, Steve Ebersole wrote: > What do y'all think of using a symbol like ~ for this? The idea would be > similar to the "wavy equals" from logic used to denote "approximately > equals". I was hoping that one day we would be able to use the '~' symbol for full-text queries,

Re: [hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-28 Thread Steve Ebersole
What do y'all think of using a symbol like ~ for this? The idea would be similar to the "wavy equals" from logic used to denote "approximately equals". On Thu, Aug 27, 2015 at 7:05 AM andrea boriero wrote: > i like the idea of "matches" operator for dealing with "is null". > +1 > > On 26 Augus

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-28 Thread Sanne Grinovero
On 27 August 2015 at 18:30, Steve Ebersole wrote: > Nevermind. I will not do that. I think I have found a still-easyish way > to do it. Great! Highly appreciate that. > > On Thu, Aug 27, 2015 at 10:57 AM Steve Ebersole wrote: > >> I do want to pull ORM in to the hibernate-sqm module as a tes

Re: [hibernate-dev] Hibernate ORM 4.2 and 4.3 branches

2015-08-28 Thread andrea boriero
+1 On 27 August 2015 at 23:24, Steve Ebersole wrote: > +1 > > On Thu, Aug 27, 2015 at 5:12 PM Gail Badner wrote: > > > Just a gentle reminder that, in keeping with our project's guidelines[1], > > the 4.2 and 4.3 branches will no longer be actively maintained now that > 5.0 > > has gone Final.