Re: [hibernate-dev] [OGM] MongoDB dialect and treatment of _id

2012-04-25 Thread Emmanuel Bernard
> > Sorry for not answering directly to your points, I'm not familiar with > the MongoDB best practices. > > Cheers, > Sanne > > On 10 April 2012 14:54, Nicolas Helleringer > wrote: >> My DBA background tells me 'do not do thing behind the back of rou

Re: [hibernate-dev] [OGM] Mapping associations in MongoDB

2012-04-25 Thread Emmanuel Bernard
On 25 avr. 2012, at 10:05, Guillaume SCHEIBEL wrote: > At the very beginning, I thought to manage association like this: > Case of @OneTo* associations could be managed like embeddeds (for me it makes > sens and close to the mongo way) > Case of @ManyTo* associations could be managed in a usual

Re: [hibernate-dev] [OGM] Mapping associations in MongoDB

2012-04-25 Thread Emmanuel Bernard
On 25 avr. 2012, at 10:05, Guillaume SCHEIBEL wrote: > And regarding the documentation > http://www.mongodb.org/display/DOCS/Database+References#DatabaseReferences-DBRef > it could be an idea :) >From what I understand of DBRefs, they bring no value to us in the OGM >context. They can even be

Re: [hibernate-dev] [OGM] MongoDB time spikes

2012-04-25 Thread Emmanuel Bernard
sting events to control the > batching on MongoDB. > > On 25 April 2012 08:35, Emmanuel Bernard wrote: >> I don't think we need an actual multi threaded cache. the flush operation in >> Hibernate is not multi threaded, neither is the session. >> A simple Map (or a bet

Re: [hibernate-dev] [OGM] MongoDB time spikes

2012-04-25 Thread Emmanuel Bernard
t do you think about using the Ehcache module to store the data between 2 > flushes ? > I will open a JIRA about this point if it has not already been done. > > Guillaume > > 2012/4/25 Emmanuel Bernard > Hi Alan and all, > > I have been researching the spikes issue y

[hibernate-dev] [OGM] Mapping associations in MongoDB

2012-04-25 Thread Emmanuel Bernard
## Mapping strategy I think we have explored three main options while implementing the association mapping in MongoDB 1. Put the assoc info within the entity document we navigate from 2. Put the assoc info in a dedicated document and dedicated collection 3. Put the assoc info in n documents (one

[hibernate-dev] [OGM] MongoDB time spikes

2012-04-25 Thread Emmanuel Bernard
Hi Alan and all, I have been researching the spikes issue you encounter in the stress test from a theoretical point of view. You were trying a different associations storage approach (splitting associations as one row per document rather than the whole association per document). Does that retur

Re: [hibernate-dev] HSEARCH-1084 build failed

2012-04-24 Thread Emmanuel Bernard
To clarify, I think it works in our systems because we have 1.6.0_31 installed. I don't think it's related to Windows per se. On 25 avr. 2012, at 00:17, Emmanuel Bernard wrote: > Sanne caught that one recently but your bisect helped a lot. > > It seems that we are a bit

Re: [hibernate-dev] HSEARCH-1084 build failed

2012-04-24 Thread Emmanuel Bernard
Sanne caught that one recently but your bisect helped a lot. It seems that we are a bit optimistic with out generic Russian dolls http://stackoverflow.com/questions/2431334/java-generics-what-is-the-compilers-issue-here-no-unique-maximal-instance /** * Creates the proxy for an a

[hibernate-dev] Associations on cassandra

2012-04-20 Thread Emmanuel Bernard
Here are my notes on Cassandra association. Note very readable but at least that there. ## Associations Associations on composite keys cannot be supported in CQL 2. It can be done in CQL3 How to store associations will depend upon their type: ### Set table:fk_column { fk_to -> ""} ### Bag

Re: [hibernate-dev] OGM / MongoDB not having failing tests

2012-04-17 Thread Emmanuel Bernard
Otherwise, +1 for moving that to master. On 17 avr. 2012, at 15:10, Emmanuel Bernard wrote: > There is also the developer post. How should we gracefully warn but not fail > the build if no instance of mongoDB is reachable? > > On 17 avr. 2012, at 14:09, Sanne Grinovero wrote:

Re: [hibernate-dev] OGM / MongoDB not having failing tests

2012-04-17 Thread Emmanuel Bernard
There is also the developer post. How should we gracefully warn but not fail the build if no instance of mongoDB is reachable? On 17 avr. 2012, at 14:09, Sanne Grinovero wrote: > Hi all, > the mongodb branch is not having failing tests any more. It's not > "done" as there are some tasks open and

Re: [hibernate-dev] [HV] Design philosophy

