File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,6 @@ protected virtual void RegisterFunctions()
114
114
else
115
115
RegisterFunction ( "strguid" , new SQLFunctionTemplate ( NHibernateUtil . String , "cast(?1 as char)" ) ) ;
116
116
117
- // This does not generate a valid uuid, but SelectGUIDString property already uses this.
118
- // See https://www.ietf.org/rfc/rfc4122.txt
119
- // System.Guid does not seem to care about the uuid validity, but this may still cause
120
- // other issues.
121
- RegisterFunction ( "new_uuid" , new SQLFunctionTemplate ( NHibernateUtil . Guid , "randomblob(16)" ) ) ;
122
-
123
117
// SQLite random function yields a long, ranging form MinValue to MaxValue. (-9223372036854775808 to
124
118
// 9223372036854775807). HQL random requires a float from 0 inclusive to 1 exclusive, so we divide by
125
119
// 9223372036854775808 then 2 for having a value between -0.5 included to 0.5 excluded, and finally
You can’t perform that action at this time.
0 commit comments