|
127 | 127 | <property name="nhibernate.connection.connection_string" value="User ID=nhibernate;Password=nhibernate;Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))" />
|
128 | 128 | <!-- Teamcity Oracle test database is configured with a non-Unicode encoding -->
|
129 | 129 | <property name="nhibernate.oracle.use_n_prefixed_types_for_unicode" value="true" />
|
| 130 | + <!-- The default value of 4000 is too big for nvarchar2 with default database settings. |
| 131 | + nvarchar2 may be used due to use_n_prefixed_types_for_unicode --> |
| 132 | + <property name="nhibernate.query.default_cast_length" value="2000" /> |
130 | 133 | <copy todir="${bin.dir}">
|
131 | 134 | <fileset basedir="${root.dir}/lib/teamcity/oracle/x86">
|
132 | 135 | <include name="*.dll"/>
|
|
143 | 146 | <property name="nhibernate.connection.connection_string" value="User ID=nhibernate;Password=nhibernate;Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))" />
|
144 | 147 | <!-- Teamcity Oracle test database is configured with a non-Unicode encoding -->
|
145 | 148 | <property name="nhibernate.oracle.use_n_prefixed_types_for_unicode" value="true" />
|
| 149 | + <!-- The default value of 4000 is too big for nvarchar2 with default database settings. |
| 150 | + nvarchar2 may be used due to use_n_prefixed_types_for_unicode --> |
| 151 | + <property name="nhibernate.query.default_cast_length" value="2000" /> |
146 | 152 | <copy todir="${bin.dir}">
|
147 | 153 | <fileset basedir="${root.dir}/lib/teamcity/oracle/x64">
|
148 | 154 | <include name="*.dll"/>
|
|
158 | 164 | <property name="nhibernate.connection.connection_string" value="User ID=nhibernate;Password=nhibernate;Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))" />
|
159 | 165 | <!-- Teamcity Oracle test database is configured with a non-Unicode encoding -->
|
160 | 166 | <property name="nhibernate.oracle.use_n_prefixed_types_for_unicode" value="true" />
|
| 167 | + <!-- The default value of 4000 is too big for nvarchar2 with default database settings. |
| 168 | + nvarchar2 may be used due to use_n_prefixed_types_for_unicode --> |
| 169 | + <property name="nhibernate.query.default_cast_length" value="2000" /> |
161 | 170 | </target>
|
162 | 171 |
|
163 | 172 | <target name="setup-teamcity-oracle-managed64">
|
|
167 | 176 | <property name="nhibernate.connection.connection_string" value="User ID=nhibernate;Password=nhibernate;Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))" />
|
168 | 177 | <!-- Teamcity Oracle test database is configured with a non-Unicode encoding -->
|
169 | 178 | <property name="nhibernate.oracle.use_n_prefixed_types_for_unicode" value="true" />
|
| 179 | + <!-- The default value of 4000 is too big for nvarchar2 with default database settings. |
| 180 | + nvarchar2 may be used due to use_n_prefixed_types_for_unicode --> |
| 181 | + <property name="nhibernate.query.default_cast_length" value="2000" /> |
170 | 182 | </target>
|
171 | 183 |
|
172 | 184 | <target name="setup-teamcity-mysql">
|
|
0 commit comments