2012-04-12 Thread Emmanuel Bernard
On 11 avr. 2012, at 20:59, Gunnar Morling wrote: > Hi, > >> When adding a feature, we have always implicitly asked ourselves this pool >> of questions: >> >> 1. Does it feel like the right way of doing things? >>If it's not, we have been prone to wait till we mature on the idea. Take >> c

Re: [hibernate-dev] [HV] Design philosophy

2012-04-11 Thread Emmanuel Bernard
On 11 avr. 2012, at 17:12, Hardy Ferentschik wrote: >> >> To me, it adds complexity : >> >> - in HV's code but that's not a strong factor in this case >> - more doc >> - as a user looking at @Email when I use it, I have to understand why such >> an option has been added and if I need it >> >>

Re: [hibernate-dev] [HV] Design philosophy

2012-04-11 Thread Emmanuel Bernard
On 11 avr. 2012, at 12:03, Hardy Ferentschik wrote: >> >> If we go back to our example, @Email(regexp=""^((?!\\.org).)*$") is not >> really 5 nor even 2 times better than @Email >> @Pattern((regexp=""^((?!\\.org).)*$") > > I am not sure how one would measure this leverage factor so I stay out

Re: [hibernate-dev] [HV] Design philosophy

2012-04-11 Thread Emmanuel Bernard
BTW I don't know when the properties have been added to URL, but if it's still possible, I'd use an array on protocol, host, port to be able to do: @URL(host={"hibernate.org", ""www.hibernate.org"}) On 11 avr. 2012, at 10:52, Emmanuel Bernard wrote:

[hibernate-dev] [HV] Design philosophy

2012-04-11 Thread Emmanuel Bernard
Hi all, Hardy, Gunnar and I started a discussion that is worth more Eyeballs. It started after the addition of a `regexp` attribute on @Email to be able to restrict the shape of the email via an extra regexp. Here is the exchange > Emmanuel: > I don't understand. Is this feature different than

[hibernate-dev] [OGM] MongoDB dialect and treatment of _id

2012-04-06 Thread Emmanuel Bernard
I would like to discuss the problem of _id in MongoDB and how to map that in Hibernate OGM. MongoDB is a bit psycho-rigid in how it uniquely identifies a document. A special property named _id is used for that and must be unique across a collection. It is also strongly recommended to let MongoD

Re: [hibernate-dev] changelog and already-solved issues

2012-04-05 Thread Emmanuel Bernard
On 5 avr. 2012, at 12:03, Sanne Grinovero wrote: > Would it make sense to open an "after the fact" issue and mark it > solved for the already-released 4.1.0.Final ? Sure ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.o

[hibernate-dev] Hibernate Search 4.1.0.Final - conditional indexing and more

2012-04-04 Thread Emmanuel Bernard
The Hibernate Search team is really proud to announce version 4.1. What's in there? - conditional indexing - faster, lighter, more targeted indexing - better JGroups-based clustering - support for Hibernate ORM 4.1 and JBoss AS 7.1 - and more things than you imagine More info at http://goo.gl/qV

Re: [hibernate-dev] Evolvement of SPIs

2012-04-03 Thread Emmanuel Bernard
the framework) opposed to an API, which is something which a user > just uses/invokes. > >> That's the proposal I have pushed to the common guidelines at JBoss. > > Do you have a link to these guidelines? > > I think I like the combined interface/abstract implem

Re: [hibernate-dev] Evolvement of SPIs

2012-04-02 Thread Emmanuel Bernard
On 2 avr. 2012, at 11:44, Hardy Ferentschik wrote: >> >> What's your definition of an SPI, in the team we have slightly different >> ones. >> >> In Hibernate search an SPI is targeted at frameworks or hyper advanced user >> who are willing to integrate or enhance Hibernate Search. Otherwise,

Re: [hibernate-dev] HV: Handling of deprecations

2012-04-02 Thread Emmanuel Bernard
But we probably don't have the bandwidth for a "4.9". On 2 avr. 2012, at 11:54, Sanne Grinovero wrote: > I don't know if it's doable, but having an API "deprecated" (literally > or just as a wiki warning) without having no alternative, and remove > it in next version makes it very hard to proceed

Re: [hibernate-dev] Evolvement of SPIs

2012-04-02 Thread Emmanuel Bernard
What's your definition of an SPI, in the team we have slightly different ones. In Hibernate search an SPI is targeted at frameworks or hyper advanced user who are willing to integrate or enhance Hibernate Search. Otherwise, they are considered APIs - which includes interfaces you might need to i

Re: [hibernate-dev] HV: Handling of deprecations

2012-04-02 Thread Emmanuel Bernard
For such drastic moves, Hibernate Search has used the migration page on the wiki to alert people. Not ideal but it works. Emmanuel On 1 avr. 2012, at 11:56, Gunnar Morling wrote: > Hi all, > > Hardy and I have been discussing approaches for deprecating certain > features in Hibernate Validator

