Re: [hibernate-dev] OGM: CheckStyle and imports due to JavaDoc comments

2013-08-01 Thread Gunnar Morling
class file and thus can't cause any issues when not being present. [1] http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.2.1 2013/8/1 Emmanuel Bernard > > On 31 juil. 2013, at 13:14, Hardy Ferentschik wrote: > > > > > On 31 Jan 2013, at 10:41 AM,

Re: [hibernate-dev] Putting a new release of JPA modelgen into shape?

2013-08-05 Thread Gunnar Morling
I think I could help with doing with the release, if you, Hardy, don't get to it (assuming it's a common Maven release process as e.g. in HV). Btw. there seems to be an issue with one failing test on master as per the CI job: http://ci.hibernate.org/job/hibernate-metamodelgen-master/ (I just trigg

[hibernate-dev] Hibernate Validator 5.1.0.Alpha1 Released

2013-08-09 Thread Gunnar Morling
Hi, Hibernate Validator 5.1.0.Alpha1 has been released, with several new features around method validation and message interpolation as well as performance improvements. Check out http://in.relation.to/Bloggers/HibernateValidator510Alpha1Releasedfor the details. --Gunnar

Re: [hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Gunnar Morling
+1 We're doing the same in HV. Not sure though whether an ad-hoc action is required to add it everywhere. In Eclipse I'm having a "save action" which adds it to every file I'm touching in the course of other work I'm doing. --Gunnar 2013/8/9 Hardy Ferentschik > > On 9 Jan 2013, at 5:49 PM,

Re: [hibernate-dev] HSEARCH - Assorted fixes to the pom files

2013-08-13 Thread Gunnar Morling
Hi Guillaume, Sounds great, nothing much to add to what Sanne said. Regarding properties for versions, I think it's only worth it in case a given version is used several times (e.g. by several "modules" of a dependency which all should be pulled in in the same version). Otherwise I think it enoug

Re: [hibernate-dev] [hibernate-hql-parser] 1.0.0.Alpha3 released

2013-08-13 Thread Gunnar Morling
2013/8/13 Sanne Grinovero > @Gunnar I've included your last pull, tagged it and uploaded it already. > Awesome Sanne, thanks. > I've sent a pull to OGM including your tests and more tests to verify > the LIKE behavior; I think they are quite comprehensive and are > passing, but if you are able

Re: [hibernate-dev] Exceptions while trying to use HibernateOGM

2013-08-14 Thread Gunnar Morling
Hi, Please post usage questions to the forum [1], as this mailing list is about discussing the development of the Hibernate projects. That being said, the exception is caused by configuring a non-existent transaction factory class ("org.transaction.JDBCTransactionFactory"). Refer to the reference

Re: [hibernate-dev] [hibernate-hql-parser] 1.0.0.Alpha3 released

2013-08-14 Thread Gunnar Morling
hat issue in hibernate-search 4.4.0.Alpha1 that prevents us to > integrate this in master right now because too many of infinispan-query > tests would fail (due to > https://hibernate.atlassian.net/browse/HSEARCH-1318). Do you have an ETA > for it? > > Adrian > > > On 08

[hibernate-dev] [Parser] Prefixes used for log messages

2013-08-27 Thread Gunnar Morling
Hi all, Emmanuel and I are wondering which prefix should be used for log messages created by the parser component ("project code" in JBoss logging nomenclature). I can see the following possibilities: 1) Use HHH-... as in ORM, using a reserved interval of ids 2) Use a new prefix such as HQLPARSE

Re: [hibernate-dev] [Parser] Prefixes used for log messages

2013-08-27 Thread Gunnar Morling
20 AM, Sanne Grinovero wrote: > > My vote goes to #2 as long as we use a shorter code. HQL-1 doesn't > > looks too bad. > > > > In case we incorporate this in ORM I'd change them to HHH- but we can > > discuss that if/when that happens. >

Re: [hibernate-dev] JPA API jar artifacts

2013-08-27 Thread Gunnar Morling
Sounds reasonable to me. One question only: It is guaranteed that the JPA spec itself never will do a micro update, right? I.e. the spec would never be updated from say 2.2 to 2.2.1 (but to 2.3 in this case)? 2013/8/27 Steve Ebersole > I am contemplating duplicating[1] our existing JPA API jar

Re: [hibernate-dev] JPA API jar artifacts

2013-08-27 Thread Gunnar Morling
JPA nor which one will be > chosen. > > Emmanuel > > On Tue 2013-08-27 10:55, Steve Ebersole wrote: > > I don't ever foresee that happening. I don't know that it is > > "guaranteed" anywhere though. > > > > On 08/27/2013 10:29 AM, Gunnar

