incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Zhang <Frank.Zh...@citrix.com>
Subject RE: Hibernate
Date Thu, 28 Jun 2012 17:17:41 GMT
Sorry please ignore my former mail

> > Am looking at replace Hibernate with Spring Framework
> > simpleJDBCTemplate.
Does this mean ripping out Hibernate? Then we don't have dependency on Hibernate anymore.
I am afraid that AWS API will refactor a bit, as we are jumping from ORM to raw JDBC.


> -----Original Message-----
> From: Frank Zhang [mailto:Frank.Zhang@citrix.com]
> Sent: Thursday, June 28, 2012 10:11 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: Hibernate
> 
> Spring is able to downgrade dependency of hibernate from compile to
> runtime, however, I am surprise at failing to yum search "hibernate" on my
> FC15.
> Then I did a quick google "hibernate centos rpm" and got nothing.
> I suggest before digging into Spring, make sure hibernate is distributed with
> popular Linux distribution, otherwise Spring won't help.
> 
> > -----Original Message-----
> > From: Rajesh Battala [mailto:rajesh.battala@citrix.com]
> > Sent: Wednesday, June 27, 2012 10:44 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: RE: Hibernate
> >
> > Hi,
> >
> > I had started working on this issue. As Hibernate is LGPL we cannot
> > use this in our Apache repo.
> > I had discussed with Chiradeep and Kelven.
> >
> > Am looking at replace Hibernate with Spring Framework
> > simpleJDBCTemplate.
> >
> > The Spring Framework is released under version 2.0 of the Apache
> > License http://www.springsource.org/spring-framework
> >
> > Thanks
> > Rajesh Battala
> >
> >
> > > -----Original Message-----
> > > From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com]
> > > Sent: Thursday, June 28, 2012 10:45 AM
> > > To: cloudstack-dev@incubator.apache.org
> > > Cc: cloudstack-dev@incubator.apache.org
> > > Subject: Re: Hibernate
> > >
> > > The ORM in the AWS module is 90% used by S3.
> > > The dependency is mostly  abstracted by a DAO layer; there is
> > > another dependency on transactions. I believe Rajesh B is already
> > > working on this aspect and there is a bug open on it.
> > >
> > > --
> > > Chiradeep
> > >
> > > On Jun 27, 2012, at 21:52, "David Nalley" <david@gnsa.us> wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jun 28, 2012, at 12:45 AM, Sheng Liang <Sheng.Liang@citrix.com>
> > > wrote:
> > > >
> > > >>> In short, I see three options (please comment if you see more)
1.
> > > >>> Rip out
> > > hibernate and replace with some other ORM 2. Make the AWS API bits
> > > an optional non-default part of the build.
> > > >> 3. Declare that hibernate is a system requirement for CloudStack
> > > >>
> > > >> I prefer option #1. It is the cleanest. I don't think it will be
> > > >> very difficult to
> > > rip out Hibernate.
> > > >>
> > > >> Sheng
> > > >
> > > >
> > > >
> > > > That is my personal inclination as well, though I am somewhat
> > > > reticent to
> > > say so, since I am not doing any of the work to rip and replace. At
> > > the same time choice of ORM is a big issue. I know, for instance
> > > that Alex was looking into finding another ORM for the rest of CloudStack.
> > > When I initially looked at the Hibernate issue, Prachi told me she
> > > thought it was about 2 weeks worth of work.
> > > >
> > > >
> > > > --David

Mime
View raw message