Re: [hibernate-dev] Backports for 3.6.10

2012-01-25 Thread Steve Ebersole
Just to be clear, the testing fix in HHH-6854 does not affect testing for HHH-6855... On 01/20/2012 01:39 AM, Gail Badner wrote: > I've added an issue for backporting HHH-6855. I thought it was a good idea to > include HHH-6854 so that the backport for HHH-6855 would be tested. > > Let me know w

Re: [hibernate-dev] Proxies and typing

2012-01-25 Thread Steve Ebersole
In terms of caching the resolution (User-UserImpl) on SessionFactory, if we go that route, we can just limit it to specified proxyClass values as opposed to a more free-form "any and all interfaces". Also, as far as the Session get and load methods, we don't have to switch them to use generics.

Re: [hibernate-dev] Proxies and typing

2012-01-25 Thread Steve Ebersole
Not really following what you are advocating Sanne. The problem with accepting the interface in the API is that we do not track this information today. From a Session, I have no way to get from User -> UserImpl unless I iterate every persister registered with the SessionFactory and check its m

Re: [hibernate-dev] Using SOLR with indexing/search Server

2012-01-25 Thread Anderson vasconcelos
Hi Hardy, Thanks for the reply. I Wanna use HIbernate Search, because it has a lot of features that SOLRJ doesn't have, like embebed objects mapping, easy way to call search (because is similar to create HQL query) and easy way to integrate database data with index data. For developers, Hibernate S

Re: [hibernate-dev] Proxies and typing

2012-01-25 Thread Sanne Grinovero
Would it be acceptable for such a use case to demand to use the interface instead ? UserImpl u = (UserImpl) session.load( UserImpl.class, ... ) -> Illegal type exception User u = (User) session.load( User.class, ... ) -> Ok I think it would, as the first case would work only in certain situations

[hibernate-dev] Hibernate Metamodel Generator 1.2.0.CR1

2012-01-25 Thread Hardy Ferentschik
All the info on in.relation.to - http://in.relation.to/22807.lace --Hardy ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Pull request

2012-01-25 Thread Steve Ebersole
I think I just missed the notification from you comment and GitHub does not notify us when the code underlying a pull request has been updated. Thanks for following up. I'll get to it for 4.1 On Wed 25 Jan 2012 03:19:01 PM CST, Paweł Stawicki wrote: > Hello, > > Some time ago I issued a pull r

Re: [hibernate-dev] Proxies and typing

2012-01-25 Thread Steve Ebersole
BTW, I did go back and verify that indeed the mismatch is with @Proxy.proxyClass specifying an interface. Consider an example: @Entity @Proxy(proxyClass=User.class) public class UserImpl implements User { ... } You will never be able to cast proxies instance of this thing to UserImpl. Th

[hibernate-dev] Pull request

2012-01-25 Thread Paweł Stawicki
Hello, Some time ago I issued a pull request (https://github.com/hibernate/hibernate-orm/pull/243). There were some formatting problems, I fixed them. Now I'd like to know what next. It is still not merged, and there are no more comments. If it's ok, I'd love it to be merged. If it's not, I'd lov

Re: [hibernate-dev] Using SOLR with indexing/search Server

2012-01-25 Thread Hardy Ferentschik
Hi, > It's possible to use apache SOLR integrated with HIbernate Search? I > wanna to use the features of HIbernate Search (Like integration with > database objects, MultiObject Mapping, indexedEmbebed, etc) and use > SOLR for indexing and search, this is possible? At the moment there is no integ

[hibernate-dev] Using SOLR with indexing/search Server

2012-01-25 Thread Anderson vasconcelos
Hi It's possible to use apache SOLR integrated with HIbernate Search? I wanna to use the features of HIbernate Search (Like integration with database objects, MultiObject Mapping, indexedEmbebed, etc) and use SOLR for indexing and search, this is possible? Thanks __

[hibernate-dev] Proxies and typing

2012-01-25 Thread Steve Ebersole
In regards to the new "load access", a user asked why we don't leverage generics. The problem is the existence of @Proxy#proxyClass. We have the same issue with Session#load/get taking the entity Class. We can't use a generic sig like: public T load(Class entityType, ...) because at times

Re: [hibernate-dev] OGM-98

2012-01-25 Thread Sanne Grinovero
Hi Jonathan, Welcome, this sounds like a list of exciting ideas! More comments inline: On 25 January 2012 18:18, jonathan wood wrote: > Hello, > >  I have a need for resolution of > #OGM-98 and > would not mind taking a shot at the implementation.  Has

[hibernate-dev] OGM-98

2012-01-25 Thread jonathan wood
Hello, I have a need for resolution of #OGM-98 and would not mind taking a shot at the implementation. Has any work or analysis been done in this area? I'd love to leverage any knowledge in the community. On the surface, this seems quite possible.

Re: [hibernate-dev] forced pushes

2012-01-25 Thread Alaa Mohsen
Sorry. Replied to a wrong mail On Wed, Jan 25, 2012 at 5:33 PM, Alaa Mohsen wrote: > I can confirm that. Number of notifications since is much less > > > On Wed, Jan 25, 2012 at 2:51 PM, Scott Marlow wrote: > >> Good catch :) >> >> On 01/25/2012 04:31 AM, Sanne Grinovero wrote: >> > Hi Scott, >>

Re: [hibernate-dev] forced pushes

2012-01-25 Thread Alaa Mohsen
I can confirm that. Number of notifications since is much less On Wed, Jan 25, 2012 at 2:51 PM, Scott Marlow wrote: > Good catch :) > > On 01/25/2012 04:31 AM, Sanne Grinovero wrote: > > Hi Scott, > > small typo: Hibernate OGM is not the same as Hibernate ORM > > > > Cheers, > > Sanne > > > > >

Re: [hibernate-dev] forced pushes

2012-01-25 Thread Scott Marlow
Good catch :) On 01/25/2012 04:31 AM, Sanne Grinovero wrote: > Hi Scott, > small typo: Hibernate OGM is not the same as Hibernate ORM > > Cheers, > Sanne > > > On 25 January 2012 01:53, Scott Marlow wrote: >> Something else seems wrong. >> >> I deleted my personal Hibernate fork from github and f

Re: [hibernate-dev] forced pushes

2012-01-25 Thread Sanne Grinovero
Hi Scott, small typo: Hibernate OGM is not the same as Hibernate ORM Cheers, Sanne On 25 January 2012 01:53, Scott Marlow wrote: > Something else seems wrong. > > I deleted my personal Hibernate fork from github and forked it again. > > http://fpaste.org/f8eF/ is a transcript of the errors that