You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@visi.com> on 2008/08/03 02:35:44 UTC
Re: New assembly for Hibernate end users
On Jul 29, 2008, at 8:16 AM, Jean-Louis MONTEIRO wrote:
> I modified openejb assembly to add a new profile "hibernate".
> It helps creating a new packaging using Hibernate JPA provider.
We'd have to figure out something clever to offer this. We can't ship
Hibernate using ASF hardware because it's LGPL.
One clever trick might be for there to be an "install hiberate"
command line option for the standalone assembly that downloads the
right jars on the spot and possibly deletes OpenJPA.
-David
Re: New assembly for Hibernate end users
Posted by Karan Malhi <ka...@gmail.com>.
Thats a pretty neat idea
On Sun, Aug 3, 2008 at 1:00 PM, Dain Sundstrom <da...@iq80.com> wrote:
> On Aug 2, 2008, at 5:35 PM, David Blevins wrote:
>
>
>> On Jul 29, 2008, at 8:16 AM, Jean-Louis MONTEIRO wrote:
>>
>> I modified openejb assembly to add a new profile "hibernate".
>>> It helps creating a new packaging using Hibernate JPA provider.
>>>
>>
>> We'd have to figure out something clever to offer this. We can't ship
>> Hibernate using ASF hardware because it's LGPL.
>>
>> One clever trick might be for there to be an "install hiberate" command
>> line option for the standalone assembly that downloads the right jars on the
>> spot and possibly deletes OpenJPA.
>>
>
> I have an idea drawing from an analogy to maven (another apache project).
> In maven, a user can create a pom.xml file that explicitly say, "I need to
> use hibernate." When maven starts up, it automatically downloads the
> hibernate jars.
>
> Maybe we could do something similar. When a user creates a persistence.xml
> they can explicitly say, "I need hibernate" by setting the provider element.
> Analogously, when we deploy that application we could automatically
> download the hibernate jars. To make life even better for our users, we
> could add a property to the configuration files that lets them easily select
> the default JPA provider (and maybe version) be it OpenJPA, Hibernate,
> Toplink, or whatever.
>
> -dain
>
--
Karan Singh Malhi
Re: New assembly for Hibernate end users
Posted by Dain Sundstrom <da...@iq80.com>.
On Aug 2, 2008, at 5:35 PM, David Blevins wrote:
>
> On Jul 29, 2008, at 8:16 AM, Jean-Louis MONTEIRO wrote:
>
>> I modified openejb assembly to add a new profile "hibernate".
>> It helps creating a new packaging using Hibernate JPA provider.
>
> We'd have to figure out something clever to offer this. We can't
> ship Hibernate using ASF hardware because it's LGPL.
>
> One clever trick might be for there to be an "install hiberate"
> command line option for the standalone assembly that downloads the
> right jars on the spot and possibly deletes OpenJPA.
I have an idea drawing from an analogy to maven (another apache
project). In maven, a user can create a pom.xml file that explicitly
say, "I need to use hibernate." When maven starts up, it
automatically downloads the hibernate jars.
Maybe we could do something similar. When a user creates a
persistence.xml they can explicitly say, "I need hibernate" by setting
the provider element. Analogously, when we deploy that application we
could automatically download the hibernate jars. To make life even
better for our users, we could add a property to the configuration
files that lets them easily select the default JPA provider (and maybe
version) be it OpenJPA, Hibernate, Toplink, or whatever.
-dain