cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei ZHOU <ustcweiz...@gmail.com>
Subject Re: two value objects for one table
Date Mon, 27 Mar 2017 08:19:28 GMT
the files in engine/storage/src/org/apache/cloudstack/storage/volume/db are
not in use.
They can be removed.
The lines
in engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
also need to be removed.

-Wei


2017-03-27 9:23 GMT+02:00 Daan Hoogland <daan.hoogland@shapeblue.com>:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message