RE: Hibernate -> Custom DAO for AWS component

2012-08-15 Thread Alex Huang
. --Alex > -Original Message- > From: Will Chan [mailto:will.c...@citrix.com] > Sent: Wednesday, August 15, 2012 5:33 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: Hibernate -> Custom DAO for AWS component > > I'm pretty sure you can because the Usage S

RE: Hibernate -> Custom DAO for AWS component

2012-08-15 Thread Will Chan
org > Subject: RE: Hibernate -> Custom DAO for AWS component > > One concern here... can we connect to multiple databases using CloudStack > DAO Implementation? > > The awsapi component needs to connect to two databases - 'cloudbridge' > db(used for user Auth and S3)

RE: Hibernate -> Custom DAO for AWS component

2012-08-15 Thread Prachi Damle
ng/default zone info) With hibernate we could do that. -Prachi -Original Message- From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] Sent: Monday, August 13, 2012 10:46 PM To: cloudstack-dev@incubator.apache.org Subject: RE: Hibernate -> Custom DAO for AWS component I will r

RE: Hibernate -> Custom DAO for AWS component

2012-08-14 Thread Alex Huang
> -Original Message- > From: Darren Shepherd [mailto:dar...@godaddy.com] > Sent: Monday, August 13, 2012 1:29 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: Hibernate -> Custom DAO for AWS component > > I think there's two points. > > 1

RE: Hibernate -> Custom DAO for AWS component

2012-08-13 Thread Rajesh Battala
@incubator.apache.org Subject: RE: Hibernate -> Custom DAO for AWS component I think there's two points. 1) Raw SQL is bad, so even in a time crunch moving to the custom CloudStack DAO implementation *should* have been better. 2) I'd rather see a JPA based solution then moving to custom CloudStack

RE: Hibernate -> Custom DAO for AWS component

2012-08-13 Thread Will Chan
> -Original Message- > From: Darren Shepherd [mailto:dar...@godaddy.com] > Sent: Monday, August 13, 2012 1:29 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: Hibernate -> Custom DAO for AWS component > > > I think Alex and I agree on point 1,

RE: Hibernate -> Custom DAO for AWS component

2012-08-13 Thread Darren Shepherd
sure if anybody agrees with point 2. What's the time frame for when this was supposed to be done? Darren Original Message ---- Subject: RE: Hibernate -> Custom DAO for AWS component From: Will Chan Date: Mon, August 13, 2012 12:56 pm To: "cloudstack-dev@incubator.apa

RE: Hibernate -> Custom DAO for AWS component

2012-08-13 Thread Will Chan
> -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Monday, August 13, 2012 10:33 AM > To: cloudstack-dev@incubator.apache.org > Subject: RE: Hibernate -> Custom DAO for AWS component > > > > > -Original Message- >

RE: Hibernate -> Custom DAO for AWS component

2012-08-13 Thread Alex Huang
> -Original Message- > From: Darren Shepherd [mailto:dar...@godaddy.com] > Sent: Sunday, August 12, 2012 8:25 AM > To: cloudstack-dev@incubator.apache.org > Subject: Hibernate -> Custom DAO for AWS component > > All, > > I was just reviewing https://revie

Hibernate -> Custom DAO for AWS component

2012-08-12 Thread Darren Shepherd
All, I was just reviewing https://reviews.apache.org/r/6557/diff/ for the Hibernate -> Custom DAO implementation and it makes me so sad. Its not that you went from Hibernate ORM to custom built ORM (that is already in CloudStack), you went from ORM to raw SQL. From the size of the diff and the a