[hibernate-dev] [HSEARCH] Hibernate search core module proposal

2011-05-23 Thread Davide D'Alto
I saw so far seem to use the -core suffix for the main module. Shouldn't hibernate-search follow the same convention? This looks like a good time to review module names for Hibernate Search 4.0 Best regards, Davide D'Alto ___ hibernate-dev mailing list

[hibernate-dev] [HSEARCH] Problem with JBoss logging

2011-06-01 Thread Davide D'Alto
Hi, I'm working on the inclusion of JBoss Logging in HIbernate Search (http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-675). I've included in the pom this two dependencies: ... dependency groupIdorg.jboss.logging/groupId

Re: [hibernate-dev] [HSEARCH] Problem with JBoss logging

2011-06-02 Thread Davide D'Alto
to judge which ones where duplicate/redundant and to cleanup your history: have fun with git, that's a good excercise :) thanks again for all the help, Sanne 2011/6/2 Davide D'Alto daltodav...@gmail.com: Hi, I'm working on the inclusion of JBoss Logging in HIbernate Search (http

Re: [hibernate-dev] [HSEARCH] - pull request 95

2011-06-10 Thread Davide D'Alto
Thanks, I will apply the changes this evening. 1) Move content of org.hibernate.search.util.logging to org.hibernate.search.util.logging.impl 2) Use less friendly %1$s when there is more than one parameter 3) I need to check how to do the exception internationalization. Cheers, Davide On Fri,

[hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
Hello, I've created a prototype for HSEARCH-670: https://github.com/DavideD/hibernate-search/commits/HSEARCH-670 It seems to work but I'm not sure about the options to use indexing the null value. At the moment it uses the following LucenOption object: LuceneOptions options = new

Re: [hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
to store it for that. I wouldn't disagree in using Store.YES if there are good reasons though; could you explain how this is working? Cheers, Sanne 2011/8/12 Davide D'Alto daltodav...@gmail.com: Hello, I've created a prototype for HSEARCH-670: https://github.com/DavideD/hibernate-search

Re: [hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
Maybe we can add an option like boolean emptyAsNull to IndexEmbedded. On Fri, Aug 12, 2011 at 12:31 PM, Davide D'Alto daltodav...@gmail.com wrote: I've first written a simple test and then I chose the parameters accordingly so that the test can pass. Before investingate further I wanted to ask

[hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-18 Thread Davide D'Alto
Hi, I've just pull the changes from the hibernate-search repository and when I run maven the test org.hibernate.search.test.engine.optimizations.CollectionUpdateEventTest fails testWithClassBridge(org.hibernate.search.test.engine.optimizations.CollectionUpdateEventTest): [catalogItems should have

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-18 Thread Davide D'Alto
that same test several times. Are you sure you have a clean clone from master? (git reset --hard will remove all changes you might have around) Cheers, Sanne 2011/8/18 Davide D'Alto daltodav...@gmail.com: Hi, I've just pull the changes from the hibernate-search repository and when I run maven

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
using JGroups, will need the following JVM parameters, again used by Maven, and not needed on OSX: -Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=127.0.0.1 but this test doesn't use nor Byteman nor JGroups. Sanne 2011/8/18 Davide D'Alto daltodav...@gmail.com: I've cloned it from scratch

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
org.hibernate.search.test.worker.WorkerTestCase Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.549 sec Results : Tests run: 339, Failures: 0, Errors: 0, Skipped: 0 On Fri, 19 Aug 2011 11:46:34 +0200, Davide D'Alto daltodav...@gmail.com wrote: It seems it fails only if I execute it among all

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
, Davide D'Alto daltodav...@gmail.com wrote: The following are the information of the machine I'm using right now CentOS release 5.5 (Final) Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+) Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Default locale: en_US, platform encoding: UTF-8

Re: [hibernate-dev] [search] Problems w/ JGroupsCommonTest

2011-09-22 Thread Davide D'Alto
It actually happens very often on my laptop too. Davide On Thu, Sep 22, 2011 at 6:06 PM, Sanne Grinovero sa...@hibernate.org wrote: right I saw it happening once too, but not very often. if you see it often create an issue and assign it to me, it's best not to change the JGroups code now as I

Re: [hibernate-dev] Integration test failure

2011-10-12 Thread Davide D'Alto
Maybe this one: https://issues.jboss.org/browse/SHRINKWRAP-293 ? On Wed, Oct 12, 2011 at 3:04 PM, Hardy Ferentschik ha...@hibernate.org wrote: On Wed, 12 Oct 2011 15:55:13 +0200, Sanne Grinovero sa...@hibernate.org wrote: why is it even attempting to download anything? Well, so far it is

Re: [hibernate-dev] OGM-270 [MongoDB] Expose the WriteConcern settings to the configuration

2013-02-22 Thread Davide D'Alto
Hi, in the documentation I think we should list the different options, the one in the link seems good to me. I think you need at least a test that checks that the String in the configuration is converted into the right WriteConcern constant, a test that checks that the value is set in the driver

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

2013-02-25 Thread Davide D'Alto
Hi, I'm working at the integration between OGM and Neo4j. Neo4j is fully transactional and it requires to open a transaction before the execution of any operation on the DB. To integrate this mechanism with OGM I've created the class Neo4jJtaPlatform.java[1] that extends AbstractJtaPlatform and

[hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-01 Thread Davide D'Alto
Hello, I'm trying to create a mass indexer that could work with OGM. The idea is to have a way to scan all the element of a certain type in the data store and index them, this way it would be possible to create an index starting from an existing populated data store. The first prototype idea is

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-11 Thread Davide D'Alto
AssociationKeyMetadata but build it on-demand - that one is easier to achieve. Emmanuel On Wed 2013-03-06 15:32, Davide D'Alto wrote: it's ok for me Davide On Wed, Mar 6, 2013 at 3:28 PM, Emmanuel Bernard emman...@hibernate.org wrote: I'm planning on working on OGM-151. Fine with everyone

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-13 Thread Davide D'Alto
that the mass indexer does not ask for these objects to be loaded using Hibernate.initialize ? It coudl also be a bug in OGM but not necessarily. In particular is the association lazy or eager? Emmanuel On Mon 2013-03-11 11:00, Davide D'Alto wrote: I have created a branch for OGM-228 (OGM

Re: [hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-19 Thread Davide D'Alto
is to have Infinispan fix this limitation first. Sanne On 13 March 2013 11:14, Davide D'Alto daltodav...@gmail.com wrote: No problem. The association is lazy but I will investigate about Hibernate.initialize On Tue, Mar 12, 2013 at 8:01 PM, Emmanuel Bernard emman...@hibernate.org wrote: I

Re: [hibernate-dev] New CI machine preview

2013-03-27 Thread Davide D'Alto
Good work, what configuration have you applied to apache? I'm asking so that I can apply that to the puppet scripts Davide On Wed, Mar 27, 2013 at 1:51 PM, Sanne Grinovero sa...@hibernate.orgwrote: You're all welcome to play with http://54.225.162.168/ however please keep these in mind: -

Re: [hibernate-dev] New CI machine preview

2013-04-04 Thread Davide D'Alto
I've also updated the url of the project on the ec2 machine. The machine has also a tag Name=ci.hibernate.org, right now is not very important but if in the future there are multiple machines it may be helpful. By the way, the job that build search on jenkins is now using the settings-example.xml

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-10 Thread Davide D'Alto
As an experiment I've added a method to the mongodb provider: MongoDBDatastoreProvider#(Session session, String sqlString, ClassT entityType) With this method it is possible to execute a native query like { $query : { author : 'Oscar Wilde' }, $orderby : { name : 1 } } that will return a

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-10 Thread Davide D'Alto
I forgot to add the link to the commit: https://github.com/DavideD/hibernate-ogm/commit/c0426378671b2e73c9450b43d55e09ba8af00f3c On Wed, Apr 10, 2013 at 5:24 PM, Davide D'Alto dav...@hibernate.org wrote: As an experiment I've added a method to the mongodb provider: MongoDBDatastoreProvider

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-16 Thread Davide D'Alto
/MongoDBEntityManagerNativeQueryTest.java On Thu, Apr 11, 2013 at 8:55 AM, Emmanuel Bernard emman...@hibernate.orgwrote: On 11 avr. 2013, at 01:27, Davide D'Alto dav...@hibernate.org wrote: I think I would have put this contract on the dialect rather that the provider. What was your

Re: [hibernate-dev] Checkstyle: enforced!

2013-04-18 Thread Davide D'Alto
I don't have any particular objection to set it on the verify phase. I tend to always use mvn install anyway. The argument I can use to promote the compile phase (for sake of discussion only) I like the fact that I can check the code writing mvn compile, therefore without starting any test. If

Re: [hibernate-dev] Checkstyle: enforced!

2013-04-22 Thread Davide D'Alto
The patch seems to work but we are not sure what happens when you create a new file in Windows, We also didn't test it with a Mac. In the meanwhile, I have created a patch that uses regular expressions only. Could you test it and let me know if it works on Windows? It would be nice if someone

[hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
Hi, we have a problem with one of the rules in checkstyle: NewLineAtEndOfFile It seems that this rule in Windows is using the wrong character to check if there is a new line at the end of a file. To solve this issue I've tried to remove the rule and use a regular expression instead. The problem

Re: [hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
Thanks Guillaume, are you going to test it on Windows isn't? We still need a volunteer with a Mac. On Thu, Apr 25, 2013 at 11:10 AM, Guillaume SCHEIBEL guillaume.schei...@gmail.com wrote: hello, I'm checking and keep you up to date. Guillaume 2013/4/25 Davide D'Alto dav

Re: [hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
Thanks you Gunnar, Davide On Thu, Apr 25, 2013 at 12:07 PM, Gunnar Morling gun...@hibernate.orgwrote: Am 25.04.2013 12:34 schrieb Davide D'Alto dav...@hibernate.org: Thanks Guillaume, are you going to test it on Windows isn't? We still need a volunteer with a Mac. I can do

Re: [hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
Awesome, Thanks On Thu, Apr 25, 2013 at 12:51 PM, Guillaume SCHEIBEL guillaume.schei...@gmail.com wrote: I ran both mvn clean compile and mvn checkstyle:checkstyle on my windows laptop and got 2 build success. Guillaume 2013/4/25 Davide D'Alto dav...@hibernate.org Thanks you Gunnar

Re: [hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
has the nice effect that it rejects multiple new lines which the original rule doesn't. --Gunnar 2013/4/25 Davide D'Alto dav...@hibernate.org Thanks you Gunnar, Davide On Thu, Apr 25, 2013 at 12:07 PM, Gunnar Morling gun...@hibernate.org wrote: Am 25.04.2013 12:34 schrieb Davide

Re: [hibernate-dev] [OGM] Checkstyle rule failing in Windows

2013-04-25 Thread Davide D'Alto
Anyways, the reg exp approach seems to work, so I don't want to bother you :) No problem, it's actually a way to see if what I'm doing make sense :) On Thu, Apr 25, 2013 at 2:55 PM, Gunnar Morling gun...@hibernate.orgwrote: 2013/4/25 Davide D'Alto dav...@hibernate.org Thanks Gunnar

[hibernate-dev] [OGM] Metamodel

2013-05-01 Thread Davide D'Alto
Hi, I've started to work on the metamodel. I've look at the branch that emmanuel created and I've rebased it to the latest master fixing all checkstyle violations: https://github.com/DavideD/hibernate-ogm/tree/208 The problem is that I don't have a clear idea how the metamodel is supposed to

Re: [hibernate-dev] [OGM] Metamodel

2013-05-07 Thread Davide D'Alto
to one entity or one property I hope I have been clearer, fire the questions away. Emmanuel PS: JIRA no longer has a way to link to comments? On Wed 2013-05-01 9:41, Davide D'Alto wrote: Hi, I've started to work on the metamodel. I've look at the branch that emmanuel created and I've

Re: [hibernate-dev] Welcome Nicolas to the Search committers

2013-05-16 Thread Davide D'Alto
Congrats, Davide On Thu, May 16, 2013 at 12:01 AM, Sanne Grinovero sa...@hibernate.orgwrote: Dear All, since Nicolas didn't just contribute an awesome new feature for Hibernate Search but is also actively maintaining it, I've added him to the Hibernate Search committers team. I find

Re: [hibernate-dev] [OGM] SimpleEntityMassIndexingTest using HSEARCH TestConstants methods

2013-05-21 Thread Davide D'Alto
Hello, I'll take a look at it and let you know. Cheers, Davide On Mon, May 20, 2013 at 10:05 PM, Guillaume SCHEIBEL guillaume.schei...@gmail.com wrote: There is a second wrong call: AssociationMassIndexerTest.getEntities() 2013/5/20 Guillaume SCHEIBEL guillaume.schei...@gmail.com

Re: [hibernate-dev] [OGM] SimpleEntityMassIndexingTest using HSEARCH TestConstants methods

2013-05-21 Thread Davide D'Alto
? Every time I write a test in Search or OGM I always end up with the needs to create a temporary folder. I'm pretty sure there are other methods that can be useful in different projects. On Tue, May 21, 2013 at 10:40 AM, Davide D'Alto daltodav...@gmail.comwrote: Hello, I'll take a look

Re: [hibernate-dev] [OGM] SimpleEntityMassIndexingTest using HSEARCH TestConstants methods

2013-05-21 Thread Davide D'Alto
, especially since each project will have slightly different requirements. --Hardy On 21 Jan 2013, at 12:14 PM, Davide D'Alto daltodav...@gmail.com wrote: yes, we should fix the call at least for now but I would prefer to create a a similar class for OGM so that we don't depend from Search

Re: [hibernate-dev] [OGM] SimpleEntityMassIndexingTest using HSEARCH TestConstants methods

2013-05-21 Thread Davide D'Alto
/21 Davide D'Alto daltodav...@gmail.com Ok Hardy, I will copy the class in OGM. On Tue, May 21, 2013 at 11:19 AM, Hardy Ferentschik ha...@hibernate.orgwrote: Not sure about the OGM setup, but I think OGM should have its own test utility classes. Regarding a shared project, imo

Re: [hibernate-dev] [OGM] Metamodel

2013-05-21 Thread Davide D'Alto
/mapping/ProxyFactoryWithAnnotationTest.java Cheers, Davide On Tue, May 7, 2013 at 10:05 AM, Davide D'Alto daltodav...@gmail.comwrote: Thanks for all the information, I think I have a clearer idea now. I'll start to write some code and see what happens :) Davide On Fri, May 3, 2013

Re: [hibernate-dev] [OGM] CI and MongoDB tests

2013-07-04 Thread Davide D'Alto
Sto guardando On Thu, Jul 4, 2013 at 2:11 PM, Sanne Grinovero sa...@hibernate.org wrote: Sounds like a good idea to have CI verify both embedded and installed. But that's next, I'd first want to see it building at least with the installed MongoDB. On 4 July 2013 14:04, Davide D'Alto dav

Re: [hibernate-dev] [OGM] Embedded MongoDB for tests

2013-07-10 Thread Davide D'Alto
+1 On Wed, Jul 10, 2013 at 11:15 AM, Sanne Grinovero sa...@hibernate.orgwrote: On 10 July 2013 10:12, Hardy Ferentschik ha...@hibernate.org wrote: On 10 Jan 2013, at 11:06 AM, Gunnar Morling gun...@hibernate.org wrote: I think the proper way of doing this kind of thing in Jenkins

Re: [hibernate-dev] [Search] New checkstyle classes working in IDE

2013-07-10 Thread Davide D'Alto
I think it was a great idea to introduce checkstyle, but I think it really needs to work in the IDE as wel Actually for me it is just a nice feature but not a must have.i've never used checkstyle in the IDE and I'm quite happy to use it in the terminal. If we cannot find a solution for this I

Re: [hibernate-dev] [Search] New checkstyle classes working in IDE

2013-07-10 Thread Davide D'Alto
at 2:34 PM, Hardy Ferentschik ha...@hibernate.orgwrote: On 10 Jan 2013, at 2:24 PM, Davide D'Alto dav...@hibernate.org wrote: I think it was a great idea to introduce checkstyle, but I think it really needs to work in the IDE as wel Actually for me it is just a nice feature but not a must

[hibernate-dev] [OGM] Missing mongodb dependecies in OGM 4.0.0.Beta2 distribution package

2013-07-22 Thread Davide D'Alto
Hi, a user on the forum[1] is asking about the required dependecies are needed to use OGM with MongoDB. I was thinking to give him the link with the distribution on SourceForge but it does not seem to contain the mongodb dependencies. This seems something that has been solved after the latest

Re: [hibernate-dev] [OGM] Missing mongodb dependecies in OGM 4.0.0.Beta2 distribution package

2013-07-23 Thread Davide D'Alto
...@hibernate.orgwrote: I'd like to see more releases, but it would be good to include some user-visible progress. We have both Neo4J and CouchDB dialects as mature proposals for integration: could we integrate one/both and then tag a release? On 22 July 2013 11:48, Davide D'Alto dav...@hibernate.org wrote

Re: [hibernate-dev] [OGM] Missing mongodb dependecies in OGM 4.0.0.Beta2 distribution package

2013-07-23 Thread Davide D'Alto
again On Tue, Jul 23, 2013 at 11:51 AM, Sanne Grinovero sa...@hibernate.orgwrote: On 23 July 2013 09:58, Davide D'Alto dav...@hibernate.org wrote: I've also noticed that there isn't an hibernate-ogm-mongodb-4.0.0.Beta2.jar on Nexus but instead a hibernate-ogm-mongodb-4.0.0-SNAPSHOT.jar I

Re: [hibernate-dev] OGM at Soft Shake

2013-07-26 Thread Davide D'Alto
Great job, Davide On Fri, Jul 26, 2013 at 2:36 PM, Guillaume SCHEIBEL guillaume.schei...@gmail.com wrote: Hi guys, I'm glad to announce/let you know I'll be presenting OGM at Soft Shake (Geneva, Switzerland) in October. Cheers Guillaume

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

2013-08-27 Thread Davide D'Alto
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. +1 HQLP as a code perhaps. On Tue, Aug 27, 2013 at 12:20 PM, Sanne Grinovero

[hibernate-dev] [OGM] Staxmapper dependency in OGM distribution

2013-09-26 Thread Davide D'Alto
Hi, I've noticed that the staxmapper-1.1.0.Final.jar is included in the distribution package in this folders: infinispan, ehcache, required, mongodb I checked and it is seems a dependency of infinispan (and arquillian actually) but I don't understand how come is included in all the folders. Am I

[hibernate-dev] [hibernate-announce] OGM 4.0.0.Beta3 released

2013-09-30 Thread Davide D'Alto
http://in.relation.to/Bloggers/HibernateOGM4Beta3IsOut Davide ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

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

2013-10-02 Thread Davide D'Alto
Sounds like a good idea. Let me know when you have a date. By the way, congratulations for the event :) Cheers, Davide On Wed, Oct 2, 2013 at 3:15 PM, Emmanuel Bernard emman...@hibernate.orgwrote: Good idea. Plan a hangout and force Davide and Gunnar to be there. I'll try and join as well.

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

2013-10-17 Thread Davide D'Alto
I can take the HotRod dialect task since I've already some experience with datastore integration for OGM. I also don't mind to try to upgrade hibernate OGM. On Thu, Oct 17, 2013 at 4:57 PM, Sanne Grinovero sa...@hibernate.orgwrote: Hi all, it looks like I will be very busy on Search and some

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

2013-10-17 Thread Davide D'Alto
I also don't mind to try to upgrade hibernate OGM. Sorry I meant ORM On Thu, Oct 17, 2013 at 5:12 PM, Davide D'Alto daltodav...@gmail.comwrote: I can take the HotRod dialect task since I've already some experience with datastore integration for OGM. I also don't mind to try to upgrade

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

2013-10-25 Thread Davide D'Alto
in the JtaPlatform. WDYT, would that make sense? --Gunnar 2013/3/13 Davide D'Alto daltodav...@gmail.com Well...I don't have alternative at the moment. I think we could keep it as it is now and wait for some feedback from the users. On Mon, Mar 4, 2013 at 1:17 PM, Emmanuel Bernard emman

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

2013-11-28 Thread Davide D'Alto
a. Provide a -Dminimal flag to run in case 1. For the backends, I'm fine in using mvn -pl {module} b. Provide a -Dcomplete flag to run in case 3. One shortcoming in Maven is though that one - afaik - can't enable profiles using several properties. So having -Dcomplete (or -DskipAllExpensive if

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

2013-12-03 Thread Davide D'Alto
. If 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 gun...@hibernate.org wrote: Thanks, Davide. 2013/12/3 Davide D'Alto dav

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

2013-12-11 Thread Davide D'Alto
Our question is, should now that we have the Option API and with it store-specific DatastoreConfiguration types, the previously used Environment interfaces be removed and their constants moved to the corresponding DatastoreConfiguration type? Yes, +1 On Wed, Dec 11, 2013 at 5:08 PM, Gunnar

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

2013-12-16 Thread Davide D'Alto
To me, a property level is always more specific than an entity, hence my interpretation. If someone has set a value on a given property, it would be dangerous to be globally overridden by a subclass. I agree with emmanuel on this one. I think I would be surprise to see that the annotation

Re: [hibernate-dev] [OGM] Public packages of datastore modules

2014-02-10 Thread Davide D'Alto
I can work on this today and start to plan the release for Wednesday. I don't think this change should block the next release though. It would also be nice to include this: https://github.com/hibernate/hibernate-ogm/pull/282 so that people can actually use the enitty manager to create queries

Re: [hibernate-dev] [OGM] Public packages of datastore modules

2014-02-10 Thread Davide D'Alto
: 2014/2/10 Davide D'Alto daltodav...@gmail.com I can work on this today and start to plan the release for Wednesday. Hum, tbh. I'm not sure whether I'll be done with the doc updates by Wednesday. There is also OGM-392 (support for optimistic locking in CouchDB) which I'd love to squeeze

Re: [hibernate-dev] Getting notified when session factory is completely set up

2014-02-11 Thread Davide D'Alto
Yes, that helps indeed. Implementing my validation routine in such an observer works. I guess if needed, I even could implement support for the suggested service contract in OGM with help of an observer. In OGM, we used to have a SessionFactoryObserver but we removed it in favor of the

Re: [hibernate-dev] Getting notified when session factory is completely set up

2014-02-11 Thread Davide D'Alto
#startService is called? On Tue, Feb 11, 2014 at 11:26 AM, Gunnar Morling gun...@hibernate.orgwrote: 2014/2/11 Davide D'Alto daltodav...@gmail.com Yes, that helps indeed. Implementing my validation routine in such an observer works. I guess if needed, I even could implement support

[hibernate-dev] Extract some methods form AbtractEntityManagerImpl

2014-02-14 Thread Davide D'Alto
Hi, in OGM I'm reusing some of the methods in AbstractEntityMangerImpl, the problem is that their scope is protected and I had to move OgmEntityManager from the original package to *org.hibernate.jpa.spi* Is it possible to expose these methods in some way, so that I can move OgmEntityManager to

[hibernate-dev] [OGM] Ogm documentation does not build completly

2014-02-17 Thread Davide D'Alto
Hi. I've noticed that when I run the build of OGM the documentation is not completly built. The part releated to the single datastores is missing. It works on Jenkins. Does it happen only to me? ___ hibernate-dev mailing list

Re: [hibernate-dev] [OGM] Ogm documentation does not build completly

2014-02-17 Thread Davide D'Alto
the chapters? If not it seems to be a problem with Asciidoc. 2014/2/17 Guillaume SCHEIBEL guillaume.schei...@gmail.com Hi Davide, I've just fetch the master and the documentation built without any problem. Guillaume 2014-02-17 20:18 GMT+01:00 Davide D'Alto dav...@hibernate.org: Hi

Re: [hibernate-dev] [OGM] Ogm documentation does not build completly

2014-02-19 Thread Davide D'Alto
Davide D'Alto dav...@hibernate.org: It seems to work fine if I remove the module/ from the include part in the datastore-providers.asciidoc, for example from *include::modules/infinispan.asciidoc[]* to *include::infinispan.asciidoc[]* I will try again tomorrow. Do you think the Java

Re: [hibernate-dev] Hakergarten session for Devoxx France

2014-03-17 Thread Davide D'Alto
I've used the same label On Mon, Mar 17, 2014 at 3:09 PM, Sanne Grinovero sa...@hibernate.orgwrote: I've used the hackergarten label for Search. Essentially I've picked among the ones already tagged as suited for new contributors those which I think are doable in shortest time.

Re: [hibernate-dev] [OGM] Move container integration test to a separate default test cycle

2014-03-27 Thread Davide D'Alto
My vote goes to #1 as well for the short term. +1 we need to share the running containers across modules, or merge the integration tests in a single module per container. Not sure how far Maven will be a problem for this I think it would be easier to start and download the containers

Re: [hibernate-dev] [OGM] CI jobs hang (Gunnar Morling)

2014-04-02 Thread Davide D'Alto
I going to update Jenkins and the plugins to see if it solves this issue. Are there any reasons I shouldn't do this? On Tue, Apr 1, 2014 at 2:11 PM, Gunnar Morling gun...@hibernate.org wrote: Hi Paolo, Thanks for your reply. The thing is that these jobs used to work until recently, so I'm

Re: [hibernate-dev] GitHub repo for demo projects

2014-04-28 Thread Davide D'Alto
+1 On Mon, Apr 28, 2014 at 4:03 PM, Brett Meyer brme...@redhat.com wrote: +1 from me. I have several to contribute as well from various ORM presentations. https://github.com/brmeyer/HibernateDemos - Original Message - From: Gunnar Morling gun...@hibernate.org To:

Re: [hibernate-dev] GSoC Introduction

2014-05-02 Thread Davide D'Alto
Welcome Kahlid! On Fri, May 2, 2014 at 10:34 AM, Gunnar Morling gun...@hibernate.orgwrote: 2014-05-02 11:30 GMT+02:00 Sanne Grinovero sa...@hibernate.org: Hi Khalid, that's great news, welcome! Welcome again and looking forward to your contributions, Khalid; I'm very excited about

[hibernate-dev] Hibernate OGM 4.1.0.Beta4 is out, with support for MongoDB CLI syntax and bidirectional relationships for Neo4j

2014-06-13 Thread Davide D'Alto
Hi, I'm happy to announce a new release of Hibernate OGM. The MongoDB backend now supports the MongoDB CLI syntax for native queries. In Neo4j, we have solved a bug related to the way we store embedded collections (OGM-549 https://hibernate.atlassian.net/browse/OGM-549) and we now create only

[hibernate-dev] Hibernate OGM 4.1 Beta 5 is out: JP-QL queries for Neo4j and more

2014-07-10 Thread Davide D'Alto
It's my pleasure to announce a new release of Hibernate OGM. Hibernate OGM can now convert JP-QL queries into cypher queries when working with Neo4j. We improved the JSON representation used for associations in CouchDB and MongoDB making it more concise. We also worked on several bug fixes and

[hibernate-dev] Embedded value not null when it includes an @ElementCollection

2014-09-17 Thread Davide D'Alto
Hi, I've created a test for OGM where we store an @Embeddable containing a list annotated with @ElementCollection [1]: This is the embedded: @Embeddable public class PhoneNumber { private String main; @ElementCollection private ListString alternatives; ... } In the test [2] I

[hibernate-dev] Embedded value not null when it includes an @ElementCollection

2014-09-17 Thread Davide D'Alto
Hi, I've created a test for OGM where we store an @Embeddable containing a list annotated with @ElementCollection [1]: This is the embedded: @Embeddable public class PhoneNumber { private String main; @ElementCollection private ListString alternatives; ... } In the test [2] I

Re: [hibernate-dev] Embedded value not null when it includes an @ElementCollection

2014-09-18 Thread Davide D'Alto
Thanks, Davide On Thu, Sep 18, 2014 at 3:15 PM, Steve Ebersole st...@hibernate.org wrote: I have not played with case specifically, but it makes sense. ORM tries hard to never return a null collection reference. On Wed, Sep 17, 2014 at 10:31 AM, Davide D'Alto daltodav...@gmail.com wrote

[hibernate-dev] Hibernate OGM 4.1.0.Beta8 is out: Optimistic locking and performance improvement

2014-10-30 Thread Davide D'Alto
We are getting closer to a final release and this version is mainly about improving general performance and reducing the amount of round trips to the datastore. We also added optimistic locking support for datastores which provide atomic find-and-update operations. You can read more about it in

Re: [hibernate-dev] Maintenance on ci.hibernate.org

2014-12-01 Thread Davide D'Alto
On a related note, I've also reinstalled couchdb since it stopped working for some reason. I've also changed the maven version used for hibernate-ogm-master-jdk9 to maven 3.2.3. Maven 3.2.3 fixes some some bugs related to the profiles activation. Davide On Sun, Nov 30, 2014 at 10:22 PM, Sanne

[hibernate-dev] in.relation.to error when posting a new blog entry

2015-02-11 Thread Davide D'Alto
Hi, I'm trying to create a new blog entry on in.relation.to but an exception occurs about the violation of an integrity constraint. Any idea on how to solve the issue? Thanks, Davide ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org

Re: [hibernate-dev] in.relation.to error when posting a new blog entry

2015-02-20 Thread Davide D'Alto
...@redhat.com, Davide D'Alto dav...@hibernate.org, hibernate-dev hibernate-dev@lists.jboss.org Sent: Friday, February 13, 2015 1:53:21 AM Subject: Re: [hibernate-dev] in.relation.to error when posting a new blog entry On Thu, Feb 12, 2015 at 06:57:55AM +, Sanne Grinovero wrote: I suspect

Re: [hibernate-dev] [OGM] Moving to Java 7

2015-02-23 Thread Davide D'Alto
+1 Let's move to java 7 On Mon, Feb 23, 2015 at 10:40 AM, Gunnar Morling gun...@hibernate.org wrote: Hi, So far Hibernate OGM has been usable quite well when running on Java 6. But as more and more of our dependencies require Java 7, the number of cases where 6 is sufficient, decreases.

Re: [hibernate-dev] [OGM] Sprint organization

2015-02-23 Thread Davide D'Alto
Before that though, I need to finish the Validator blog? What is the status on in.relation.to? Can one create blog entries again? in.relation.to it stills not working and I'm not sure how to solve the issue. The content in the db seems correct and I think the problem is related to some

Re: [hibernate-dev] [OGM] Sprint organization

2015-02-25 Thread Davide D'Alto
I like the idea of a separate module for shared tests, It makes sense for our usecase. I've never been a big fun of the OGM black magic. Are there any reasons not to do it except that it will add a new module? I'm not really concerned about having modules in the project if their purpose is clear.

Re: [hibernate-dev] Datomic OGM implementation

2015-04-27 Thread Davide D'Alto
Hi Josiah, thank you very much, that looks like great news. Usually before changing the existing modules we discuss the requirements on this mailing list, on the JIRA or on the forum. Sending a pull request with the description of the problem is probably the fastest way to have feedback, just

Re: [hibernate-dev] Which versions of the application server should the Hibernate OGM modules support

2015-05-05 Thread Davide D'Alto
# EAP versions We're also producing modules for JBoss EAP6, but AFAIR these need some ove and I'm not sure if it's worth the effort - it might not need to much work and I'm happy to look at it if you want to, but in case we fix it these should have proper integration tests [next]: I think we

[hibernate-dev] [Search] Projections of collection of elements with embeddable

2015-05-20 Thread Davide D'Alto
Hi, while working on OGM-781 I noticed that there is a problem with Hibernate Search when trying to get the projection of a property that represents a collection of elements.. EntityInfo#getProjections()[0] will always return the first value of the association. For example, if I index the

Re: [hibernate-dev] [WEBSITE] Jira workflow

2015-06-17 Thread Davide D'Alto
I've changed the workflow. @hardy You seem to have the same permisison I have (I just gave a quick look). Is there something in particular you cannot do? On Fri, Jun 12, 2015 at 8:35 PM, Hardy Ferentschik ha...@hibernate.org wrote: Hi, it seems thath the worflow for WEBSITE on JIRA does

[hibernate-dev] [WEBSITE] Jira workflow

2015-06-12 Thread Davide D'Alto
Hi, it seems thath the worflow for WEBSITE on JIRA does not include the state PULL REQUEST SENT (like in Search and OGM, for example) I'd like to have it so that I can have a quick overview from JIRA of the issues that are almost done. Would it be ok to add it? Cheers, Davide

[hibernate-dev] CI Jobs and Byteman

2015-08-19 Thread Davide D'Alto
Hi all, it seems that the Hibernate Search tests using Byteman are having some conflicts with some ports used by the NoSql dbs we installed to test OGM. For now I just set up the Search jobs to work on ci-slave-4 where I have stopped the dbs. Tomorrow I will try to figure out the process that

[hibernate-dev] 2 CI slaves down

2015-08-24 Thread Davide D'Alto
Hi, 2 of the 4 slaves we use for CI are currently down. Not sure what's the cause but I'm working on it. Cheers, Davide ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] CI Jobs and Byteman

2015-08-20 Thread Davide D'Alto
I've reconfigured all the jobs to works the same as before. I've tried to replicate the issue with Byteman but it seems everything is working well now. Sanne, am I missing something about the way to run the build with search? On Thu, Aug 20, 2015 at 9:44 AM, Sanne Grinovero sa...@hibernate.org

Re: [hibernate-dev] [OGM] Thoughts for the Infinispan / Hot Rod dialect

2015-07-29 Thread Davide D'Alto
I think that in the case of Hot Rod clients we should not use AtomicMaps Out of curiosity, what about the grouping API? We asked the Infinispan team to add some methods to it because we might use them to implement the dialect over HotRod. These methods are still missing in the HotRod protocol,

Re: [hibernate-dev] HSEARCH Java 8 Date Time

2015-08-05 Thread Davide D'Alto
representation in that case? For the sake of consistency, I'd use milli seconds since 1970-01-01 across the board. Otherwise it'll be more difficult to compare fields created from properties of different date types. --Gunnar 2015-08-04 19:49 GMT+02:00 Davide D'Alto dav...@hibernate.org

Re: [hibernate-dev] HSEARCH Java 8 Date Time

2015-08-05 Thread Davide D'Alto
If a user select a resolution that does not make much sense we can log a warning. But I think this might make sense: @DateBridge(resolution=MONTH) LocalDate birthday; On Wed, Aug 5, 2015 at 3:37 PM, Davide D'Alto dav...@hibernate.org wrote: What would you do though in case

Re: [hibernate-dev] HSEARCH Java 8 Date Time

2015-08-05 Thread Davide D'Alto
, Davide D'Alto dav...@hibernate.org wrote: If a user select a resolution that does not make much sense we can log a warning. +1 And update the javadoc to mention that some resolution values don't apply But I think this might make sense: @DateBridge(resolution=MONTH

Re: [hibernate-dev] HSEARCH Java 8 Date Time

2015-08-11 Thread Davide D'Alto
I've sent a pull request: https://github.com/hibernate/hibernate-search/pull/887 Davide On Mon, Aug 10, 2015 at 1:20 PM, Hardy Ferentschik ha...@hibernate.org wrote: On Mon, Aug 10, 2015 at 12:34:33PM +0100, Davide D'Alto wrote: I'm not sure there is an easy way to convert Instant

[hibernate-dev] HSEARCH Java 8 Date Time

2015-08-04 Thread Davide D'Alto
Hi, I started to work on the creation of the bridges for the classes in the java.time package. I was wondering if we want to convert the values to long using the existing approach we have now for java.util.Date. In Hibernate Search a java.util.Date is converted into a long that represents the

Re: [hibernate-dev] HSEARCH Java 8 Date Time

2015-08-10 Thread Davide D'Alto
of the new types, the docs needs to be more explicit and describe the subtleties at play. +1 created HSEARCH-1958 Thanks, Sanne --Hardy On Wed, Aug 05, 2015 at 05:40:16PM +0100, Sanne Grinovero wrote: On 5 August 2015 at 17:22, Davide D'Alto dav...@hibernate.org wrote: Proposal

  1   2   3   >