Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Seam support
PostPosted: Thu Jan 19, 2012 7:50 pm 
Newbie

Joined: Thu Jan 19, 2012 7:48 pm
Posts: 2
Hi,

I was wondering whether OGM works with Seam 2.2.2?

Cheers,
Jon


Top
 Profile  
 
 Post subject: Re: Seam support
PostPosted: Sun Feb 19, 2012 8:25 am 
Newbie

Joined: Thu Jan 19, 2012 7:48 pm
Posts: 2
OK so it doesn't support seam.

If I was willing to give time to get it working (I'm a good programmer, however have no idea about associated libraries). How long would it take?


Top
 Profile  
 
 Post subject: Re: Seam support
PostPosted: Mon Feb 20, 2012 9:34 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2296
Location: Third rock from the Sun
Hi jovincem,
your help on that would be appreciated. I'm not sure how long it would take, but it should be pretty easy:

I don't see why OGM specifically wouldn't work with Seam, as the interface is the same as Hibernate and the Seam framework shouldn't care of how we actually load/store the entities.
These are the possible things we should look into:
- Seam 2.x needs to work fine with Hibernate 4
- Make sure the app (or Seam components) won't use JPQL queries

I'm sure someone of the Seam community is already working on the support for Hibernate 4, I'll get you in touch when I understand who is looking into that ;-)

Do you already know what is not working specifically? Are you familiar with Arquillian? It would be nice if you could write an Arquillian test verifying integration with Seam, I'd be glad to include such a test in the Hibernate OGM codebase.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Seam support
PostPosted: Mon Feb 20, 2012 10:59 am 
Newbie

Joined: Mon Feb 20, 2012 10:36 am
Posts: 3
Seam 2.3.0-SNAPSHOT right now supports Hibernate4/JSF2/BeanValidation, so it should just work ;-)

I don't know Hibernate OGM, but I suppose that it is only matter of to get know its annotation and hand over to Hibernate Core or JPA 2, right?


Top
 Profile  
 
 Post subject: Re: Seam support
PostPosted: Mon Feb 20, 2012 11:36 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2296
Location: Third rock from the Sun
Quote:
I don't know Hibernate OGM, but I suppose that it is only matter of to get know its annotation and hand over to Hibernate Core or JPA 2, right?

Much better, it should only need a couple of changes in the configuration files.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Seam support
PostPosted: Mon Feb 20, 2012 1:18 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2296
Location: Third rock from the Sun
by the way, this is tracked as https://hibernate.onjira.com/browse/OGM-27
Feel free to comment directly on the issue.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.