Re: OpenJPA IP clearance (was: Re: [VOTE] publish openjpa 0.9.6-incubating release)

2006-11-22 Thread Eddie O'Neil
I can take care of the page once we've confirmed that the code was recorded. Geir, you've got more experience with this than I -- any idea where the OpenJPA code grant documented? I didn't find it in grants.txt. Eddie ps -- to update the Incubator website, you need two things: #1: Check

Re: how to disable toplink?

2006-11-22 Thread Marc Prud'hommeaux
Roger- I think the first step would be to get it working in glassfish when deployed globally, and then move from there to seeing if it is possible to deploy it within a WAR. What is the error you get (if any) if you deploy globally? The following persistence.xml worked the last time I

Re: how to disable toplink?

2006-11-22 Thread Don Brady
Just to note that we have both Toplink and OpenJPA deployed entirely inside a single EAR file under WebSphere 6.1.(which is Java 5 but J2EE 4). We can switch it back and forth between Toplink and OpenJPA modes of operation, without regenerating the EAR, as follows. - change the provider name

Re: how to disable toplink?

2006-11-22 Thread Craig L Russell
I looked at the code in javax.persistence.Persistence.createEntityManagerFactory and it iterates the META-INF/services/ javax.persistence.spi.PersistenceProvider using the context class loader. So, first assumption: you are using the Persistence.createEntityManagerFactory method in your

RE: Two more release artifacts for next time

2006-11-22 Thread Patrick Linskey
Shouldn't Maven have some way to just do that declaratively, so that the Maven framework can go and fetch the other dependencies? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with

Re: Two more release artifacts for next time

2006-11-22 Thread Craig L Russell
Yes. In maven1, you need the everything jar or you have to declare all of openjpa's dependencies. In maven2, you need just the openjpa jar and its pom declares its own dependencies. Craig On Nov 22, 2006, at 5:45 PM, Patrick Linskey wrote: Shouldn't Maven have some way to just do that

Re: how to disable toplink?

2006-11-22 Thread roger.keays
Craig L Russell wrote: The issue with this is in Persistence. The results of finding the services the very first time is cached in a static variable. The only way I can see to make this work is to use your own version of Persistence that is also deployed in your WAR file. If you use

RE: Two more release artifacts for next time

2006-11-22 Thread Patrick Linskey
Do we care about supporting Maven 1 artifacts? I know nothing about maven, including what versions people use out there. My uneducated opinion is that we should not do extra work for old-version support if we can get away with it. -Patrick -- Patrick Linskey BEA Systems, Inc.