[hibernate-dev] [OGM] Dropping "hibernate-ogm" prefix from folder names

2013-08-29 Thread Gunnar Morling
Hi, I'd like to remove the prefix "hibernate-ogm" from the folder names of the OGM modules [1]. This will make navigating in a shell easier and also aligns the structure of the code base with HSEARCH and HV. Note that this is only about folder names, the artifact ids would stay unchanged. If no-o

Re: [hibernate-dev] [OGM] Dropping "hibernate-ogm" prefix from folder names

2013-08-29 Thread Gunnar Morling
osed changes still can be examined also if a PR has been closed. > On Thu 2013-08-29 10:14, Gunnar Morling wrote: > > Hi, > > > > I'd like to remove the prefix "hibernate-ogm" from the folder names of > the > > OGM modules [1]. This will make navigatin

Re: [hibernate-dev] hiberate-commons-annotations and locating annotations

2013-08-29 Thread Gunnar Morling
2013/8/29 Emmanuel Bernard > On Thu 2013-08-29 14:22, Steve Ebersole wrote: > > Given an XProperty, is there a way to ask for annotations which are > > defined only locally on that declared property (not on any super > classes)? > > I believe that is what XProperty will give you. > The list of XP

[hibernate-dev] [Validator] Applying constraints to property objects

2013-09-03 Thread Gunnar Morling
Hi, Yesterday George Gastaldi from the Forge team approached me regarding the application of constraints to "wrapped" properties. Their situation is the following: ... @Size(min=3, max=10) UIInput name; ... Here, UInput is some kind of UI component, wrapping the actual property v

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-03 Thread Gunnar Morling
t;Converter" a bit too generic, in particular since it needs not only to convert the actual property value but also the static type so you can reject this (because @Size can't be applied to Object): @Size(min=3, max=10) UIInput name; On Tue 2013-09-03 15:58, Gunnar Morling wrote: &

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-03 Thread Gunnar Morling
(using correct list now) 2013/9/3 Hardy Ferentschik > > > > > On 3 Sep 2013, at 15:58, Gunnar Morling wrote: > > > Hi, > > > > Yesterday George Gastaldi from the Forge team approached me regarding the > > application of constraints to &quo

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-04 Thread Gunnar Morling
2013/9/4 Gunnar Morling > (using correct list now) > > > 2013/9/3 Hardy Ferentschik > >> >> >> >> >> On 3 Sep 2013, at 15:58, Gunnar Morling wrote: >> >> > Hi, >> > >> > Yesterday George Gastaldi from the Forge t

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-04 Thread Gunnar Morling
2013/9/4 Emmanuel Bernard > On Wed 2013-09-04 8:27, Gunnar Morling wrote: > > 2013/9/3 Emmanuel Bernard > > > > > Something like c makes sense. > > > > > > > Ok. > > > > > > > It similar to the notion of converter

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-04 Thread Gunnar Morling
2013/9/4 Emmanuel Bernard > On Wed 2013-09-04 9:26, Gunnar Morling wrote: > > 2013/9/4 Emmanuel Bernard > > > > > On Wed 2013-09-04 8:27, Gunnar Morling wrote: > > > > 2013/9/3 Emmanuel Bernard > > > > > > > >

Re: [hibernate-dev] Hibernate Search compatibility with ORM 4.3

