Re: [hibernate-dev] Hibernate ORM SQL generation

2015-09-05 Thread Steve Ebersole
f we rendered to a SQL tree first. Other things include leaving off un-needed joins, etc. On Fri, Aug 28, 2015 at 6:07 AM Sanne Grinovero wrote: > 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 > &g

[hibernate-dev] SQM - Shade/shadow Antlr runtime?

2015-09-08 Thread Steve Ebersole
Should we shade/shadow the Antlr runtime in SQM? The main compelling reason to do so is to isolate our usage, version wise, from any versions used in environments SQM is deployed into. This is the typical benefit of shading/shadowing. The one drawback I can think of is that it stops SQM users fr

Re: [hibernate-dev] Cache

2015-09-08 Thread Steve Ebersole
Petar, The Ehcache developers actually maintain that hibernate-ehcache module. Alex has told me that the API is stable across all of those versions, meaning that you can drop any of those versions you mentioned alongside hibernate-ehcache and it will JustWork(tm). That said, I know Alex is workin

Re: [hibernate-dev] HQL and spatial

2015-09-08 Thread Steve Ebersole
;SELECT A.Feature_ID FROM TARGET A WHERE > sdo_filter(A.shape, :theWindow,'querytype=window') = 'TRUE’;” > > The whole and only the whole expression ‘sdo_filter(...) = ‘TRUE’’ > evaluates to TRUE. So leaving the “... = ‘TRUE’” part off or putting > something else

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-09-08 Thread Steve Ebersole
. The more efficient way to write that query is "select a+b > as c from XYZ where c > 2". We could technically even do that kind of > normalization while rendering the SQM directly to String. But it is easier > and less error prone if we rendered to a SQL tree first

Re: [hibernate-dev] Consistency guarantees of second level cache

2015-09-09 Thread Steve Ebersole
To be precise when you talk the stale data you are really asking about isolation. TX2 reading "B->1" before TX1 commits is a question of isolation and preventing READ_UNCOMMITTED access to the data. The problem is the split in the notion of "commit". Those should be "as close together as possibl

Re: [hibernate-dev] Consistency guarantees of second level cache

2015-09-09 Thread Steve Ebersole
Some comments inline and then a general discussion at the end... On Wed, Sep 9, 2015 at 10:32 AM Radim Vansa wrote: > Thanks for correcting the terms, I'll try to use 'isolation'. > > TX2 reading B = 1 is not READ_UNCOMMITTED - value B = 1 was committed > long ago (it's the initial value). It's

Re: [hibernate-dev] HQL and spatial

2015-09-10 Thread Steve Ebersole
> > It is true that not all applications use spatial, or even that DB’s > support (all) spatial functions. But it would help to ensure consistency in > the available dialects. Now this consistency is tested for in the > integration tests, so not having this at the grammar isn’t a big problem. > It

[hibernate-dev] Bytecode enhancement and collections

2015-09-10 Thread Steve Ebersole
Wanted to get some opinions. I am working on HHH-10055 which is basically a report of problems with that "lazy loading outside of a session/transaction" feature when used in combination with bytecode enhancement. The initial problem was that bytecode interception was not accounting for collection

Re: [hibernate-dev] Consistency guarantees of second level cache

2015-09-10 Thread Steve Ebersole
Yes, and maybe in general you allow users to pick between such a strict/nonstrict mode. On Thu, Sep 10, 2015 at 2:47 AM Radim Vansa wrote: > On 09/09/2015 06:16 PM, Steve Ebersole wrote: > > Some comments inline and then a general discussion at the end... > > > > On Wed,

Re: [hibernate-dev] Bytecode enhancement and collections

2015-09-10 Thread Steve Ebersole
10, 2015 at 2:30 PM Scott Marlow wrote: > > > On 09/10/2015 09:45 AM, Steve Ebersole wrote: > > Wanted to get some opinions. I am working on HHH-10055 which is > basically > > a report of problems with that "lazy loading outside of a > > session/transaction" fe

[hibernate-dev] PK columns and nullability

2015-09-15 Thread Steve Ebersole
We have a Pull Request[1] to add a feature to allows Dialects to enforce that all columns making up a primary key are defined as non-nullable. Specifically, apparently Teradata will barf if the PK is defined over columns that are nullable. The PR focuses on exporting the table/pk. However, Hibern

Re: [hibernate-dev] ORM5 and naming strategies (or get me my foreign keys back!)

2015-09-15 Thread Steve Ebersole
> > The naming strategies are giving me a hard time: we used the > DefaultComponentSafeNamingStrategy before and there is no real equivalent > in ORM 5. > org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl is the corolary. These may or may not migrate directly due to the *spl