Re: [hibernate-dev] multi-tenancy in Hibernate and JPA 2.1

2012-04-02 Thread Emmanuel Bernard
I need to dive a bit into the JPA 2.1 PaaS proposal but here are a few comments in line int he mean time. On 30 mars 2012, at 17:57, Steve Ebersole wrote: > The scope of multi-tenancy in JPA 2.1 is pretty much set it seems, its > just details at this point. And that scope is decidedly differen

[hibernate-dev] [OGM] More info for Cassandra and MongoDB datastores and dialects

2012-03-29 Thread Emmanuel Bernard
Hi all and in particular people developing around Cassandra ad MongoDB datastore / dialect. I have been working on two things lately ## Expose table and column information to the `DatastoreProvider` This is useful to build the right buckets in some NoSQL engines. In particular Cassandra can no

Re: [hibernate-dev] [OGM] Transaction-aware

2012-03-26 Thread Emmanuel Bernard
I am not entirely sure how this will be shaped but I would like at least the following: - a way to hook a fake JTA resource for backends that do not expose themselves as JTA resources - a way to support things like entityManager.getTransaction().begin() / .commit() / .rollback(); for systems

[hibernate-dev] [HSEARCH] ORM 4.1

2012-03-26 Thread Emmanuel Bernard
while e can't guarantee it, we can hope that running Hibernate Search 4.1 atop the older ORM 40 will work for some VMs but should we remove @Override to increase the chances? Or is that pure compil

Re: [hibernate-dev] [OGM-122/OGM-128] Config key to difference development and production mode

2012-03-26 Thread Emmanuel Bernard
Ah, you are right it seems that reusing AvailableSettings.HBM2DDL_AUTO will trigger SchemaExport and that's not what we want. Go ahead with a specific property > hibernate.ogm.generate_schema or something like that. On 25 mars 2012, at 13:11, kmx.pet...@gmail.com wrote: > Hi, > > I am trying

Re: [hibernate-dev] [OGM-122] Cassandra integration and hibernate-core version

2012-03-26 Thread Emmanuel Bernard
On 25 mars 2012, at 13:10, kmx.pet...@gmail.com wrote: > Hi, > > I am trying to integrate Cassandra into Hibernate OGM (cf. issue > OGM-122) and as I am a noob, I have some noob questions... > > Presently, the current version of Hibernate OGM is using the version > 4.0.1-Final of Hibernate co

Re: [hibernate-dev] multiple/single JGroups channels in Hibernate Search

2012-03-23 Thread Emmanuel Bernard
On 21 mars 2012, at 18:17, Sanne Grinovero wrote: > Context: > HSEARCH-1070 JGroups channels need to be shared across multiple backends > > I think it makes sense for an Hibernate Search instance to share a > single JGroups channel across multiple backends; there are several > reasons for this:

Re: [hibernate-dev] [HV] Release plan for a version compatible with Bean Validation 1.1.0.Alpha1

2012-03-23 Thread Emmanuel Bernard
On 16 mars 2012, at 17:37, Gunnar Morling wrote: > > Am 16.03.2012 15:08 schrieb "Emmanuel Bernard" : > > > > > > On 16 mars 2012, at 14:17, Hardy Ferentschik wrote: > > > > > We can also try to get a HV 4.3 out asap just focusing on what'

[hibernate-dev] HSEARCH and fix version as topic

2012-03-22 Thread Emmanuel Bernard
Sanne has moved the spatial queries issues out of 4.1 (rightly so) but entirely cleared the version number even for issues already fixed. I have created a temporary version `spatial` to carry issue fixed in the geo branch. We will merge this version with 4.2 or later if it really takes more time

Re: [hibernate-dev] [HV] Release plan for a version compatible with Bean Validation 1.1.0.Alpha1

2012-03-16 Thread Emmanuel Bernard
On 16 mars 2012, at 14:17, Hardy Ferentschik wrote: > We can also try to get a HV 4.3 out asap just focusing on what's really > required. Once it is out we start with HV 5 directly. I'm for that option personally. ___ hibernate-dev mailing list hiber

Re: [hibernate-dev] JtaPlaform classes as internal?

2012-03-16 Thread Emmanuel Bernard
/HHH-6823 > https://hibernate.onjira.com/browse/HHH-5951 > > > On Thu 15 Mar 2012 03:21:56 PM CDT, Steve Ebersole wrote: >> I like #2 as well. There is already a JIRA for that. In addition there is >> also a JIRA for adding some auto-detection in 5.0 >> >> On Thu

[hibernate-dev] [HV] Release plan for a version compatible with Bean Validation 1.1.0.Alpha1

