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

2011-06-01 Thread Emmanuel Bernard
On 23 mai 2011, at 17:00, Sanne Grinovero wrote: >> Hi Davide, >> >> >>> today I've downloaded the hibernate-search sources and my eclipse has >>> a problem importing the maven projects because the parent folder has >>> the same name as one of the sub-folders: >> >> what was the problem? I per

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Hardy Ferentschik
Hi, this is just heads up that we just did a forced push to the master repo of Hibernate Core. What has happened? For some reason the repo was out of sync with what some of us (at least me and Strong) had in our checkout. This morning the tip of master contained the following two commits 663

[hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
Hey, guys, in Hibernate 3 you had ConnectionProvider#close() method which releases all the resources used by the connection provider. In hibernate 4 ConnectionProvider is a service without this method, but you have Stoppable interface with stop() method which I guess do this work. But the proble

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Sanne Grinovero
2011/6/1 Dmitry Geraskov : > Hey, guys, > > in Hibernate 3 you had ConnectionProvider#close() method which releases > all the resources used by the connection provider. > In hibernate 4 ConnectionProvider is a service without this method, but > you have Stoppable interface with stop() method which

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
Actually I tried to debug and in my test ConnectionProviderInitiator creates an instance of DriverManagerConnectionProviderImpl which is Stoppable. And I expected that this code could help me: if (connectionProvider.isUnwrappableAs(Stoppable.class)){ Stoppable stoppable = connectionPr

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Hardy Ferentschik
On Wed, 01 Jun 2011 10:15:54 +0200, Sanne Grinovero wrote: > Some time ago I experienced a similar issue with Hibernate Core's > repository, > and solved it by renaming my master, checking out a fresh copy and > rebasing in my changes from my local copy. Right. That was the second option. Ke

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
Sure the proxy implements Service as actually it implements ConnectionProder which is a rg.hibernate.service.Service and org.hibernate.service.spi.Wrapped. 01/06/2011 11:25, Sanne Grinovero wrote: > 2011/6/1 Dmitry Geraskov: >> Hey, guys, >> >> in Hibernate 3 you had ConnectionProvider#close() m

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Sanne Grinovero
2011/6/1 Hardy Ferentschik : > On Wed, 01 Jun 2011 10:15:54 +0200, Sanne Grinovero > wrote: > >> Some time ago I experienced a similar issue with Hibernate Core's >> repository, >> and solved it by renaming my master, checking out a fresh copy and >> rebasing in my changes from my local copy. > >

Re: [hibernate-dev] published groupIds

2011-06-01 Thread Emmanuel Bernard
On 25 mai 2011, at 13:38, Hardy Ferentschik wrote: >>> As we discussed in a meeting I think 2 weeks ago, I went ahead and spoke >>> with Paul about renaming the groupIds we use for publishing. He said he >>> thought it was fine. He did not foresee any issue with doing that. >> >> What will the

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

2011-06-01 Thread Sanne Grinovero
2011/6/1 Emmanuel Bernard : > > On 23 mai 2011, at 17:00, Sanne Grinovero wrote: > >>> Hi Davide, >>> >>> today I've downloaded the hibernate-search sources and my eclipse has a problem importing the maven projects because the parent folder has the same name as one of the sub-folders

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Steve Ebersole
I did the force, but to be honest I am still not understanding why this was a problem. Perhaps I am just misunderstanding what a forced push does. On Jun 1, 2011 3:43 AM, "Sanne Grinovero" wrote: > 2011/6/1 Hardy Ferentschik : >> On Wed, 01 Jun 2011 10:15:54 +0200, Sanne Grinovero >> wrote: >> >

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Steve Ebersole
The current state of master is no longer using proxies for services. But regardless this usage here was never the intent of Unwrappable which is instead meant to give you access to wrapped objects (the datasource of a datasource connection provider, e.g.). On Jun 1, 2011 3:37 AM, "Dmitry Geraskov"

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
Sorry, Steven I didn't understand, could you please rephrase. PS. I use hibernate-release-4.0.0.Alpha3. 01/06/2011 12:08, Steve Ebersole wrote: > > The current state of master is no longer using proxies for services. > > But regardless this usage here was never the intent of Unwrappable > which

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Steve Ebersole
Have a look at the latest sources in git... On Jun 1, 2011 4:12 AM, "Dmitry Geraskov" wrote: > Sorry, Steven I didn't understand, could you please rephrase. > > PS. I use hibernate-release-4.0.0.Alpha3. > > 01/06/2011 12:08, Steve Ebersole wrote: >> >> The current state of master is no longer usin

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Hardy Ferentschik
On Wed, 01 Jun 2011 11:12:23 +0200, Steve Ebersole wrote: > I did the force, but to be honest I am still not understanding why this > was > a problem. Perhaps I am just misunderstanding what a forced push does. It pushes your current state of the repo no matter whether it is a fast forwar

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Strong Liu
i guess before you force push, you didn't pull so, the commits after your last pull just losted after you force push --- Strong Liu http://hibernate.org http://github.com/stliu On Jun 1, 2011, at 5:12 PM, Steve Ebersole wrote: > I did the force, but to be honest I am still not understan

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
You mean I can't close ConnectionProvider using alpha3? And I expected I could get any interface which actual wrapped object implements (actual connection provider instance in my case) by calling Wrappable#unwrap(), if I was mistaken what for this method? Where should I look in git, there are m

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Steve Ebersole
I did pull. I pulled immediately before the push On Jun 1, 2011 4:28 AM, "Strong Liu" wrote: > i guess before you force push, you didn't pull > so, the commits after your last pull just losted after you force push > > --- > Strong Liu > http://hibernate.org > http://github.com/stliu > >

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Steve Ebersole
I did a pull+rebase. The rebase had conflicts. But I never found a way to continue the rebase initiated from pull. I thought `git rebase --continue`was the incantation, but it was not working. So I guess conceivably there were additional commits still to process which would explain the missing

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

2011-06-01 Thread Emmanuel Bernard
> > I dislike "orm" as it's too generic, we don't want to imply to support any > orm. > > We already mention hibernate in the group id properly identifying the > team working on it, so if the kernel of H.Search doesn't need H.Core > as it will drop the hibernate-core depencency, we could call t

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

2011-06-01 Thread Sanne Grinovero
2011/6/1 Emmanuel Bernard : > >> >> I dislike "orm" as it's too generic, we don't want to imply to support any >> orm. >> >> We already mention hibernate in the group id properly identifying the >> team working on it, so if the kernel of H.Search doesn't need H.Core >> as it will drop the hibernat

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Steve Ebersole
On 06/01/2011 05:14 AM, Steve Ebersole wrote: > I did a pull+rebase. The rebase had conflicts. But I never found a way > to continue the rebase initiated from pull. I thought `git rebase > --continue`was the incantation, but it was not working. So I guess > conceivably there were additional com

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Hardy Ferentschik
On Wed, 01 Jun 2011 13:13:09 +0200, Steve Ebersole wrote: > On 06/01/2011 05:14 AM, Steve Ebersole wrote: >> I did a pull+rebase. The rebase had conflicts. But I never found a way >> to continue the rebase initiated from pull. I thought `git rebase >> --continue`was the incantation, but it w

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Steve Ebersole
On 06/01/2011 04:34 AM, Dmitry Geraskov wrote: > You mean I can't close ConnectionProvider using alpha3? Cast the proxy as org.hibernate.service.internal.ServiceProxy and use its getTargetInstance() method. https://github.com/hibernate/hibernate-core/blob/4.0.0.Alpha3/hibernate-core/src/main/jav

Re: [hibernate-dev] Fwd: something wrong with our git repo?

2011-06-01 Thread Strong Liu
On Jun 1, 2011, at 7:18 PM, Hardy Ferentschik wrote: > On Wed, 01 Jun 2011 13:13:09 +0200, Steve Ebersole > wrote: > >> On 06/01/2011 05:14 AM, Steve Ebersole wrote: >>> I did a pull+rebase. The rebase had conflicts. But I never found a way >>> to continue the rebase initiated from pull. I

[hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Emmanuel Bernard
Hi guys, I've setup @hibernate_dev on Twitter and made GitHub to push commit messages to the account. If you are interested in the commit messages, just follow this account. And of course, you can follow @hibernate which is Hibernate team's twitter account (low traffic).

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Sanne Grinovero
thank you, let's see how quick bit.ly 's hash space fills up. Sanne 2011/6/1 Emmanuel Bernard : > Hi guys, > I've setup @hibernate_dev on Twitter and made GitHub to push commit messages > to the account. > If you are interested in the commit messages, just follow this account. > > And of course,

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Max Rydahl Andersen
> I've setup @hibernate_dev on Twitter and made GitHub to push commit messages > to the account. > If you are interested in the commit messages, just follow this account. seriously? This means twitter search for Hibernate will now be rather useless since all commits will show up instead of thos

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Sanne Grinovero
2011/6/1 Max Rydahl Andersen : >> I've setup @hibernate_dev on Twitter and made GitHub to push commit messages >> to the account. >> If you are interested in the commit messages, just follow this account. > > seriously? > > This means twitter search for Hibernate will now be rather useless since a

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Max Rydahl Andersen
>>> I've setup @hibernate_dev on Twitter and made GitHub to push commit >>> messages to the account. >>> If you are interested in the commit messages, just follow this account. >> >> seriously? >> >> This means twitter search for Hibernate will now be rather useless since all >> commits will sh

[hibernate-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-01 Thread Scott Marlow
I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the TransactionSynchronizationRegistry. Do any Hibernate projects currently register Transaction synchronization objects? Do they currently register synchronizations

Re: [hibernate-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-01 Thread Steve Ebersole
If you mean Hibernate subprojects, they should all be registering synchs through Hibernate which then delegates transaction events to them. This was specifically discussed to circumvent problems we had with multiple registrations and callbacks happening "out of order" with certain JTA implementati

Re: [hibernate-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-01 Thread Scott Marlow
Yes, I meant Hibernate subprojects. Thanks for the answer. On 06/01/2011 04:45 PM, Steve Ebersole wrote: > If you mean Hibernate subprojects, they should all be registering synchs > through Hibernate which then delegates transaction events to them. This was > specifically discussed to circumvent

[hibernate-dev] compile hibernate4 alpha3 using java5

2011-06-01 Thread gioacchinoma...@libero.it
Hi there, is it possible to compile hibernate4 using java5 ? I've seen there is some errors on alpha3 but i don't know if java5 should be supported or not. To be more specific i got errors on "org.hibernate.build.gradle.inject. InjectionAction" because it uses an "@Override" annotation against

Re: [hibernate-dev] compile hibernate4 alpha3 using java5

2011-06-01 Thread Steve Ebersole
Hibernate 4 requires Java 6 On Jun 1, 2011 4:11 PM, "gioacchinoma...@libero.it" < gioacchinoma...@libero.it> wrote: > Hi there, > > is it possible to compile hibernate4 using java5 ? I've seen there is some > errors on alpha3 but i don't know if java5 should be supported or not. > > To be more spe

[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: ... org.jboss.logging jboss-logging 3.0.0.Beta

Re: [hibernate-dev] Release Connection provider resources

2011-06-01 Thread Dmitry Geraskov
Thanks, Steve, this works. (Unfortunately this didn't fix our tests, but anyway thanks) Dmitry 01/06/2011 14:18, Steve Ebersole wrote: > On 06/01/2011 04:34 AM, Dmitry Geraskov wrote: >> You mean I can't close ConnectionProvider using alpha3? > > Cast the proxy as org.hibernate.service.internal.S