File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,14 @@ public async Task QueryCacheWithScalarReturnAsync()
87
87
using ( var s = OpenSession ( ) )
88
88
{
89
89
var result = await ( s
90
- . CreateSQLQuery ( "select cast(200012 as decimal ) from Simple where id_ = 1" )
90
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18,5) ) from Simple where id_ = 1" )
91
91
. SetCacheable ( true )
92
92
. UniqueResultAsync < decimal > ( ) ) ;
93
93
94
94
Assert . That ( result , Is . EqualTo ( 200012 ) , "Unexpected non-cached result" ) ;
95
95
96
96
result = await ( s
97
- . CreateSQLQuery ( "select cast(200012 as decimal ) from Simple where id_ = 1" )
97
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18,5) ) from Simple where id_ = 1" )
98
98
. SetCacheable ( true )
99
99
. UniqueResultAsync < decimal > ( ) ) ;
100
100
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public async Task AggregatingHirearchyWithCountAsync()
148
148
[ Test ]
149
149
public async Task LimitingResultSetOnQueryThatIsOrderedByProjectionAsync ( )
150
150
{
151
- if ( ! TestDialect . SupportsSubSelectsInOrderBy )
151
+ if ( ! TestDialect . SupportsSubSelectsInOrderBy )
152
152
Assert . Ignore ( "Dialect does not support order by sub-select" ) ;
153
153
154
154
using ( var s = OpenSession ( ) )
@@ -172,7 +172,7 @@ public async Task LimitingResultSetOnQueryThatIsOrderedByProjectionAsync()
172
172
[ Test ]
173
173
public async Task QueryingWithParemetersAndParaemtersInOrderByAsync ( )
174
174
{
175
- if ( ! TestDialect . SupportsSubSelectsInOrderBy )
175
+ if ( ! TestDialect . SupportsSubSelectsInOrderBy )
176
176
Assert . Ignore ( "Dialect does not support order by sub-select" ) ;
177
177
178
178
using ( var s = OpenSession ( ) )
Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ public void QueryCacheWithScalarReturn()
76
76
using ( var s = OpenSession ( ) )
77
77
{
78
78
var result = s
79
- . CreateSQLQuery ( "select cast(200012 as decimal ) from Simple where id_ = 1" )
79
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18,5) ) from Simple where id_ = 1" )
80
80
. SetCacheable ( true )
81
81
. UniqueResult < decimal > ( ) ;
82
82
83
83
Assert . That ( result , Is . EqualTo ( 200012 ) , "Unexpected non-cached result" ) ;
84
84
85
85
result = s
86
- . CreateSQLQuery ( "select cast(200012 as decimal ) from Simple where id_ = 1" )
86
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18,5) ) from Simple where id_ = 1" )
87
87
. SetCacheable ( true )
88
88
. UniqueResult < decimal > ( ) ;
89
89
You can’t perform that action at this time.
0 commit comments