[hibernate-dev] Documentation on OGM + JBoss AS

Sanne Grinovero sanne at hibernate.org
Mon Oct 1 11:05:27 EDT 2012


On 1 October 2012 15:51, Scott Marlow <smarlow at redhat.com> wrote:
> I got further yesterday (after removing the ---PlaceHolderDSForOGM---
> property from HibernateOgmPersistence).  Not sure what the long term
> change is (perhaps we should only add the ---PlaceHolderDSForOGM--- for
> the non-container case).

Nice. Is the AS still "mandating" a specific module name and injecting
Hibernate 3?
Last time I was trying that was driving me nuts, as to workaround it I
needed lots of changes in AS.

I would expect to not have any OGM-specific code in the AS, but that
it should be good enough to implement the JPA spec correctly regarding
the provider implementation?

>
> http://pastie.org/4891549 is the out from running one of the example
> applications (jboss-javaee6-webapp).  Obviously, I need to try a
> different test. ;)

Right, you might need to simplify an existing test, or take the
ogm-kitchensink as a starting point:
take branch as711 from:
git://github.com/Sanne/ogm-kitchensink.git

Hardy originally wrote that demo, but I don't remember if we ever
integrated my changes from that branch to have it run on AS 7.1.1.

> For AS documentation, I'm not sure if we are ready to add that yet (it
> would be experimental with the goal of helping someone get started).
> I'm open to suggestions but I think we could build on what I blogged
> about last year here
> http://in.relation.to/Bloggers/UsingADifferentPersistenceProviderWithAS701#H-ExperimentalUseOfOGMOnAS701.
>
> - How to add the OGM module to AS
> - Changing existing AS module dependencies for OGM
> - Infinispan Configuration changes for OGM
> - Example

That would be great, are you creating a patch for the docbook in OGM?

Sanne

>
>
> On 09/27/2012 11:13 AM, Emmanuel Bernard wrote:
>> I'd still prefer a small section in our reference documentation.
>> Stuff in the wiki is as useful as peeing in a violin as we say in
>> France ;)
>>
>> Emmanuel
>>
>> On Thu 2012-09-27  9:52, Scott Marlow wrote:
>>> On 09/27/2012 09:02 AM, Emmanuel Bernard wrote:
>>>> Hey Scott,
>>>>
>>>> I stumbled upon https://hibernate.onjira.com/browse/OGM-117 and wondered
>>>> if you could contribute a paragraph or two on how to use Hibernate OGM
>>>> in JBoss AS latest.
>>>> The documentation is hosted in http://github.com/hibernate/hibernate-ogm, there
>>>> is a documentation module.
>>>
>>> I could do that or
>>> https://docs.jboss.org/author/display/AS72/JPA+Reference+Guide might
>>> be another place for the "how to use Hibernate OGM with AS"
>>> documentation.  This link is likely to change like the wind but the
>>> content will be available.
>>>
>>> I'm not sure that either location is better, but I do like using
>>> confluence as users can more easily fix the mistakes.  ;)
>>>
>>> Do you have a preference?
>>>
>>>>
>>>> If you can make it by end of week or Monday, you gain extra karma
>>>> points.
>>>>
>>>
>>> Extra karma points are always good to have!  :)
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list