2012-03-16 Thread Emmanuel Bernard
Hi Hardy, Gunnar and all, I am thinking that we should get the ball rolling on an implementation of Hibernate Validator that supports Bean Validation 1.1.0.Alpha1 so that we can gather feedback. When do you think we can get an HV Alpha supporting the changes? What about a month? Emmanuel _

Re: [hibernate-dev] Cassandra, ORM , Hibernate search, OGM

2012-03-16 Thread Emmanuel Bernard
Depends what you call soon and if you want to contribute :) But generally, I don't see it ready before a month or two at least. On 16 mars 2012, at 12:40, Теодор Димов wrote: > Hello, i was wondering is it OGM stable enough and will it support > cassandra soon ? Saw on github that you are working

[hibernate-dev] Hibernate Search 4.1 CR2 is out

2012-03-15 Thread Emmanuel Bernard
We have just released Hibernate Search 4.1 CR2. This is mostly a bug fix release but let's mention better compatibility with JBoss AS 7 and better write throughput. Read more at http://goo.gl/2OV8w Emmanuel ___ hibernate-dev mailing list hibernate-dev

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-15 Thread Emmanuel Bernard
On 15 mars 2012, at 17:04, Guillaume SCHEIBEL wrote: > TestableGridDialect.associationCacheSize is killing me ! > Because it's not possible to perform a query without knowing the field name. > So I can forget about "I want to know the amount of document which contain a > field (except '_id') wh

[hibernate-dev] JtaPlaform classes as internal?

2012-03-15 Thread Emmanuel Bernard
Because you need to know the JtaPaltform class name to fill up hibernate.transaction.jta.platform, I find it curious that these classes are in internal. I might decide to delete one of them and not care as they are in internal but that will impact the user. I see two options: 1. create subclas

Re: [hibernate-dev] OGM - BasicGridBinder log issue

2012-03-15 Thread Emmanuel Bernard
OGM-134 On 15 mars 2012, at 10:56, Emmanuel Bernard wrote: > Thanks for the catch I am working on OGM-40 and will push that as aprt of the > same pull request. > > On 15 mars 2012, at 10:54, Guillaume SCHEIBEL wrote: > >> Hello, >> >> I have noticed that

Re: [hibernate-dev] OGM - BasicGridBinder log issue

2012-03-15 Thread Emmanuel Bernard
Thanks for the catch I am working on OGM-40 and will push that as aprt of the same pull request. On 15 mars 2012, at 10:54, Guillaume SCHEIBEL wrote: > Hello, > > I have noticed that the BasicGridBinder has a problem when it logs the > bindding ( BasicGridBinder.bind(Tuple, X, String[] ) metho

Re: [hibernate-dev] Releasing another CR for Search?

2012-03-14 Thread Emmanuel Bernard
Yes I think you are right. It's better to release a CR this week. If only to release our stress ;) HSEARCH-1054 is pending, is there anything you wanted in before this CR? Emmanuel On 12 mars 2012, at 11:44, Sanne Grinovero wrote: > There was a plan to release Hibernate Search 4.1.0.Final today

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-13 Thread Emmanuel Bernard
On 13 mars 2012, at 20:19, Sanne Grinovero wrote: > Hi, > I'm answering inline: > > On 13 March 2012 16:39, Guillaume SCHEIBEL > wrote: >> Hello, >> >> About unit tests during the development phase on OGM-mongodb, I'm wondering >> what is the best way. >> Actually, I've developped some specif

[hibernate-dev] Bean Validation 1.1 early draft 1 is out

2012-03-13 Thread Emmanuel Bernard
Hi all, I have pushed the early draft we have been discussion for a while now to the JCP. I also put a copy in the open. Check out http://goo.gl/FlAuQ It contains main TODOs I would like your opinion on. But that's a significant work that moves dependency injection and method-levle validation fo

Re: [hibernate-dev] Hibernate OGM#OGM-123 Add Voldemort Datastore

2012-03-09 Thread Emmanuel Bernard
But you are already :) If you mean physically on JIRA, send me your JIRA login. Emmanuel On 9 mars 2012, at 15:02, Seiya Kawashima wrote: > Hi, > > I've just found the task and was wondering if I can be assigned on this > task. I would like to finish the task based on the comments that I got an

Re: [hibernate-dev] [OGM] AssociationKey table property during the create tuple association

2012-03-07 Thread Emmanuel Bernard
sociationTuple method right ? > A sorry, I did not mean rowKey but EntityKey. Sorry about this confusion. > > Guillaume > > > 2012/3/7 Emmanuel Bernard > No, you should have two RowKeys, one for Entity A and one for Entity B > (speaking of instances here). > Associati

Re: [hibernate-dev] [OGM] AssociationKey table property during the create tuple association

