[jboss-dev-forums] [JBoss AS7 Development] - Re: AS 7 Persistence Provider Problem

Scott Marlow do-not-reply at jboss.com
Tue Sep 27 15:27:42 EDT 2011


Scott Marlow [http://community.jboss.org/people/smarlow] created the discussion

"Re: AS 7 Persistence Provider Problem"

To view the discussion, visit: http://community.jboss.org/message/628890#628890

--------------------------------------------------------------
Nice!   ;) 

I think the first step would be for you to hack together a EclipseLink module to test with.  This would be copied into the as7/modules/org/eclipse/persistence folder.  I have a hack in mind, for the integration classes that I will tell you about when your ready for it.  In a few days, I'll add the hack, if you haven't yet.

You might want to start writing some instructions for how to manually create the as7/modules/org/eclipse/persistence folder as I have done for Hibernate 3 (see  https://docs.jboss.org/author/display/AS7/JPA+Reference+Guide https://docs.jboss.org/author/display/AS7/JPA+Reference+Guide).  Just keep the instructions local until they work.

as7/modules/org/eclipse/persistence/*main* will contain a module.xml file that species the EclipseLink jars and dependencies on other AS7 modules.  

You will want an EclipseLink test that has a persistence.xml with the following property set.  
> <properties>
> <property name="jboss.as.jpa.providerModule" value="org.eclipse.persistence" />
> </properties>

When you get the EclipseLink module hacked together and a test deploying, we should see an error about the adapter module not being found.  I think we will eliminate that error and instead use a simple no-op adapter module (the hack that I mentioned above).  The test case could easily be a test case in as7/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/jpa (see current Hibernate tests under there).

Make sense?

Scott
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/628890#628890]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110927/4402069c/attachment.html 


More information about the jboss-dev-forums mailing list