Skip to content

Commit e8bba30

Browse files
Add sqlite.binaryguid to configuration schema (#2245)
(cherry picked from commit 23df8cd)
1 parent f7b64c5 commit e8bba30

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,18 @@
200200
</xs:documentation>
201201
</xs:annotation>
202202
</xs:enumeration>
203+
<xs:enumeration value="sqlite.binaryguid">
204+
<xs:annotation>
205+
<xs:documentation>
206+
SQLite can store GUIDs in binary or text form, controlled by the BinaryGuid
207+
connection string parameter (default is 'true'). The BinaryGuid setting will affect
208+
how to cast GUID to string in SQL. NHibernate will attempt to detect this
209+
setting automatically from the connection string, but if the connection
210+
or connection string is being handled by the application instead of by NHibernate,
211+
you can use the 'sqlite.binaryguid' NHibernate setting to override the behavior.
212+
</xs:documentation>
213+
</xs:annotation>
214+
</xs:enumeration>
203215
<xs:enumeration value="sql_types.keep_datetime">
204216
<xs:annotation>
205217
<xs:documentation>

0 commit comments

Comments
 (0)