cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@shapeblue.com>
Subject two value objects for one table
Date Mon, 27 Mar 2017 07:23:39 GMT
Subject spelling correct (

On 27/03/17 09:15, "Daan Hoogland" <daan.hoogland@shapeblue.com> wrote:

    Dear Devs,
    
    I just came across a strange oder in the code that might have a background that some of
you know about;
    
    @Entity
    @Table(name = "template_spool_ref")
    public class VMTemplateStoragePoolVO implements VMTemplateStorageResourceAssoc, DataObjectInStore
{…}
    
    and
    
    @Entity
    @Table(name = "template_spool_ref")
    public class TemplatePrimaryDataStoreVO implements StateObject<ObjectInDataStoreStateMachine.State>
{…)
    
    seem to represent data from the same table. Both are pretty old. Is there a reason other
than the implementation of different interfaces that these should both be maintained?
    
    Regards,
    
    
    daan.hoogland@shapeblue.com 
    www.shapeblue.com
    53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    @shapeblue
      
     
    
    


daan.hoogland@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

Mime
View raw message