Author: scottbw
Date: Mon Nov 23 16:13:53 2009
New Revision: 883389

URL: http://svn.apache.org/viewvc?rev=883389&view=rev
Log:
added length hint for opensocial token field; this avoids an occasional DB 
issue with Derby, which may set this to VARCHAR255 - this is usually sufficient 
but escaping can push it a few characters over this length.

Modified:
    incubator/wookie/trunk/src/org/apache/wookie/beans/schema.hbm.xml

Modified: incubator/wookie/trunk/src/org/apache/wookie/beans/schema.hbm.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/beans/schema.hbm.xml?rev=883389&r1=883388&r2=883389&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/beans/schema.hbm.xml (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/beans/schema.hbm.xml Mon Nov 
23 16:13:53 2009
@@ -67,7 +67,7 @@
                <property name="nonce"/>
                <property name="idKey" not-null="true"/>
                <property name="apiKey"/>
-               <property name="opensocialToken" not-null="true" type="text"/>  
        
+               <property name="opensocialToken" not-null="true" type="text" 
length="300"/>             
                <many-to-one name="widget" class="Widget" column="widget_id" 
not-null="true" />         
                <property name="updated" type="true_false" />
                <property name="shown" type="true_false" />


Reply via email to