You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2009/03/22 07:50:43 UTC

svn commit: r757136 - /continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Author: ctan
Date: Sun Mar 22 06:50:42 2009
New Revision: 757136

URL: http://svn.apache.org/viewvc?rev=757136&view=rev
Log:
removed jpox.null-value="default" from sendOnScmFailure field to be able to update from Continuum 1.2.x to Continuum 1.3.x without using data management tool. 

Modified:
    continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Modified: continuum/trunk/continuum-model/src/main/mdo/continuum.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-model/src/main/mdo/continuum.xml?rev=757136&r1=757135&r2=757136&view=diff
==============================================================================
--- continuum/trunk/continuum-model/src/main/mdo/continuum.xml (original)
+++ continuum/trunk/continuum-model/src/main/mdo/continuum.xml Sun Mar 22 06:50:42 2009
@@ -445,7 +445,7 @@
             <multiplicity>*</multiplicity>
           </association>
         </field>
-        <field jpox.null-value="default">
+        <field>
           <name>sendOnScmFailure</name>
           <version>1.1.3+</version>
           <type>boolean</type>



Re: svn commit: r757136 - /continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Posted by Marica Tan <ma...@gmail.com>.
On Mon, Mar 23, 2009 at 7:22 AM, Brett Porter <br...@apache.org> wrote:

>
> On 23/03/2009, at 10:19 AM, Brett Porter wrote:
>
>  I'm confused, usually this needs to occur in the other direction (making
>> sure that a default value is in place for new columns). Can you explain this
>> a bit more?
>>
>
> Sorry, I should have read the vote thread first.
>
> Is the problem that the default value just needs to be fixed for mysql
> rather than not allowing a default?
>
> Yes.

With the jpox.null-value="default" in place for boolean fields, i was able
to start the builds database properly using derby

>
>
> --
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
>
>

Re: svn commit: r757136 - /continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Posted by Brett Porter <br...@apache.org>.
On 23/03/2009, at 10:19 AM, Brett Porter wrote:

> I'm confused, usually this needs to occur in the other direction  
> (making sure that a default value is in place for new columns). Can  
> you explain this a bit more?

Sorry, I should have read the vote thread first.

Is the problem that the default value just needs to be fixed for mysql  
rather than not allowing a default?

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Re: svn commit: r757136 - /continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Posted by Brett Porter <br...@apache.org>.
I'm confused, usually this needs to occur in the other direction  
(making sure that a default value is in place for new columns). Can  
you explain this a bit more?

Thanks,
Brett

On 22/03/2009, at 5:50 PM, ctan@apache.org wrote:

> Author: ctan
> Date: Sun Mar 22 06:50:42 2009
> New Revision: 757136
>
> URL: http://svn.apache.org/viewvc?rev=757136&view=rev
> Log:
> removed jpox.null-value="default" from sendOnScmFailure field to be  
> able to update from Continuum 1.2.x to Continuum 1.3.x without using  
> data management tool.
>
> Modified:
>    continuum/trunk/continuum-model/src/main/mdo/continuum.xml
>
> Modified: continuum/trunk/continuum-model/src/main/mdo/continuum.xml
> URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-model/src/main/mdo/continuum.xml?rev=757136&r1=757135&r2=757136&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- continuum/trunk/continuum-model/src/main/mdo/continuum.xml  
> (original)
> +++ continuum/trunk/continuum-model/src/main/mdo/continuum.xml Sun  
> Mar 22 06:50:42 2009
> @@ -445,7 +445,7 @@
>             <multiplicity>*</multiplicity>
>           </association>
>         </field>
> -        <field jpox.null-value="default">
> +        <field>
>           <name>sendOnScmFailure</name>
>           <version>1.1.3+</version>
>           <type>boolean</type>
>
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/