2013-09-04 Thread Gunnar Morling
One option would be to (temporarily) establish an abstraction layer in HSEARCH, which provides a uniform way for accessing the concerned functionality from ORM. You would then have two implementations of this layer, one based on 4.2 and one based on 4.3 (e.g. in form of two separate HSEARCH module

Re: [hibernate-dev] [Validator] Applying constraints to property objects

2013-09-04 Thread Gunnar Morling
2013/9/4 Hardy Ferentschik > > On 3 Jan 2013, at 4:10 PM, Emmanuel Bernard > wrote: > > > Something like c makes sense. > > It similar to the notion of converter in JPA. > > > > But why not the following style of interfaces > > > >interface Convert { > >To convert(From); > >} > >

Re: [hibernate-dev] Hibernate Search compatibility with ORM 4.3

2013-09-05 Thread Gunnar Morling
It would have resolved this problem, but we can't use this approach yet as > a) it's not included in the older ORMs yet, including some which we > should still support > b) I forgot to make one for EntityManager :-( > > Preferences? > > Sanne > > &g

Re: [hibernate-dev] Required improvements for Infinispan's query engine

2013-09-08 Thread Gunnar Morling
Hi Adrian, We have been contemplating some ideas around your requirements. Are you working with several "types" (as defined by ProtoBuf files) or only one such type per one of your caches (and thus afaics SearchFactory)? In case of the latter, one idea would be that you always target your generic

Re: [hibernate-dev] Required improvements for Infinispan's query engine

2013-09-10 Thread Gunnar Morling
a good idea > that would solve my current needs. > > Thanks, > Adrian > > > On 09/08/2013 02:33 PM, Gunnar Morling wrote: > > Hi Adrian, > > We have been contemplating some ideas around your requirements. Are you > working with several "types" (as defined b

[hibernate-dev] JCP Survey by London Java Community

2013-09-18 Thread Gunnar Morling
Hi all, I came across an interesting survey conducted by the London Java Community [1]. When being asked in which area the JCP should develop a standard, 18% of participants answered with "NoSQL", making this the most popular response, followed by "Data Analysis and Big Data" and "Platform as a S

[hibernate-dev] [HV] Extending ParameterNameProvider contract for other element types

2013-09-19 Thread Gunnar Morling
Hi, On SO [1], a user asked whether it's possible to report custom names for property constraint violations, e.g. "nm" as retrieved from the annotation in this case: @JsonProperty("nm") @NotNull final public String name; At the moment that's not possible with HV, but one might think

Re: [hibernate-dev] [HV] Extending ParameterNameProvider contract for other element types

2013-09-19 Thread Gunnar Morling
ty list. Worth creating a Jira issue for though. > > --Hardy > > > On 19 Jan 2013, at 9:05 AM, Gunnar Morling wrote: > > > Hi, > > > > On SO [1], a user asked whether it's possible to report custom names for > > property constraint violations,

Re: [hibernate-dev] [HV] Extending ParameterNameProvider contract for other element types

2013-09-19 Thread Gunnar Morling
I also think that the conversion of the ConstraintViolation(s) into another format is more in the responsibility of the integrating technology. Taking JAX-RS/Resteasy as example, it will transparently convert any constraint violation objects into an equivalent XML or JSON response. Provided we ret

Re: [hibernate-dev] Decoupling indexed types from their class definitions

2013-09-20 Thread Gunnar Morling
Hi, I'm beginning to wonder which of these things we actually do need in 4.4 to satisfy the requirements of ISPN remote queries. At the moment we have: * the ability to index "user types" via one generic "value holder type" using a smart class bridge which adds all the required fields; with HSEAR

Re: [hibernate-dev] [Search] Dynamic sharding configuration

2013-09-24 Thread Gunnar Morling
2013/9/24 Sanne Grinovero > Correct me if I'm wrong, but trying to synthesize this discussion I > think that we're fundamentally agreeing that dynamic sharding is a > "better replacement" for static sharding. Yes, from what I understand I think that's right. To me, the question really is what

Re: [hibernate-dev] [HV] Extending ParameterNameProvider contract for other element types

2013-10-07 Thread Gunnar Morling
mentation of said SPI into HV, thus ensuring the constraint violations already contain the "right" property names. Or it could do the name changes when converting the violations into JSON. I guess both would work one way or the other. > On Thu 2013-09-19 10:35, Gunnar Morling wrote:

Re: [hibernate-dev] Decoupling indexed types from their class definitions

2013-10-07 Thread Gunnar Morling
cting queries to specific "user types", but this one has been moved to 5 as well. Thanks, --Gunnar 2013/9/20 Gunnar Morling > Hi, > > I'm beginning to wonder which of these things we actually do need in 4.4 > to satisfy the requirements of ISPN remote queries.

Re: [hibernate-dev] Decoupling indexed types from their class definitions

2013-10-07 Thread Gunnar Morling
ed to make space for more experimentation. > Ok, that sounds good. How will queries restricted to one user type be realized with the current implementation? > > Sanne > > On 7 October 2013 09:20, Gunnar Morling wrote: > > Sanne, > > > > Is there any news on where

Re: [hibernate-dev] Decoupling indexed types from their class definitions

2013-10-07 Thread Gunnar Morling
being. 2013/10/7 Sanne Grinovero > On 7 October 2013 10:51, Gunnar Morling wrote: > > 2013/10/7 Sanne Grinovero > >> > >> Hi Gunnar, > >> yes we've been reviewing the Infinispan Query code and it seem that > >> what we have today if good enoug

Re: [hibernate-dev] [Search] Dynamic sharding configuration

2013-10-08 Thread Gunnar Morling
Sanne, As you say adding yet another interface makes things even more difficult to grok; So I'd vote for adding the method for the deletion use case to SIP directly. I'm not sure whether it has been considered before, but maybe we could unify the methods and work with a parameter object as a midd

Re: [hibernate-dev] [Search] Dynamic sharding configuration

2013-10-08 Thread Gunnar Morling
2013/10/8 Sanne Grinovero > We'll need to time cap this discussion as we're way too late, of > course this will need to be tagged @experimental. > Having said that, let's try to find the best proposal possible by > lunch time, as one of the approaches needs to be merged: it's very > clear that th

[hibernate-dev] [OGM] Requiring Java 7?

2013-10-09 Thread Gunnar Morling
Hi, In the context of the notorious JavaDoc CSS issue ([OGM-341] - an updated stylesheet is required when building our projects with Java 7) Sanne, Davide and I were wondering whether we should take the opportunity and actually require Java 7 as the minimum version for Hibernate OGM, not only at b

Re: [hibernate-dev] [OGM] Requiring Java 7?

2013-10-10 Thread Gunnar Morling
WF as EE 7 container must "provide all application components with at least the Java Platform, Standard Edition, v7 (Java SE) APIs." (as per the EE spec, 6.1.1). > Emmanuel > > On Wed 2013-10-09 13:55, Gunnar Morling wrote: > > Hi, > > > > In the con

Re: [hibernate-dev] [OGM] Requiring Java 7?

2013-10-10 Thread Gunnar Morling
1 for requiring Java7 >> >> On 9 October 2013 12:55, Gunnar Morling wrote: >> >>> Hi, >>> >>> In the context of the notorious JavaDoc CSS issue ([OGM-341] - an updated >>> stylesheet is required when building our projects with Java 7) Sanne, &

Re: [hibernate-dev] Search compatibility with WildFly

2013-10-13 Thread Gunnar Morling
2013/10/13 Hardy Ferentschik > > On 13 Jan 2013, at 12:41 AM, Sanne Grinovero wrote: > > > I'm working to replace the integration tests using the now outdated > > EAP Alphas with WildFly 8.0.0.Beta1, which also has the benefit to > > remove the need for the enterprise repository. > > +100 > Nic

Re: [hibernate-dev] Search compatibility with WildFly

2013-10-14 Thread Gunnar Morling
2013/10/13 Sanne Grinovero > On 13 October 2013 09:52, Gunnar Morling wrote: > > > > > > > > 2013/10/13 Hardy Ferentschik > >> > >> > >> On 13 Jan 2013, at 12:41 AM, Sanne Grinovero > wrote: > >> > >> > I'm wor

Re: [hibernate-dev] [HV] HV and RESTEasy integration

2013-10-14 Thread Gunnar Morling
Hi, Actually I thought what you describe would already be the case. RESTEasy has a class ResteasyViolationExceptionMapper [1] which creates HTTP responses in case of violation exceptions. I had a quick look at the same and from that I'd say the required code is basically in place already in this

Re: [hibernate-dev] HHH-2907 : re-purpose org.hibernate.annotations.Generated ?

2013-10-17 Thread Gunnar Morling
2013/10/16 Steve Ebersole > Reference : https://hibernate.atlassian.net/browse/HHH-2907 > > I'd like to get people's feedback on the idea of re-purposing > org.hibernate.annotations.Generated as discussed on HHH-2907. As > mentioned in the Jira, my inclination is to do the re-purposing. > Sound

Re: [hibernate-dev] generated code in hibernate

2013-10-17 Thread Gunnar Morling
Another category are Java types generated from XML schemas defining several descriptors such as validation.xml in Hibernate Validator. Generally you'll find any generated code under target/generated-sources or similar once you have run a project's build. --Gunnar 2013/10/17 Sanne Grinovero > H

Re: [hibernate-dev] [OGM] support for remote grids

2013-10-17 Thread Gunnar Morling
2013/10/17 Sanne Grinovero > Thanks! > If you could get some tests to work with the HotRod queries soon, you > might be on time to provide some very valuable feedback to the > Infinispan team. > I know you're familiar with creating GridDialects :-) but also reach > out for Gunnar's help for the Q

Re: [hibernate-dev] [OGM] JPQL support

2013-10-20 Thread Gunnar Morling
Hi Guillaume, As you say JPQL support is basically not yet implemented in OgmEntityManager. There is already some code in this class which obtains an OgmSession for a given OEM (getDelegate(), buildOgmSession()). So I think one could implement createQuery() either by delegating to OgmSession#crea

Re: [hibernate-dev] [OGM] MongoDB JPQL Query: comparison with object fails

2013-10-20 Thread Gunnar Morling
Hi, Querying on references to other entities has not been taken into account so far, i.e. comparisons work only for attributes of the entity itself. I think for Mongo we also don't yet support querying on attributes of embedded entities (it is supported by the Lucene parser backend). Could you op

Re: [hibernate-dev] [OGM] Option identity

2013-10-21 Thread Gunnar Morling
2013/10/21 Emmanuel Bernard > Gunnar has I had a long discussion and disagreement on the behavior of > Option in Hibernate OGM that we could not resolve. We would like your > feedback. > > I did design Option to represent three key concepts: > > - an option family - for example named query > - an

Re: [hibernate-dev] [OGM] Transactions in Neo4j datastore

2013-10-25 Thread Gunnar Morling
Hi Davide, I'm wondering why instead of creating Neo4jJtaPlatform we don't provide the TransactionManager as retrieved from ORM's JtaPlatform to Neo4j (as we e.g. do for ISPN)? I find the isNeo4j() code in ogm-core a bit discomforting. Neo4j seems to allow for this via the TransactionManagerProvi

Re: [hibernate-dev] [OGM] Transactions in Neo4j datastore

2013-10-25 Thread Gunnar Morling
;m happy if you want to explore this solution but I think we should talk > with the Neo4j guys first to see if it is possible to add an option to pass > an already created object. > It seems easier and it doesn't requires hacks. > Yes, that'd be nice. I've just aske

Re: [hibernate-dev] [OGM] Option identity

2013-10-25 Thread Gunnar Morling
2013/10/21 Emmanuel Bernard > Gunnar has I had a long discussion and disagreement on the behavior of > Option in Hibernate OGM that we could not resolve. We would like your > feedback. > > I did design Option to represent three key concepts: > > - an option family - for example named query > - an

[hibernate-dev] Failure upon importing ORM sources into IDE

2013-10-25 Thread Gunnar Morling
Hi, When importing the ORM Gradle project into IntelliJ or Eclipse, I'm getting the following error: === FAILURE: Build failed with an exception. * Where: Build file '[...]/hibernate-orm/hibernate-core/hibernate-core.gradle' line: 2 * What went wrong: A problem occurred evaluating project ':h

Re: [hibernate-dev] Failure upon importing ORM sources into IDE

2013-10-25 Thread Gunnar Morling
2013/10/25 Hardy Ferentschik > > On 25 okt 2013, at 22:54, Gunnar Morling wrote: > > > When importing the ORM Gradle project into IntelliJ or Eclipse, I'm > getting > > the following error: > > Importing how? Did you create the IDE project files via 'grad

[hibernate-dev] [OGM] Supporting Cassandra

2013-11-04 Thread Gunnar Morling
Hi, There is a pull request for adding support for Cassandra to OGM [1] which has been created quite a long time ago. Does anyone have details about it, e.g. what would need to be done in order to integrate it? I guess it will need some work due to recent changes in OGM and we might also benefit

Re: [hibernate-dev] [OGM] Hibernate OGM @ Devoxx

2013-11-04 Thread Gunnar Morling
Hi Guillaume, yes, let's do this, looking forward to it :) Time-wise, would it be possible that we do it Thursday afternoon? --Gunnar 2013/11/4 Guillaume SCHEIBEL > Guys, > > WDYT about having a 1h session Wednesday afternoon (around 2:00PM) ? > > Guillaume > > > 2013/10/2 Davide D'Alto >

Re: [hibernate-dev] [OGM] Hibernate OGM @ Devoxx

2013-11-05 Thread Gunnar Morling
Yes, that'd be awesome :) Looking forward to it, --Gunnar 2013/11/5 Guillaume SCHEIBEL > right. > > Do you want me to send you an invite so you'll have a reminder into your > calendar ? > > Guillaume > > > 2013/11/5 Gunnar Morling > >> 2013/11/

Re: [hibernate-dev] [OGM] Hibernate OGM @ Devoxx

2013-11-05 Thread Gunnar Morling
; > I'd like to attend as well but have an interview scheduled for 2pm. >> Can we meet 3ish instead ? >> >> Arun >> >> On Mon, Nov 4, 2013 at 12:46 PM, Guillaume SCHEIBEL >> wrote: >> > No problem for me. >> > >> > Guillaume

Re: [hibernate-dev] [OGM] OGM-21 query support

2013-11-06 Thread Gunnar Morling
Hi, Maybe you could have OgmEntityManager implement HibernateEntityManagerImplementor (its an interface, no class) and forward it the HEMI methods to the wrapped EM instance? --Gunnar 2013/11/4 Guillaume SCHEIBEL > Hello, > > I have started to work on the support of the JPQL queries from the

[hibernate-dev] [OGM] RowKey vs. EntityKey

2013-11-08 Thread Gunnar Morling
Hi, This may be a noob question, but what is the difference between RowKey and EntityKey in OGM? Both seem to represent one row (by means of table name + key column names + column values), albeit being implemented a bit differently. Could they be merged into one class? Thanks, --Gunnar

Re: [hibernate-dev] [OGM] Supporting Cassandra

2013-11-11 Thread Gunnar Morling
> > Khanh > > > > Le 04/11/2013 18:08, Emmanuel Bernard a écrit : > > Khan did the initial work but Cassandra client APIs were in a big flux >> when he worked on it. That may have stabilized over the latest CQL. >> I am CCing Khan. I think he is still on Earth somew

Re: [hibernate-dev] [OGM] RowKey vs. EntityKey

2013-11-11 Thread Gunnar Morling
ful in a > couple of places. > Yes, that would make sense. I think this was what I actually meant to ask, it just wasn't clear to me when writing the original question :) Emmanuel > > On 8 nov. 2013, at 13:20, Gunnar Morling wrote: > > > Hi, > > > > This ma

Re: [hibernate-dev] SessionEventsListener feature (HHH-8654)

2013-11-14 Thread Gunnar Morling
Hi, This sounds very promising. Regarding the suggested type names, I'd personally prefer SessionEventListener (without the plural "s") and something like BaseSessionEventListener instead of EmptySessionEventsListener, as "empty" implies a specific behavior which a sub-class would not satisfy whe

Re: [hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Gunnar Morling
Hi, 2013/11/14 Guillaume SCHEIBEL > Hi guys, > > How often is the snapshot version of ogm published onto the public > repositories ? (btw which one is "valid" [1] ? [2] ? other? ). > Apparently this doesn't happen on a regular basis atm. I'll have a look into the CI job ( http://ci.hibernate.o

Re: [hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Gunnar Morling
2013/11/14 Gunnar Morling > Hi, > > 2013/11/14 Guillaume SCHEIBEL > >> Hi guys, >> >> How often is the snapshot version of ogm published onto the public >> repositories ? (btw which one is "valid" [1] ? [2] ? other? ). >> > > Apparently

Re: [hibernate-dev] [OGM] Support of the MongoDB aggregation framework

2013-11-14 Thread Gunnar Morling
Hey Guillaume, 2013/11/14 Guillaume SCHEIBEL > Hello, > > I'm (at the moment) listening to the "MongoDB for JPA developers) and the > speaker talks about the aggregation framework. Should we plan to support it > as well ? > That's a very interesting topic. I haven't yet really looked into the

Re: [hibernate-dev] SessionEventsListener feature (HHH-8654)

2013-11-15 Thread Gunnar Morling
/15 Steve Ebersole > Even though you have multiple event*s* being handled? > > > On Thu 14 Nov 2013 06:20:09 AM CST, Sanne Grinovero wrote: > >> On 14 November 2013 11:36, Gunnar Morling wrote: >> >>> Hi, >>> >>> This sounds very prom

[hibernate-dev] [ORM/OGM] String-typed version properties

2013-11-21 Thread Gunnar Morling
All, I'm working on supporting on the CouchDB backend for OGM, and more specifically on integrating the optimistic locking functionality which is built into CouchDB [1]. For that purpose, each CouchDB document has a defined field "_rev" which is a UUID and is updated on the server-side upon each

Re: [hibernate-dev] Annotation Processors

2013-11-25 Thread Gunnar Morling
Hi, Hibernate OGM is using hibernate-testing, but I'm not totally sure why. When I remove the dependency, the build still passes; Maybe it was used in the past. But also if we started to use stuff from hibernate-testing one day, a merge with hibernate-core wouldn't be a problem, provided you publ

Re: [hibernate-dev] [ORM/OGM] String-typed version properties

2013-11-26 Thread Gunnar Morling
Thoughts, anyone? Steve? Thanks, --Gunnar 2013/11/21 Gunnar Morling > All, > > I'm working on supporting on the CouchDB backend for OGM, and more > specifically on integrating the optimistic locking functionality which is > built into CouchDB [1]. > > For that purp

Re: [hibernate-dev] [OGM] Build time

2013-11-28 Thread Gunnar Morling
Answers inline. 2013/11/28 Emmanuel Bernard > My machine is in a poor state. But still, the default mvn install took > more than 7 minutes. > For info the minimal build takes 3:20 (4:30 with the integration tests). > > We have added a few mechanisms over time on OGM: > > * modules depending on a

Re: [hibernate-dev] [OGM] Build time

2013-11-28 Thread Gunnar Morling
2013/11/28 Emmanuel Bernard > On Thu 2013-11-28 10:45, Gunnar Morling wrote: > > 2013/11/28 Emmanuel Bernard > > > a. Provide a -Dminimal flag to run in case 1. > > > > > > > You still would have to specify the backend you want to build, right? How > &g

Re: [hibernate-dev] [OGM] Build time

2013-11-28 Thread Gunnar Morling
2013/11/28 Hardy Ferentschik > > > How about > > > > d. Use an alias for all skip options: > > > > export mvnFast = "mvn -DskipITs -DskipDocs -DskipDistro” > > instead of using a variable, just use an alias. I have several aliases > defined in my ~/.alias file which I source from .bashrc. > Yes,

Re: [hibernate-dev] [OGM] Build time

2013-11-28 Thread Gunnar Morling
2013/11/28 Gunnar Morling > > > > 2013/11/28 Hardy Ferentschik > >> >> > How about >> > >> > d. Use an alias for all skip options: >> > >> > export mvnFast = "mvn -DskipITs -DskipDocs -DskipDistro” >> >> inst

[hibernate-dev] Libraries used by top 10.000 GitHub projects

2013-11-28 Thread Gunnar Morling
Hi, Came across a post with interesting stats on the libraries used by the top 10.000 GitHub projects [1]. The actual data is in this spreadsheet [2]. Some of our artifacts are well placed: #33 hibernate #37 hibernate-validator #38 hibernate-core #47 validation-api #74 hibernate-jpa Assuming th

Re: [hibernate-dev] [ORM/OGM] String-typed version properties

2013-11-28 Thread Gunnar Morling
After discussing the matter with Steve, I've created https://hibernate.atlassian.net/browse/HHH-8757 for this and will create a PR for the change. 2013/11/26 Gunnar Morling > Thoughts, anyone? Steve? > > Thanks, > > --Gunnar > > > > 2013/11/21 Gunnar Morling

Re: [hibernate-dev] Annotation Processors

2013-11-29 Thread Gunnar Morling
others can access it as well using that > published classifier. > > > > On Mon 25 Nov 2013 08:42:49 AM CST, Gunnar Morling wrote: > >> Hi, >> >> Hibernate OGM is using hibernate-testing, but I'm not totally sure why. >> >> When I remove the dependen

[hibernate-dev] [OGM] Distinguishing embedded collections and associations in document stores

2013-11-29 Thread Gunnar Morling
Hi, I'm working on support for embedded associations in CouchDB [1]. Checking how this is mapped by the MongoDB dialect I saw its done like this (here with an order column): { "_id": "123", "orderedChildren": [ { "birthorder": 0, "or

[hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-03 Thread Gunnar Morling
Hi, In the context of embedded associations for CouchDB [1], I'm working on support for configuring the association storage mode using our new option system [2]. I can see the following "axes" of configuration here: * via annotation - on an association property - on a type * via the option AP

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-03 Thread Gunnar Morling
applies. That's different from the proposed algorithm where the property really would only be used as fallback if not configuration is given by means of annotations or API. Thus I think it makes sense to make this semantics transparent via the "default..." prefix in the property

Re: [hibernate-dev] [OGM] Distinguishing embedded collections and associations in document stores

2013-12-03 Thread Gunnar Morling
assertion method in question is never used for cases with actual embeddables. We can then improve the tests/assertions in a next step. --Gunnar > > On Fri 2013-11-29 11:49, Gunnar Morling wrote: > > Hi, > > > > I'm working on support for embedded associations in Cou

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-04 Thread Gunnar Morling
t Hibernate Validator. I never had anything > bad to say about this approach in my past experience. > > Emmanuel > > On Tue 2013-12-03 10:48, Gunnar Morling wrote: > > Hi, > > > > In the context of embedded associations for CouchDB [1], I'm working on > &g

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-04 Thread Gunnar Morling
2013/12/3 Emmanuel Bernard > On Tue 2013-12-03 17:48, Gunnar Morling wrote: > > Thanks, Davide. > > > > 2013/12/3 Davide D'Alto > > > > > It looks good to me. > > > > > > > Ok. > > > > > I first didn't lik

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-04 Thread Gunnar Morling
a a user sets the same property in two different places he will for > sure know that one value will override the other at some point. Why would > he do that otherwise? > > > > > On Tue, Dec 3, 2013 at 4:48 PM, Gunnar Morling wrote: > >> Thanks, Davide. >> >> 2

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-04 Thread Gunnar Morling
2013/12/4 Emmanuel Bernard > On Wed 2013-12-04 10:33, Gunnar Morling wrote: > > 2013/12/3 Emmanuel Bernard > > > > > On Tue 2013-12-03 17:48, Gunnar Morling wrote: > > > > Thanks, Davide. > > > > > > > > 20

Re: [hibernate-dev] ORM 4.2.8.Final breaks the EntityKey API and thus HSearch

2013-12-06 Thread Gunnar Morling
+1 Sounds reasonable. 2013/12/6 Sanne Grinovero > Hi all, > sorry was traveling yesterday, and while I saw & merged Guillaume's > pull request, I missed this conversation. > > We can to an Hibernate Search 4.4 minor release, would that resolve > all uncomforts? > > The release blog would then a

Re: [hibernate-dev] ArrayIndexOutOfBoundsException in ReflectionHelper.parametersResolveToSameTypes

2013-12-11 Thread Gunnar Morling
Hi Ales, Agreed, that doesn't look right. At this location the array should always have one or two elements, I can't say right now what could cause the array to be empty there. I just put your Email class into a test project of mine but couldn't reproduce the error (maybe something is special abo

Re: [hibernate-dev] ArrayIndexOutOfBoundsException in ReflectionHelper.parametersResolveToSameTypes

2013-12-11 Thread Gunnar Morling
Ales, Can you confirm that some static method is involved here (which was the case for HV-818)? I can't see one on your Email class but maybe there is one on AbstractEntity? If so, I think releasing a 5.0.2.Final would make sense, containing the following three issues: * HV-818 (this issue) * HV

[hibernate-dev] [OGM] Store-specific constants

2013-12-11 Thread Gunnar Morling
Hi, Davide brought up an interesting issue while reviewing a PR around the OGM backend for CouchDB [1]. This PR makes use of the new Option API and allows to configure CouchDB-specific settings in a safe way. For that purpose each dialect needs to provide a sub-class of DatastoreConfiguration whi

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-16 Thread Gunnar Morling
@Option(2) > > > public String getMe() {return null;} > > > } > > > > > > @Option(3) > > > class B extends A { > > > @Override > > > public String getMe() {return null;} > > > } > > &

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-16 Thread Gunnar Morling
7;t have to look into any super-classes. So to me, that's more along the lines of the principle of least surprise. That said I'm not sure whether really one option is more "natural" than the other, seems like it can be defined either that way or the other. Davide, Sanne, Guillaume,

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-16 Thread Gunnar Morling
e to import another AssociationStorage type when using CouchDB instead of MongoDB. > My 2 cents :) > Guillaume > > > 2013/12/16 Gunnar Morling > >> > Only the CouchDB provider in the PR so far. But the idea is to move all >> to that model. >> >> Right; I&#x

Re: [hibernate-dev] Released Hibernate Search 4.4.2.Final and 4.5.0.Alpha2

2013-12-16 Thread Gunnar Morling
How does this relate to the "JBoss Modules" module provided by HSEARCH itself? >From a quick look it seems that WF provides now its own module for hibernate-search-engine, the module.xml contents differ a bit from the one in HSEARCH, though. Also the module paths are different, so a user putting t

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-16 Thread Gunnar Morling
> I was wondering the same. Not sure about graph DBs, I guess not? > On Mon 2013-12-16 10:46, Gunnar Morling wrote: > > On a related note, Emmanuel raised the question whether to use the same > > option types for different data stores or not, i.e. should we use the > same

Re: [hibernate-dev] [OGM] Precedence of options specified on different levels

2013-12-16 Thread Gunnar Morling
2013/12/16 Emmanuel Bernard > On Mon 2013-12-16 11:06, Gunnar Morling wrote: > > 2013/12/13 Emmanuel Bernard > > > > > So currently in the pull request, we now have the following > > > > > > 1. property > entity > global > > > 2

Re: [hibernate-dev] Hibernate ORM 4.3.0.Final

2013-12-16 Thread Gunnar Morling
+1 2013/12/17 Sanne Grinovero > Congratulations! That's a very significant one :-) > > On 16 December 2013 22:49, Steve Ebersole wrote: > > JPA 2.1 support is final. With 4.3.0.Final Hibernate is now a certified > > implementation of the JPA 2.1 specification. > > > > http://in.relation.to/Bl

[hibernate-dev] [OGM] Managing GridDialect via the service registry

2013-12-17 Thread Gunnar Morling
Hi, We currently have a custom mechanism for providing the current GridDialect to components and I'm wondering about the motivation for this mechanism. More specifically there is GridDialectFactory which instantiates the dialect type and DatastoreServices which provides access to this instance. S

Re: [hibernate-dev] JDK8 build jobs!

2013-12-18 Thread Gunnar Morling
Concerning AnimalSniffer, it works when I'm updating the ASM dependency of the AnimalSniffer plug-in to 5.0_Beta (which can handle the Java 8 class file format). I think it's ok to do so as this is used only at build time, so not much at stake here. --Gunnar 2013/12/18 Sanne Grinovero > I've

Re: [hibernate-dev] [Search] Spatial still experimental

2013-12-19 Thread Gunnar Morling
2013/12/19 Hardy Ferentschik > > On 16 Jan 2013, at 08:32, Emmanuel Bernard wrote: > > > - spatial as a name is a bit fuzzy, should we change it? I tend to use > > geolocation maybe geoquery when I try to explain the notion. > > not sure. IMO spatial is the right term. I find relocation less ap

  1   2   3   4   5   6   7   8   9   10   >