Re: [hibernate-dev] ORM5 and naming strategies (or get me my foreign keys back!)

2015-09-16 Thread Steve Ebersole
> > org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl is >> the corolary. These may or may not migrate directly due to the *split*. >> The old NamingStrategy actually covered implicit naming, physical naming >> and logical naming; whereas we have now split these out into dist

Re: [hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread Steve Ebersole
This test was originally added for https://hibernate.atlassian.net/browse/HHH-8497 I guess my first thought is to question is why this test exists at all. It's really a question of whether we consider the classic HQL translator "supported". Stuff like this "parameter expected type" was developed

Re: [hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread Steve Ebersole
d to the use of the classic translator. > > On 17 September 2015 at 18:07, Steve Ebersole wrote: > >> This test was originally added for >> https://hibernate.atlassian.net/browse/HHH-8497 >> >> I guess my first thought is to question is why this test exists at all. >

Re: [hibernate-dev] Multi-level Fetch Joins

2015-09-19 Thread Steve Ebersole
On Wed, Sep 16, 2015 at 8:38 PM Gail Badner wrote: > Is the only JPA-compliant way to do a multi-level fetch join to use entity > graphs? > > JPA 2.1 does not support fetch joins using an alias at all. JSR 338, > 4.4.5.3 Fetch Joins says, > > "It is not permitted to specify an identification vari

[hibernate-dev] SQM interpretation in my antlr-4-poc repo

2015-09-21 Thread Steve Ebersole
Just a heads up that I finally got enough traction in this work towards building a "SQL AST" to warrant a push upstream. The majority of time has been trying to think through the best tree structure for modeling from clauses especially in regards to entity/collection persisters that map across mul

Re: [hibernate-dev] No ValidatorFactory exposed through "javax.persistence.validation.factory" in WF 10 CR1

2015-09-23 Thread Steve Ebersole
Its really a different discussion Hardy. The discussion here is whether EntityManagerFactory().getProperties() should return values that were not passed in the Map when building the EntityManagerFactory. Yes the spec says that ValidatorFactory should be passed as part of the "configuration Map" w

Re: [hibernate-dev] SQM interpretation in my antlr-4-poc repo

2015-09-23 Thread Steve Ebersole
g through the current HQL tests and finding the things we want to support and porting tests is going to have to happen in some form at some point in time. [1] And I'd like to consider supporting the INSERT-tuple syntax in addition to the INSERT-SELECT syntax we already support. On Mon, Sep 21, 20

Re: [hibernate-dev] No ValidatorFactory exposed through "javax.persistence.validation.factory" in WF 10 CR1

2015-09-23 Thread Steve Ebersole
https://hibernate.atlassian.net/browse/HHH-10121 On Wed, Sep 23, 2015 at 10:19 AM Hardy Ferentschik wrote: > Hi, > > On Wed, Sep 23, 2015 at 02:36:05PM +0000, Steve Ebersole wrote: > > Its really a different discussion Hardy. The discussion here is > > whether

Re: [hibernate-dev] SQM interpretation in my antlr-4-poc repo

2015-09-23 Thread Steve Ebersole
I went back and looked into UPDATE queries.. there are actually some basic tests. See org.hibernate.test.query.parser.hql.dml.BasicUpdateTests. On Wed, Sep 23, 2015 at 9:54 AM Steve Ebersole wrote: > Gunnar, to answer your "what should I work on?" question... there are lots >

[hibernate-dev] Jira issues reported against 4.x

2015-09-24 Thread Steve Ebersole
We really no longer maintain ORM 4.x. Yet we still get Jira reports citing 4.x as the affected version. We have been asking the reporter to reproduce with 5.0. But in the interim it is easy to lose track of these issues. Ultimately the "affects version" needs to be updated or the issue rejected

[hibernate-dev] AttributeConverter and internally mutable domain types

2015-09-24 Thread Steve Ebersole
Reference https://hibernate.atlassian.net/browse/HHH-10111 This comes down to the idea of a Type's mutability : can the thing's internal state be changed? We use this for all kinds of optimizations. If the internal state is not mutable, we know that "making a deep copy", for example, is a simple

Re: [hibernate-dev] HHH-10099

2015-09-24 Thread Steve Ebersole
Petar, I guess it could be. I have not seen that myself nor reports of that yet though. On Thu, Sep 24, 2015 at 1:37 PM Petar Tahchiev wrote: > Hello, > > can someone please confirm this is a bug: > > https://hibernate.atlassian.net/browse/HHH-10099 > > Or perhaps I'm doing something wrong? >

Re: [hibernate-dev] AttributeConverter and internally mutable domain types

2015-09-24 Thread Steve Ebersole
[1] - https://hibernate.atlassian.net/browse/HHH-10127 On Thu, Sep 24, 2015 at 2:08 PM Steve Ebersole wrote: > Reference https://hibernate.atlassian.net/browse/HHH-10111 > > This comes down to the idea of a Type's mutability : can the thing's > internal state be changed? W

[hibernate-dev] hibernate-infinispan tests - part... oh I've lost track

2015-09-25 Thread Steve Ebersole
We are again running into problems with hibernate-infinispan tests. We are seeing false test failures on CI. I cannot reproduce these failures locally, and even out on CI the test(s) that fil change each time. http://ci.hibernate.org/job/hibernate-orm-master-h2/1121/ http://ci.hibernate.org/job/

Re: [hibernate-dev] Antlr sources generated into default package

2015-09-28 Thread Steve Ebersole
Java sources do not need to be kept in directory corresponding to their package. It is a in-accurate common belief that that is needed. It is convention, sure, but not needed. That said, as Gunnar pointed out it is a regression in the Gradle Antlr parser that I actually reported to them. I had

Re: [hibernate-dev] hibernate-infinispan tests - part... oh I've lost track

2015-09-30 Thread Steve Ebersole
t; > org.infinispan.commons.marshall DEBUG > > > > (the other two just reduce the verbosity in the parts we don't need). If > > the build fails in CI and I can get my hands on the log, I can > investigate. > > > > Steve, should I prepare a PR switching the log

Re: [hibernate-dev] hibernate-infinispan tests - part... oh I've lost track

2015-09-30 Thread Steve Ebersole
Its failing on the second run as well. So for now I am disabling the hibernate-infinispan tests again. On Wed, Sep 30, 2015 at 2:01 PM Steve Ebersole wrote: > So this just bit me (again) doing the release. I get transient test > failures in hibernate-infinispan trying to run the r

[hibernate-dev] Second bug-fix release for Hibernate ORM 5.0

2015-09-30 Thread Steve Ebersole
http://in.relation.to/2015/09/30/hibernate-orm-502-final-release/ ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Does hibernate multi-tenancy lead to reduced heap usage

2015-10-02 Thread Steve Ebersole
That is the idea... On Sun, Sep 27, 2015 at 12:30 AM amit shah wrote: > Including the dev mailing group to get a few suggestions on my question. > > Thanks! > > On Wed, Sep 23, 2015 at 4:54 PM, amit shah wrote: > > > We are planning to integrate hibernate 4 multi-tenancy feature into our > > a

Re: [hibernate-dev] Antlr sources generated into default package

2015-10-02 Thread Steve Ebersole
Eclipse's compiler does not like the flat style, so it's basically > impossible to run tests in Eclipse due to the gazillion compile > errors. So it'd be great to do the update to Gradle 2.7 quickly once > it's out. > > 2015-09-28 14:04 GMT+02:00 Steve Ebersole

Re: [hibernate-dev] Does hibernate multi-tenancy lead to reduced heap usage

2015-10-02 Thread Steve Ebersole
That's the idea. The alternative is to create multiple SessionFactory instances, one per-tenant. So in theory the heap should be reduced. On Sun, Sep 27, 2015 at 12:30 AM amit shah wrote: > Including the dev mailing group to get a few suggestions on my question. > > Thanks! > > On Wed, Sep 23,

[hibernate-dev] auto-apply AttributeConverter and parameterized types

2015-10-02 Thread Steve Ebersole
Reference HHH-10050[1]. There is a request to incorporate parameterized type resolution into the decision of whether an auto-apply AttributeConverter should apply to a given attribute. For those on the list better at parameter type resolution, is the best solution here to use ClassMate? Or is th

[hibernate-dev] AttributeConverter and type "hints"

2015-10-03 Thread Steve Ebersole
Reference HHH-9615[1]. The specific request here is to support @Lob together with an AttributeConverter. But other combinations apply as well. So I want to address the more generic case, but let's talk in terms of this specific case. Ultimately the problem is in SimpleValueBinder and the fact t

Re: [hibernate-dev] AttributeConverter and type "hints"

2015-10-03 Thread Steve Ebersole
nationalized. This change caused no regressions. On Sat, Oct 3, 2015 at 9:22 AM Steve Ebersole wrote: > Reference HHH-9615[1]. > > The specific request here is to support @Lob together with an > AttributeConverter. But other combinations apply as well. So I want to > address t

Re: [hibernate-dev] auto-apply AttributeConverter and parameterized types

2015-10-05 Thread Steve Ebersole
Bueller..? Any thoughts? On Fri, Oct 2, 2015 at 6:59 PM Steve Ebersole wrote: > Reference HHH-10050[1]. There is a request to incorporate parameterized > type resolution into the decision of whether an auto-apply > AttributeConverter should apply to a given attribute. > > F

[hibernate-dev] Interesting parser design discussion

2015-10-05 Thread Steve Ebersole
https://github.com/hibernate/hibernate-semantic-query/pull/3 This boils down to an interesting (well, if you find parsers interesting like me :) discussion about syntactic analysis versus semantic analysis. ___ hibernate-dev mailing list hibernate-dev@li

Re: [hibernate-dev] auto-apply AttributeConverter and parameterized types

2015-10-06 Thread Steve Ebersole
: > On Mon, Oct 05, 2015 at 02:03:54PM +0000, Steve Ebersole wrote: > > Bueller..? > > > > Any thoughts? > > I am not familiar of the whole concept of AttributeConverter, but if you > need > full type resolution of a generic type, ClassMate is the way to go. > > Th

[hibernate-dev] HHH-9807 - @Id as @Formula

2015-10-06 Thread Steve Ebersole
Votes on supporting this? https://hibernate.atlassian.net/browse/HHH-9807 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HHH-9807 - @Id as @Formula

2015-10-07 Thread Steve Ebersole
it > > to be available when loading the entity? > > > > Davide > > > > On Wed, Oct 7, 2015 at 2:37 AM, Steve Ebersole > > wrote: > > > > > Votes on supporting this? > > > > > > https://hibernate.atlassian.net/browse/HHH-9807 > &g

[hibernate-dev] SQM - alias registry

2015-10-07 Thread Steve Ebersole
At the moment the alias registry is global for the whole query. I propose that we should scope this by "query spec" (combined with parent). The reason being that reusing the same alias in unrelated subqueries is perfectly fine. select ... from Customer c where c.id in ( select o.customer.id

Re: [hibernate-dev] SQM - alias registry

2015-10-07 Thread Steve Ebersole
> > > Here the aliases `c` do infringe. In the subquery, we don't really know > > which reference the `c` alias should resolve to. We *could* here > assuming > > that the subquery is uncorrelated. Bu without this rule we really would > > not know that the subquery is correlated > > Out of curios

Re: [hibernate-dev] SQM - alias registry

2015-10-07 Thread Steve Ebersole
Yes, but generally speaking Java gives you alternative ways to reference to hidden/shadowed names, sql/hql/jpql do not. On Wed, Oct 7, 2015 at 9:42 AM Sanne Grinovero wrote: > On 7 October 2015 at 15:39, Sanne Grinovero wrote: > > On 7 October 2015 at 15:27, Steve Eberso

Re: [hibernate-dev] SQM - alias registry

2015-10-07 Thread Steve Ebersole
y redesign this alias checking. On Wed, Oct 7, 2015 at 10:13 AM Sanne Grinovero wrote: > On 7 October 2015 at 15:41, Sanne Grinovero wrote: > > On 7 October 2015 at 15:39, Sanne Grinovero wrote: > >> On 7 October 2015 at 15:27, Steve Ebersole wrote: > >>>> >

Re: [hibernate-dev] SQM - alias registry

2015-10-07 Thread Steve Ebersole
identification_variable to be defined twice or for the same result_variable to be defined twice. However, if the same identification_variable or result_variable exists just i the parent scope, that is ok. On Wed, Oct 7, 2015 at 10:31 AM Steve Ebersole wrote: > Ah, good call. I found this in t

Re: [hibernate-dev] HHH-9807 - @Id as @Formula

2015-10-07 Thread Steve Ebersole
Emmanuel... any idea where the best place in the current annotation binding code to put such a check? On Wed, Oct 7, 2015 at 9:26 AM andrea boriero wrote: > +1 > > On 7 October 2015 at 14:31, Steve Ebersole wrote: > >> I personally don't really see much of a justi

[hibernate-dev] read/write fragments and id column(s)

2015-10-08 Thread Steve Ebersole
HHH-4440[1] added the read/write fragment support. However, as reported under HHH-9808[2] that support is not consistent for id column(s). The first piece is missing write fragment support. The second piece is inconsistent application of the read fragments in generated SQL. So as a first questi

[hibernate-dev] jandex-binding work

2015-10-09 Thread Steve Ebersole
Wanted to point out the jandex-binding version in Jira that is the work to pull the annotation binding and Jandex usage from metamodel into upstream. I do not plan on pulling over the shared (shared between hbm.xml and annotations) Binder code from metamodel. This will just be a focus on the code

[hibernate-dev] Some proposals

2015-10-21 Thread Steve Ebersole
Getting some proposals that have been rolling around in my head down on paper (electronically speaking).. *Caching SessionFactory state* The Jira[1] contains the details. The basic gist is to allow for slimming down the in-memory size of the SessionFactory based on how we store certain SF-scope

Re: [hibernate-dev] OGM on WildFly11 ...

2015-10-21 Thread Steve Ebersole
Well first...I am not sure why you are passing a custom RegionFactory. What does your custom RegionFactory do that is missing in the hibernate-infinispan impls? There is a lot to this discussion under the covers. To re-iterate our discussion from f2f... Hibernate is moving toward being able to ac

Re: [hibernate-dev] OGM on WildFly11 ...

2015-10-21 Thread Steve Ebersole
As I outlined in my reply, as things stand accepting a String or Class or instance causes a lot of internal code duplication that I'd obviously like to avoid. I'd be ok with this if we made RegionFactory convention to not accept ctor args. On Wed, Oct 21, 2015 at 9:49 AM Sanne Grinovero wrote:

Re: [hibernate-dev] OGM on WildFly11 ...

2015-10-21 Thread Steve Ebersole
You could, but like I mentioned with StrategyRegistration Jipijapa would need to somehow interject that into the EMFB. On Wed, Oct 21, 2015, 10:17 AM Sanne Grinovero wrote: > On 21 October 2015 at 15:59, Steve Ebersole wrote: > > As I outlined in my reply, as things stand accepting

Re: [hibernate-dev] jandex-binding work

2015-10-21 Thread Steve Ebersole
BTW, I just pushed the work I have done so far on this: https://github.com/sebersole/hibernate-core There is one very simple test just to ensure that the basic binding works properly. On Fri, Oct 9, 2015 at 12:28 PM Steve Ebersole wrote: > Wanted to point out the jandex-binding version

Re: [hibernate-dev] Framework built on top of Hibernate: BabyFish

2015-10-22 Thread Steve Ebersole
Lots of great ideas there. Some covered by the new bytecode work. The "model metadata" stuff I think is another piece to his bytecode enhancement; we could consider doing the same in our enhancement; it is very similar in fact to what we do with the JPA metamodel generator and populating that at

Re: [hibernate-dev] Framework built on top of Hibernate: BabyFish

2015-10-22 Thread Steve Ebersole
BTW, the forum link was wrong. I think you meant: https://forum.hibernate.org/viewtopic.php?f=1&t=1042042 On Thu, Oct 22, 2015 at 7:38 AM Davide D'Alto wrote: > Hi all, > > I just want to mention that > a user on the Hibernate forum created a framework on top of Hibernate: > > https://forum.

Re: [hibernate-dev] Some proposals

2015-10-24 Thread Steve Ebersole
Koen, any thoughts on the "mapping model" proposal? FWIW, silence on this list is taken by me to mean implicit agreement for me to do whatever I want ;) On Wed, Oct 21, 2015 at 8:04 AM Steve Ebersole wrote: > Getting some proposals that have been rolling around in my head do

Re: [hibernate-dev] Some proposals

2015-10-25 Thread Steve Ebersole
les. > Not sure if this answers your questions? > > Cheers, > Koen > > Op 24 okt. 2015, om 20:40 heeft Steve Ebersole het > volgende geschreven: > > Koen, any thoughts on the "mapping model" proposal? FWIW, silence on this > list is taken by me to mean i

Re: [hibernate-dev] Some proposals

2015-10-26 Thread Steve Ebersole
/sebersole/ec53bbc02419fb261825 [2] - https://gist.github.com/sebersole/e6fd42fb2d7b79f7ecc4 [3] - https://gist.github.com/sebersole/ce0a047edc0d4c68bd6e [4] - https://gist.github.com/sebersole/6676abc04ec1b9266304 On Sun, Oct 25, 2015 at 2:04 PM Steve Ebersole wrote: > Really its a question a

[hibernate-dev] 5.0.3

2015-10-26 Thread Steve Ebersole
A reminder that 5.0.3 is slated for 2 days from now. There are currently 10 unresolved issues scheduled for it. If you scheduled an issue for 5.0.3 please make sure it is resolved soon. ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https:

[hibernate-dev] Triage meeting today - cannot attend

2015-10-27 Thread Steve Ebersole
I won't be able to attend the triage meeting today. I have a doctor appointment. ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Some proposals

2015-10-27 Thread Steve Ebersole
also have no impact for the current > tools. > > I hope this helps a bit. > > Cheers, > Koen > > Op 26 okt. 2015, om 15:49 heeft Steve Ebersole het > volgende geschreven: > > So here are the general proposals per object: > > 1) Column - The main change proposed

[hibernate-dev] Third bug-fix release for ORM 5.0

2015-10-28 Thread Steve Ebersole
http://in.relation.to/2015/10/28/hibernate-orm-503-final-release/ ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

[hibernate-dev] SQM : Criteria translation design

2015-10-30 Thread Steve Ebersole
I started work on SQM-24 which covers translation of criteria queries into SQM. The difficulty with this is that the JPA contracts alone do not give enough information to really be able to understand the semantics of the query; there is just not enough information exposed. I can get into specific

Re: [hibernate-dev] Link to test case templates

2015-10-30 Thread Steve Ebersole
The link target is http://www.hibernate.org/issuetracker.html#testcases. That's not the "JIRA main page". On Fri, Oct 30, 2015 at 8:44 AM Gunnar Morling wrote: > Hi, > > When creating a new HHH issue, there is a link "...should generally be > accompanied by a test case" but it directs to the JI

Re: [hibernate-dev] Link to test case templates

2015-10-30 Thread Steve Ebersole
But for some reason it directs me back to JIra. Even just clicking that link in the email does. I wonder if someone set up a bad redirect on the hibernate.org website for that? On Fri, Oct 30, 2015 at 8:52 AM Steve Ebersole wrote: > The link target is http://www.hibernate.

Re: [hibernate-dev] Link to test case templates

2015-10-30 Thread Steve Ebersole
; in a separate subject. On Fri, Oct 30, 2015 at 8:53 AM Steve Ebersole wrote: > But for some reason it directs me back to JIra. Even just clicking that > link in the email does. I wonder if someone set up a bad redirect on the > hibernate.org website for that? > > On Fri,

Re: [hibernate-dev] Link to test case templates

2015-10-30 Thread Steve Ebersole
But that was not the purpose of the content at the old link. Yes the templates are nice but that's not the whole picture of what makes a good test case On Fri, Oct 30, 2015, 9:41 AM Gunnar Morling wrote: > 2015-10-30 15:16 GMT+01:00 Steve Ebersole : > > It looks like that

Re: [hibernate-dev] HQL and spatial

2015-11-02 Thread Steve Ebersole
I have not seen any discussion around "boolean-function-expressions as predicates" on SQM-15... On Thu, Sep 10, 2015 at 7:12 AM Steve Ebersole wrote: > It is true that not all applications use spatial, or even that DB’s >> support (all) spatial functions. But it would help to

Re: [hibernate-dev] Hibernate5 migration

2015-11-02 Thread Steve Ebersole
rnate/hibernate-orm/blob/master/migration-guide.adoc > > > On 08/13/2015 08:38 AM, Steve Ebersole wrote: > > For a lot of your questions, I'd highly suggest reading [1] and [2]. > They > > are mostly the same content (asciidoc versus docbook). > > > > [1]

Re: [hibernate-dev] SQM : Criteria translation design

2015-11-02 Thread Steve Ebersole
o approaches: > Let the criteria objects expose all the required data, make them > traversable by means of a visitor and have an SQM-specific visitor > implementation which converts each criteria object into its SQM > counter-part. > > --Gunnar > > > > > 2015-10-

Re: [hibernate-dev] Fwd: Link to test case templates

2015-11-02 Thread Steve Ebersole
te > > from a test case? I've looked at the github repo but didn't find a > > matching method. > > > > Martijn > > > > On Friday, 30 October 2015, Sanne Grinovero wrote: > >> We should add a page on hibernate.org describing the idea, and from > &g

[hibernate-dev] Upcoming 5.0 releases

2015-11-03 Thread Steve Ebersole
Keeping up with the 4 week timebox for 5.0 bugfix releases unfortunately puts them on bad days with the upcoming holidays. 5.0.4 would hit Nov 25th which is the day before Thanksgiving here in the US 5.0.5 would hit Dec 23rd, 2 days before Christmas So I propose pushing 5.0.4 forward or back one

Re: [hibernate-dev] Upcoming 5.0 releases

2015-11-04 Thread Steve Ebersole
That would still put 5.0.5 in the middle of winter break. Probably we should schedule that for a 3 week timebox too. So: - 5.0.4 -> November 18th - 5.0.5 -> December 9th - 5.0.6 -> January 6th (back to normal 4 week timebox) I generally prefer shorter cycles > I agree, to a point. Bu

Re: [hibernate-dev] Feature proposal: Add Session-level batch size configuration

2015-11-04 Thread Steve Ebersole
At the moment Hibernate builds all of the Loaders that derive from batchsize when the SessionFactory is built. So practically speaking you'd have to account for that change in design. But in general the idea would be ok. On Wed, Nov 4, 2015 at 12:05 PM Vlad Mihalcea wrote: > Hi, > > I was bro

[hibernate-dev] Another HCANN change

2015-11-04 Thread Steve Ebersole
Reference https://hibernate.atlassian.net/browse/HHH-10242 I need to make another change in HCANN and pull that new version into ORM. ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Branching in HSEARCH

2015-11-05 Thread Steve Ebersole
Personally I see this as a pragmatic versus correct discussion. To me, once you release a final you should create it's branch. The pragmatism comes from the fact that following this "correct" approach causes a lot of "extra work" (extra until there is an actual deviation). I regularly do this

Re: [hibernate-dev] Want to contribute to hibernate community . Want some initial easy bugs for fixing

2015-11-05 Thread Steve Ebersole
>>> Sir I wasn't able to focus becoz of my university exams , soon I'll >>> start fixing your bugs. Please keep me throughout . Please help me in all >>> the possible ways . I want to contribute to your community to my full >>> extent. How

Re: [hibernate-dev] Want to contribute to hibernate community . Want some initial easy bugs for fixing

2015-11-05 Thread Steve Ebersole
to be converted to use the Hibernate testing framework[2]. [1] https://hibernate.atlassian.net/browse/HHH-9540?filter=17060 [2] https://github.com/hibernate/hibernate-test-case-templates On Thu, Nov 5, 2015 at 8:57 AM Steve Ebersole wrote: > I am not really sure what you are asking. >

Re: [hibernate-dev] HQL and spatial

2015-11-09 Thread Steve Ebersole
On Mon, Nov 9, 2015 at 2:52 PM Karel Maesen wrote: > Hi Steve, > > > > On 02 Nov 2015, at 16:16, Steve Ebersole wrote: > > > > Any further thoughts? > > > > I looked over the link you gave in regards to literals, but did not > fully understand. I'

[hibernate-dev] Triage tomorrow

2015-11-09 Thread Steve Ebersole
I won't be able to make the triage meeting tomorrow ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

[hibernate-dev] Jira - GitHub sync

2015-11-10 Thread Steve Ebersole
I have been noticing that the "GitHub link" in Jira is no longer automatically performing syncs. I have asked Atlassian about it. In the meantime, if you use that feature (commit linking, PR linking, etc) you will have to manually force a sync in Jira _

Re: [hibernate-dev] Hibernate documentation on GitHub

2015-11-11 Thread Steve Ebersole
I think it makes sense to host these on hibernate.org *after* we figure out the version-specific content issues I brought up in Barcelona. However, I am kind of torn. Unless I misunderstand that would mean moving the sources out of the upstream projects into the hibernate.org git repo. I worry ab

[hibernate-dev] (no subject)

2015-11-11 Thread Steve Ebersole
I'd like to more formally deprecate the legacy bytecode enhancement starting in 5.0.4 and remove it in 5.1. The new code is superior and already feature compatible back to 5.0 Final. Any objections? ___ hibernate-dev mailing list hibernate-dev@lists.jbo

[hibernate-dev] Bytecode interception and attribute name versus attribute index

2015-11-11 Thread Steve Ebersole
As I work on HHH-10267, a thought that keeps coming up in my head is that it would be great to avoid Map lookups in the enhancement and interception code. As an example of what I mean, consider the reader for a String field named `name` which roughly looks like: public String $$_hibernate_read_na

Re: [hibernate-dev] Bytecode interception and attribute name versus attribute index

2015-11-12 Thread Steve Ebersole
ed to persisters et al. for enhanced entities. > > Not sure whether it's doable or how complex it'd be, just throwing out the > idea. > > --Gunnar > > > 2015-11-11 21:37 GMT+01:00 Steve Ebersole : > > As I work on HHH-10267, a thought that keeps coming up i

Re: [hibernate-dev] Bytecode interception and attribute name versus attribute index

2015-11-12 Thread Steve Ebersole
But I think that just redefines the same problem. Just that now instead of String->Integer we need some Integer->Integer resolution. Not sure that really gains us anything. On Thu, Nov 12, 2015 at 8:29 AM Steve Ebersole wrote: > I have no estimate as to how much this would help. Ma

Re: [hibernate-dev] Bytecode interception and attribute name versus attribute index

2015-11-12 Thread Steve Ebersole
t; attributes in the order as determined by the enhancer. Then at > runtime, upon getter/setter invocation, the index values passed from > the enhanced code would be used as is for array index access in > persisters. > > 2015-11-12 15:30 GMT+01:00 Steve Ebersole : > > But I thin

Re: [hibernate-dev] (no subject)

2015-11-12 Thread Steve Ebersole
https://hibernate.atlassian.net/browse/HHH-10280 https://hibernate.atlassian.net/browse/HHH-10281 On Wed, Nov 11, 2015 at 12:15 PM andrea boriero wrote: > no objections > > On 11 November 2015 at 17:55, Steve Ebersole wrote: > >> I'd like to more formally deprec

Re: [hibernate-dev] Bytecode interception and attribute name versus attribute index

2015-11-12 Thread Steve Ebersole
On Thu, Nov 12, 2015 at 2:44 PM Sanne Grinovero wrote: > Sounds like a very interesting patch, I agree with you that there's > much potential. > Although Steve from your description it seems like you don't think it can > work? > Not sure I follow. You agree with the potential of the idea I am p

Re: [hibernate-dev] Filter activation

2015-11-13 Thread Steve Ebersole
Well I like this idea (additional flag on @Filter) better the actual request (multi-valued config setting). And what about for the @FilterDef(inition)? One concern I have is, e.g., getting a collection with a filter enabled, now disabling a filter and then initializing the collection. That seems

Re: [hibernate-dev] (no subject)

2015-11-13 Thread Steve Ebersole
remove the old approach. > > Thanks, > > --Gunnar > > > 2015-11-12 17:46 GMT+01:00 Sanne Grinovero : > > +1 > > > > On 12 November 2015 at 16:39, Steve Ebersole > wrote: > >> https://hibernate.atlassian.net/browse/HHH-10280 > >> https:

Re: [hibernate-dev] (no subject)

2015-11-13 Thread Steve Ebersole
Hmm, looks like I might have been mistaken about the "external Hibernate Maven plugin". The only one I can find (cannot remember if this is the one I was thinking of) just does schema export. On Fri, Nov 13, 2015 at 8:11 AM Steve Ebersole wrote: > For runtime enhancement there

Re: [hibernate-dev] Filter activation

2015-11-13 Thread Steve Ebersole
t guys now and they ask if hibernate > allows you to specify the filters to activate in a property file. I guess > they are interested in adding this functionality to spring-boot too. > > 2015-11-13 16:13 GMT+02:00 Steve Ebersole : > >> Well not sure I said it is valid ;) There

Re: [hibernate-dev] (no subject)

2015-11-13 Thread Steve Ebersole
Forgot to address this part... 5.1 will include the ability to define lazy attribute fetch groups, the development of which requires a lot of changes to the contracts called from bytecode enhancement. So rather than retrofit these changes back into the legacy enhancement code, I chose to simply

[hibernate-dev] Attribute laziness and caching

2015-11-13 Thread Steve Ebersole
In reworking some of the support for bytecode-enhanced laziness, I started thinking deeper about this idea of partial caching of such entities. First and foremost, why do we even allow this? Essentially what happens is that we allow a user to partially load an entity, and then stick that partial

Re: [hibernate-dev] Attribute laziness and caching

2015-11-13 Thread Steve Ebersole
attribute names. As it stands now, this boolean needs to become a Collection of Strings (attribute names) which is a big change perf wise. This affects one of the classes we have worked hard to minimize in recent months: EntityEntry. On Fri, Nov 13, 2015 at 11:08 AM Steve Ebersole wrote: >

Re: [hibernate-dev] Hibernate documentation on GitHub

2015-11-13 Thread Steve Ebersole
On Fri, Nov 13, 2015 at 3:30 PM Hardy Ferentschik wrote: > Hi, > > On Wed, Nov 11, 2015 at 02:36:13PM +0000, Steve Ebersole wrote: > > I think it makes sense to host these on hibernate.org *after* we figure > out > > the version-specific content issues I brought up in Ba

Re: [hibernate-dev] Attribute laziness and caching

2015-11-13 Thread Steve Ebersole
n Fri, Nov 13, 2015 at 11:15 AM Steve Ebersole wrote: > Gah, hit send too soon :) > > This comes up because I am working on the idea of lazy attribute fetch > groups. This means that the simple boolean that we used to store is no > longer going to be sufficient. This ties in w

<    1   2   3   4   5   6   7   8   9   10   >