2012-03-07 Thread Emmanuel Bernard
No, you should have two RowKeys, one for Entity A and one for Entity B (speaking of instances here). AssociationKey represents the navigational info to go from A to B (B to A would be represented by a second AssociationKey object). And what would be stored is the list of navigational info (in you

Re: [hibernate-dev] Services started twice?

2012-03-05 Thread Emmanuel Bernard
nges y'all pushed earlier >>> adding what is now at line 162 (the >>> ServiceBinding.ServiceLifecycleOwner stuff). Line 163 just needs to go >>> away AFAICT >>> >>> On Mon 05 Mar 2012 06:25:43 AM CST, Emmanuel Bernard wrote: >>>> Quoting Sanne, we disc

[hibernate-dev] Services started twice?

2012-03-05 Thread Emmanuel Bernard
Quoting Sanne, we discovered that services are started twice by Hibernate ORM. Is that expected that the service guards against that, or is there some issue somewhere either in ORM or in the way OGM declares services? > While looking at this I also noticed the service was actually started twice;

Re: [hibernate-dev] [OGM] EntityKey missing methods ?

2012-03-03 Thread Emmanuel Bernard
; > Guillaume > > 2012/3/3 Emmanuel Bernard > OGM-40 will add those, it's next on my todo list. But you should not have do > read the DB to know if an object is already there. That's the job of the > hibernate engine and it is reflected in the dialect API. If you are

Re: [hibernate-dev] [OGM] Configurations files and naming

2012-03-03 Thread Emmanuel Bernard
It depends, If your configuration is limited to 4 properties, then persistence.xml is best. In Infinispan case,t he configuration of Infinispan is embedded and we have decided to simply point to the file. On the name space, today we do hibernate.ogm.. We might do hibernate.ogm.datastore.. later

Re: [hibernate-dev] [OGM] EntityKey missing methods ?

2012-03-03 Thread Emmanuel Bernard
OGM-40 will add those, it's next on my todo list. But you should not have do read the DB to know if an object is already there. That's the job of the hibernate engine and it is reflected in the dialect API. If you are missing something, let me know. On 3 mars 2012, at 11:32, Guillaume SCHEIBEL

Re: [hibernate-dev] brain fart

2012-03-02 Thread Emmanuel Bernard
Ten self-inflicted lashes of the whip for you. On 2 mars 2012, at 15:19, Steve Ebersole wrote: > Sorry all, I had a brain fart yesterday and worked a series of pull > requests as merges :( > > -- > st...@hibernate.org > http://hibernate.org > ___ > h

Re: [hibernate-dev] Beginner's tasks for Hibernate Search and Hibernate OGM

2012-03-01 Thread Emmanuel Bernard
Generally, all over the place http://hackergarten.net/ This one is in Paris. On 1 mars 2012, at 08:44, Hardy Ferentschik wrote: > Sounds cool. Where is that happening? > > On Mar 1, 2012, at 12:08 AM, Emmanuel Bernard wrote: > >> I will be doing a Hackergarten session next w

[hibernate-dev] Beginner's tasks for Hibernate Search and Hibernate OGM

2012-02-29 Thread Emmanuel Bernard
I will be doing a Hackergarten session next week with Hibernate Search and OGM as projects. A hackergarten is one project master and a few wannabe contributors hacking for a night on a few issues. I am looking for beginner materials for Hibernate OGM or Search. If you have ideas, let me know. E

Re: [hibernate-dev] Annotations to separate package?

2012-02-29 Thread Emmanuel Bernard
I don't understand how moving annotations in a separate jar would help you. You're weighting removing a jar vs adding one line in a configuration file unless I misunderstood your issue. On 29 févr. 2012, at 15:11, Sven Rienstra wrote: > Hi all, > > We've just migrated some of our products from

[hibernate-dev] Hibernate Search 4.1.0.CR1 is out: soft deletes

2012-02-29 Thread Emmanuel Bernard
Hi all, Hibernate Search 4.1 CR1 is out. give it a try as Final is coming very fast. We have added indexing interceptors to be able to do soft deletes and many other things. We have also released Hibernate Search 3.4.2 which is purely about bug fixes for users stuck in the 3.4 series. Read mor

Re: [hibernate-dev] Voldemort maven module for Hibernate OGM

2012-02-28 Thread Emmanuel Bernard
On 28 févr. 2012, at 19:41, Seiya Kawashima wrote: > Thank you for your response. > > Unfortunately I'm not quite sure the reason that the Voldemort project > doesn't push it to the maven repository. There are questions and discussions > about the usage of the repository on the Internet, but i

Re: [hibernate-dev] Natural ids and inheritance

2012-02-28 Thread Emmanuel Bernard
On 28 févr. 2012, at 17:59, Steve Ebersole wrote: > Another discrepancy between hbm.xml and annotations currently is the > definition of natural ids. hbm.xml only allows natural ids to be > defined on the root entity, annotations allow it to be defined on any > level of the hierarchy, even ac

Re: [hibernate-dev] Voldemort maven module for Hibernate OGM

2012-02-28 Thread Emmanuel Bernard
Just for my personal record, the process to upload a 3rd party dependency to JBoss repos is here https://community.jboss.org/wiki/UploadingAThirdpartyArtifact On 28 févr. 2012, at 10:06, Emmanuel Bernard wrote: > Hi Seiya, > > Many thanks for this work and sorry for the delay in ans

Re: [hibernate-dev] Voldemort maven module for Hibernate OGM

2012-02-28 Thread Emmanuel Bernard
Hi Seiya, Many thanks for this work and sorry for the delay in answering. I / we will definitively have a look. We have strong deadlines for mid-week on Hibernate Search, but I'll have more time after that. Do you know why the Voldemort project does not push it to a maven repository. Is that b

[hibernate-dev] [HSEARCH] 4.1 CR1 release plan

2012-02-27 Thread Emmanuel Bernard
Hi guys, Today is the major day for code changes before tomorrow's release. I think I will get HSEARCH-471 soft delete ready by tonight, I am working on the documentation side. I've decided to disable dirty checking when this feature is used. I still need feedback as per the pull request demand

Re: [hibernate-dev] [HSEARCH] Any plan to release 3.4.2 soon?

2012-02-27 Thread Emmanuel Bernard
I personally think we should not move to the next version of Lucene for this branch. On 27 févr. 2012, at 13:09, Sanne Grinovero wrote: > So to take a decision on this, are we going to stick with the current > Lucene version in the 3.4 branch ? > > Basically means to reject https://hibernate.on

Re: [hibernate-dev] Indexing IDs of IndexedEmbedded components

2012-02-22 Thread Emmanuel Bernard
I am not sure @DocumentId is the right place to host it. Should it be rather on the embedding entity to be able to customize in which scenario id is indexed? In a way, includePath="city.id" is the indicator I am looking for. On 16 févr. 2012, at 11:54, Sanne Grinovero wrote: > This is related t

Re: [hibernate-dev] subselect mappings

2012-02-21 Thread Emmanuel Bernard
févr. 2012, at 19:09, Steve Ebersole wrote: > for the "completeness" argument, the corollary to those others is actually > loader, which is the ability to name a query to use for loading an > entity/collection. > > > On Mon 20 Feb 2012 12:57:36 PM CST, Emmanuel Bernard w

Re: [hibernate-dev] subselect mappings

2012-02-20 Thread Emmanuel Bernard
I find the second reason important. In some organizations, the idea of developers owning a schema especially on legacy database is harder than climbing the Himalaya bare foot. Having access to the subselect views helps. I also like it for completeness since we can override insert / update / dele

Re: [hibernate-dev] [HSEARCH] Any plan to release 3.4.2 soon?

2012-02-13 Thread Emmanuel Bernard
Sanne, Hardy and I don't have specific plans to release a 3.4.x. Our general strategy is to support the latest stable branch and do new work on the next version. Older branches are out of this equation. But we are not against the community doing the work. A release is a bit of an extreme as it

Re: [hibernate-dev] [HSEARCH] HSEARCH-923 Use of Coordinates interface for lat ad long

2012-02-13 Thread Emmanuel Bernard
On 13 févr. 2012, at 10:22, Nicolas Helleringer wrote: > Hi Emmanuel, hi all, > > I am not fond of Coordinates interface too :s > > I think we shall stick to Option 1 as it concentrates configuration > information in one place and we can stick to default values for field names > for ease of u

Re: [hibernate-dev] [HSearch] Beta2 for Monday

2012-02-13 Thread Emmanuel Bernard
o be able to test HSEARCH-1028, which >> in turn is needed to fix a race condition in the MassIndexer .. >> >> >> On 10 February 2012 15:07, Emmanuel Bernard wrote: >>> >>> On 10 févr. 2012, at 14:43, Sanne Grinovero wrote: >>> >>>&g

Re: [hibernate-dev] Experiments with hibernate-ogm on Riak, Redis and Voldemort

2012-02-10 Thread Emmanuel Bernard
Hi Seiya, Excellent news! Things are moving as well for other datastores so that's a nice complement. The GitHub repo is a bit hard to read esp when we try and see what you have changed on existing classes compared to the raw Hibernate OGM code. Do you think you can try and do the following:

[hibernate-dev] [HSEARCH] HSEARCH-923 Use of Coordinates interface for lat ad long

2012-02-10 Thread Emmanuel Bernard
Nicolas, I'm geting a bit cold feet on our initial implementation. We have decided to use Coordinates as the placeholder of lat and long. Coordinates is an Hibernate Search interface. Reading the draft of your doc and as an app developer, I don't find it too attractive to have to use this inter

Re: [hibernate-dev] [HSearch] Beta2 for Monday

2012-02-10 Thread Emmanuel Bernard
ch and Davide's new query functionality, > hopefully we'll agree on the API something soon. Cool, remember that's a beta so we can change our mind. > > > > On 10 February 2012 13:02, Emmanuel Bernard wrote: >> It seems most if not all opened issues for B

Re: [hibernate-dev] [Search] ParameterizedBridge API

2012-02-10 Thread Emmanuel Bernard
I would not want Properties but Map might be ok. Make sure that built-in types do not pass actual objects from the bridge factory though. On 8 févr. 2012, at 12:05, Sanne Grinovero wrote: > The current API reads: > > public interface ParameterizedBridge { > //TODO inject Properties? sinc

[hibernate-dev] [HSearch] Beta2 for Monday

2012-02-10 Thread Emmanuel Bernard
It seems most if not all opened issues for Beta2 are MassIndexing related. Sanne, will you have time to address them? Do you need specific help besides swift pull request reviews? Emmanuel ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org ht

Re: [hibernate-dev] Forum not functional

2012-02-07 Thread Emmanuel Bernard
it happens sometimes. On 7 févr. 2012, at 08:57, Gunnar Morling wrote: > Hi, > > it seems like something is wrong with the database of the Hibernate forum. > Accessing https://forum.hibernate.org/ gives me only a MySQL error: > > General ErrorSQL ERROR [ mysql4 ] > > Can't connect to local MyS

Re: [hibernate-dev] Hibernate Developer Weekly IRC Meeting - 1/4

2012-01-03 Thread Emmanuel Bernard
o that just before branching 4.0 (just after 4.0.1 > release) > > Thoughts? > > On Tue 03 Jan 2012 09:02:44 AM CST, Emmanuel Bernard wrote: >> To answer the last question, rename of a github repo is fine. I am not sure >> forks are carried over but they can easily b

Re: [hibernate-dev] Hibernate Developer Weekly IRC Meeting - 1/4

2012-01-03 Thread Emmanuel Bernard
To answer the last question, rename of a github repo is fine. I am not sure forks are carried over but they can easily be remade. The local repo on the developer machine simply need to remove the old remote, add the new one and do a fetch. That's not disruptive. Emmanuel On 3 janv. 2012, at 15:

Re: [hibernate-dev] [HSEARCH] About HSEARCH-917 or DSL API and query parser

2012-01-02 Thread Emmanuel Bernard
Hi Guillaume, I've replied on the issue. I had good reasons for choosing OR. Plus I was not really consciously aware of the WordDelimiterFilter. Let's continue the discussion on the JIRA issue. On 28 déc. 2011, at 14:59, Guillaume Smet wrote: > Hi, > > I opened https://hibernate.onjira.com/bro

Re: [hibernate-dev] [HSEARCH] JIRA guidelines

2011-12-23 Thread Emmanuel Bernard
ture which should not happen if we follow the rules above. On 5 déc. 2011, at 11:18, Emmanuel Bernard wrote: > I am seeing a lot of issues being assigned to 4.1. I find it unrealistic. > Below is a gentle reminder on how I'd like us to assign versions. > > On 4 nov. 2011, at 11

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 16:29, Sanne Grinovero wrote: > wrote: >> My two cents : >> >> - .onLocation("position") >> >> - .onLatitude("lat").onLongitude("lng") > > I'm confused on what the String represents. I'm going to assume index > fields? So I'm preferring the "onLocation*Field* [..]" version

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 18:10, Hardy Ferentschik wrote: > > On Dec 21, 2011, at 6:02 PM, Sanne Grinovero wrote: > >> And where do I find a markdown rendering plugin for gmail ? > > Markdown support in Apple Mail wouldn't be so bad either :-) I'm moving my mailbox to a Git repo on GitHub. If you w

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 18:02, Sanne Grinovero wrote: > On 21 December 2011 17:58, Emmanuel Bernard wrote: >> >> On 21 déc. 2011, at 17:36, Sanne Grinovero wrote: >> >>> On 21 December 2011 17:34, Emmanuel Bernard wrote: >>>> >>>&

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 17:36, Sanne Grinovero wrote: > On 21 December 2011 17:34, Emmanuel Bernard wrote: >> >> On 21 déc. 2011, at 17:30, Hardy Ferentschik wrote: >> >>>> >>>> But we can reduce the number of methods called by doing something

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 17:30, Hardy Ferentschik wrote: >> >> But we can reduce the number of methods called by doing something like this >> >> builder >> .spatial() >> .forLocation("location") >> .within(500, Unit.KM) >> .ofLatitude(48.8d).andLongitude(2.29d) >> .crea

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 17:30, Hardy Ferentschik wrote: >>> >>> what's about 'proximity' instead of 'spatial'? >> >> I am somewhat neutral, but I think the industry term is spatial queries. >> Thoughts? > > The industry term is spatial, but I think the John Doe user might be more > familiar with

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
ader as to the order of latitude and > longitude. It is also used in the Google Maps JS API (well almost, the use > the imo uglier "LatLng"). > > Regards, > > Karel > > On 21 Dec 2011, at 14:59, Emmanuel Bernard wrote:

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
On 21 déc. 2011, at 15:19, Hardy Ferentschik wrote: > > On Dec 21, 2011, at 2:59 PM, Emmanuel Bernard wrote: > >> Which one do you prefer (line in bold for each sample)? >> >> builder >>

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-21 Thread Emmanuel Bernard
) .of().latitude( 24d ).longitude( 31.5d ) .createQuery(); On 5 déc. 2011, at 16:21, Emmanuel Bernard wrote: > Nicolas and I have made good progress on Geospatial queries for Hibernate > Search. >

Re: [hibernate-dev] Hibernate is 10

2011-12-20 Thread Emmanuel Bernard
Still waiting for my first gray hairs ;) On 20 déc. 2011, at 18:20, Christian Bauer wrote: > Not sure everyone noticed: http://sourceforge.net/projects/hibernate/ > > Registered: 2001-11-25 > > Congratulations :) > ___ > hibernate-dev mailing list > h

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-19 Thread Emmanuel Bernard
On 19 déc. 2011, at 18:30, Sanne Grinovero wrote: > About ".of(JTSLocation.class, jtsObject)" > nice trick, is the idea that you then return an object having a JTS > specific interface to ask for the additional parameters and options? > But I assume this is no longer relevant. It's more that the

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-19 Thread Emmanuel Bernard
On 19 déc. 2011, at 16:17, Hardy Ferentschik wrote: > I am sitting in a similar boat than Sanne. I don't know how much useful > feedback I can provide w/o first getting to > know the actual problem space better. > > Looking at the Jira issue and comments, I like the idea of having the > @Spat

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-19 Thread Emmanuel Bernard
ate my own > implementation. Do you have a specific reason in mind besides liking to hack things up :) > (I wouldn't call it "LocationInterface", just to stress I'm thinking > of an interface) > > > On 19 December 2011 13:15, Emmanuel Bernard wrote: >>

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-19 Thread Emmanuel Bernard
On 5 déc. 2011, at 17:01, Sanne Grinovero wrote: > To answer your question on "centeredOn", I'd avoid a strong dependency > on JTS. The "Object" option you propose could be an interface, and we > create a factory class which returns them; users should then be able > to use the JTS enabled factory

