Re: Hibernate

2012-06-28 Thread David Avenante
e don't mind it, > > > the attach operation is quite annoying. JPA/Hibernate has a method > > > "detach" entity, but they don't have the opposite method to 'attach' > > > an entity. Simply google "jpa attach", there are tons of que

Re: Hibernate

2012-06-28 Thread David Avenante
ll merge(), > but it has the side effect that if you change the entity accidentally, your > change would be written to database, this is the source of mysterious bug. > >In CloudStack, you can use id(the primary key of relational > object) to fetch your composition on demand

Re: Hibernate

2012-06-28 Thread David Avenante
Ok I try ;) As far I can see in the code the majority of the Object have no relations and are simple VO Many of object use IMHO a bad pattern (DTO, VO ...) For example : public class UserVmVO extends VMInstanceVO implements UserVm { ... There is NO relation between objects. Object are State. *

Re: Hibernate

2012-06-28 Thread David Avenante
Have you take a look to monogDB ? On Thu, Jun 28, 2012 at 2:09 PM, David Nalley wrote: > > > > > On Jun 28, 2012, at 10:11 AM, Frank Zhang wrote: > > > Spring is able to downgrade dependency of hibernate from compile to > runtime, however, I am surprise at failing to yum search "hibernate" on m

Re: CloudStack UIX

2012-06-07 Thread David Avenante
Cloudstack UI in a developper point of view. Hi, I works on a SWFIT UI extention for Cloudstack and I'have some feedback to add at the conversation ;) First the UI go in the good direction in term of vision (REST), the client is an appliction who convers with the server through ajax call. Where

Re: License question

2012-05-18 Thread David Avenante
In one of my project we build the project with maven (instate of ant) and we have some plugin like http://code.google.com/p/maven-license-plugin/ So we can address licence issue module by module (automaticly add/change licence on code header ) On Fri, May 18, 2012 at 2:03 PM, David Nalley w