[hibernate-dev] Fwd: Re: Proxies and typing

2012-03-20 Thread Steve Ebersole
Forwarding a part of this discussion that got inadvertently limited to just Sanne and myself. Bringing this back up because this is most likely not going to be accepted into JPA 2.1. Anyway, I am all for going down the path that: public interface User { ... } @Entity @Proxy(proxyClass=User.cl

Re: [hibernate-dev] Proxies and typing

2012-03-20 Thread Steve Ebersole
Sorry, but I do not at all like the overloading approach. On 01/26/2012 07:39 AM, Eric Dalquist wrote: > Perhaps an overloaded method for those that want generics and proxies? > > public T load(Class entityType, Class proxyType, ...) > > It is kinda gross and results in higher level code kno

Re: [hibernate-dev] upgrade to gradle 1.0-m9

2012-03-20 Thread Steve Ebersole
GRADLE-2169 (or at least tests hanging on your system) was the main reason to switch to m9. If that's not addressed by m9 then IMO we should not switch. Like I said on IRC all the reports I saw (JIRA and forum) said that that particular thing is still an issue. Curious it only fails on some

Re: [hibernate-dev] OGM: MongoDB integration

2012-03-20 Thread Guillaume SCHEIBEL
Sure I'll keep you up to date during the next days. Guillaume 2012/3/20 Sanne Grinovero > Thanks Guillaume, > regarding data cleaning, I was thinking of having the tests drop the > database by adding a method to > org.hibernate.ogm.test.utils.TestableGridDialect. > > If you could focus on makin

Re: [hibernate-dev] OGM: MongoDB integration

2012-03-20 Thread Sanne Grinovero
Thanks Guillaume, regarding data cleaning, I was thinking of having the tests drop the database by adding a method to org.hibernate.ogm.test.utils.TestableGridDialect. If you could focus on making the tests pass / disable them in the short term, I'll look into fixing the testsuite. Cheers, Sanne

Re: [hibernate-dev] OGM: MongoDB integration

2012-03-20 Thread Guillaume SCHEIBEL
Hi all, Ok Sanne, thanks for the code review. I'll work in those point. As we said, I will configure surefire to skip all tests that use associations. About the other points, MongoHQ is a paas provider (Cloudbees is actually working whith it) but working with a PAAS provider will probably requieri

[hibernate-dev] OGM: MongoDB integration

2012-03-20 Thread Sanne Grinovero
Hello all, I'm satisfied with this structure as a good starting point; let's know hack together from this reference; please discard the previous branches. g...@github.com:hibernate/hibernate-ogm.git branch: mongodb There are some limitations, so I wasn't happy to integrate it in master yet. The

[hibernate-dev] upgrade to gradle 1.0-m9

2012-03-20 Thread Strong Liu
I have pushed my changes [1] some notes here: * this upgrade does not resolve the GRADLE-2169 issue, my build still hangs (but with "-i" option, it disappears, needs to dig more ) * the gradle-jdocbook change doesn't compatible with previous gradle release (there is a gradle class renamed) * I

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-20 Thread Hardy Ferentschik
Hi Guillaume, thanks for the Jira and the evaluation of the problem. I will have a look at it asap and come back to you. --Hardy On Mar 19, 2012, at 11:37 PM, Guillaume Smet wrote: > Hi Hardy, > > On Wed, Mar 14, 2012 at 1:36 PM, Guillaume Smet > wrote: >> On Wed, Mar 14, 2012 at 1:20 PM, H

Re: [hibernate-dev] byteman

2012-03-20 Thread Steve Ebersole
Strong passed that to the Gradle file() method, which handles the file separators I believe. files() does the same, calling file() for each thing in whatever collection it is given. I am curious Strong why you explicitly handle classes.jar (apparently for MacOS) when it is already handled? O

Re: [hibernate-dev] byteman

2012-03-20 Thread Steve Ebersole
You'll have to give me more info. All tests pass here for me aside from the one originally discussed on this thread: > Building > :hibernate-core:matrixUnitTest > Resolving dependencies ':hibernate:hibernate-core:matrixUnitTest Test org.hibernate.test.annotations.xml.ejb3.OrmVersion1SupportedT

Re: [hibernate-dev] byteman

2012-03-20 Thread Hardy Ferentschik
On Mar 20, 2012, at 11:02, Sanne Grinovero wrote: > On 20 March 2012 08:42, Strong Liu wrote: >> >> On Mar 20, 2012, at 4:32 PM, Sanne Grinovero wrote: >> >> Nice, but I guess that won't work on Windows? >> >> >> the file path separator? > > Yes I'm thinking about the file separator, but I

Re: [hibernate-dev] byteman

2012-03-20 Thread Sanne Grinovero
On 20 March 2012 08:42, Strong Liu wrote: > > On Mar 20, 2012, at 4:32 PM, Sanne Grinovero wrote: > > Nice, but I guess that won't work on Windows? > > > the file path separator? Yes I'm thinking about the file separator, but I didn't try it.. maybe it's fine because of some groovy magic. For the

Re: [hibernate-dev] byteman

2012-03-20 Thread Strong Liu
On Mar 20, 2012, at 4:32 PM, Sanne Grinovero wrote: > Nice, but I guess that won't work on Windows? the file path separator? > > On 20 March 2012 06:33, Hardy Ferentschik wrote: >> >> On Mar 20, 2012, at 6:15 AM, Strong Liu wrote: >> >>> fixed >>> https://github.com/hibernate/hibernate-or

Re: [hibernate-dev] byteman

2012-03-20 Thread Sanne Grinovero
Nice, but I guess that won't work on Windows? On 20 March 2012 06:33, Hardy Ferentschik wrote: > > On Mar 20, 2012, at 6:15 AM, Strong Liu wrote: > >> fixed >> https://github.com/hibernate/hibernate-orm/commit/749f7c1eb5206ab456db08bb901befa39ac5c11e > > Sweet :-) Cool that you figured it out. >