Re: [hibernate-dev] [HSEARCH] Geospatial indexing and queries

2011-12-19 Thread Emmanuel Bernard
Hey guys, I have not received much feedback on this. Can you take a look. I wanted to get the DSL done in the next couple of days. Emmanuel On 5 déc. 2011, at 16:21, Emmanuel Bernard wrote: > Nicolas and I have made good progress on Geospatial queries for Hibernate > Search. > >

[hibernate-dev] Hibernate Search 4.0 Final

2011-12-15 Thread Emmanuel Bernard
The team is pleased to announce the release of Hibernate Search 4.0 Final available in a SourceForge and Maven repository near you. The main changes are - support for Hibernate Core 4 - support for source of data/events other than Hibernate Core (which is now an optional dependency) - clearer s

Re: [hibernate-dev] HSEARCH-638 and other Search fixes.. another RC?

2011-12-08 Thread Emmanuel Bernard
So after discussions but use of the benevolent dictator power, here is what we will do. HSEARCH-638 is a bug (efficiency bug) We should drop HSEARCH-800 (see my last comment) 4.0 can address HSEARCH-795 4.1 will address HSEARCH-638, HSEARCH-1003 Assuming Core releases Wed night next week we go

Re: [hibernate-dev] Avoid need for bidirectional relations in Search

2011-12-07 Thread Emmanuel Bernard
Without the ORM info, we cannot guess that. Or more specifically we can guess a superset of that. Remember that you can have two (or more) unidirectional associations between two entity types. So we would need to reindex all Places where the Address is referenced in any of the associations. In m

Re: [hibernate-dev] Where is annotation <-> column name mapped?

2011-12-07 Thread Emmanuel Bernard
Hi Pawel, Check out the AbstractEntityPersister constructor and it's use of PersistentClass persistentClass.getIdentifier().getColumnIterator(); And for regular properties persistentClass.getPropertyClosureIterator(); property.getColumnIterator(); SingleTableEntityPersister has sp

<    3   4   5   6   7   8   9   10   11   12   >