The purpose of this page is to provide a complete list of all of the elements defined by the NHibernate mapping schema. Each element is displayed in a table that enumerates available elements and attributes, with several columns denoting the level of support for each element or attribute in FNH.
Element: any
Name
XmlType
Type
Default Value
Model
Fluent Interface
XmlWriter
Inspector
meta
Element Ref
#Element: meta
Postponed
Postponed
Postponed
Postponed
meta-value
Element Ref
#Element: meta-value
Yes
Yes
Yes
Yes
column
Element Ref
#Element: column
Yes
Yes
Yes
Yes
column
Attribute
string
N/A
N/A
N/A
N/A
id-type
Attribute
string
Yes
Yes
Yes
Yes
meta-type
Attribute
string
Yes
N/A
Yes
Yes
name
Attribute
string
Yes
N/A
Yes
Yes
access
Attribute
string
Yes
Yes
Yes
Yes
insert
Attribute
boolean
true
Yes
Yes
Yes
Yes
update
Attribute
boolean
true
Yes
Yes
Yes
Yes
cascade
Attribute
string
Yes
Yes
Yes
Yes
index
Attribute
string
commit: 36163c
commit: 36163c
commit: 36163c
commit: 36163c
optimistic-lock
Attribute
boolean
true
Yes
Yes
Yes
Yes
lazy
Attribute
boolean
false
Yes
Yes
Yes
Yes
node
Attribute
string
Postponed
Postponed
Postponed
Postponed
Element: array
Element: bag
Element: cache
Element: class
Element: collection-id
Element: column
Element: component
Element: composite-element
Element: composite-id
Element: composite-index
Element: composite-map-key
Element: create
Element: database-object
Element: definition
Element: dialect-scope
Element: discriminator
Element: drop
Element: dynamic-component
Element: element
Element: filter
Element: filter-def
Element: filter-param
Element: formula
Element: generator
Element: hibernate-mapping
Element: id
Element: idbag
Element: import
Element: index
Element: index-many-to-any
Element: index-many-to-many
Element: join
Element: joined-subclass
Element: key
Element: key-many-to-one
Element: key-property
Element: list
Element: list-index
Element: load-collection
Element: loader
Element: many-to-any
Element: many-to-many
Element: many-to-one
Element: map
Element: map-key
Element: map-key-many-to-many
Element: meta
Element: meta-value
Element: natural-id
Element: nested-composite-element
Element: one-to-many
Element: param
Element: parent
Element: primitive-array
Element: properties
Element: property
Element: query
Element: query-param
Element: resultset
Element: return
Element: return-column
Element: return-discriminator
Element: return-join
Element: return-property
Element: return-scalar
Element: set
Element: sql-delete
Element: sql-delete-all
Element: sql-insert
Element: sql-query
Element: sql-update
Element: subclass
Element: subselect
Element: synchronize
Element: timestamp
Element: tuplizer
Element: type
Element: typedef
Element: union-subclass
Element: version
Simple Type: outerJoinStrategy
Simple Type: collectionFetchMode
Simple Type: collectionLazy
Attribute Group: baseCollectionAttributes
Name
XmlType
Type
Default Value
Model
Fluent Interface
XmlWriter
Inspector
name
Attribute
string
?
?
?
?
access
Attribute
string
?
?
?
?
table
Attribute
string
?
?
?
?
schema
Attribute
string
?
?
?
?
catalog
Attribute
string
?
?
?
?
subselect
Attribute
string
?
?
?
?
lazy
Attribute
#Simple Type: collectionLazy
?
?
?
?
inverse
Attribute
boolean
false
?
?
?
?
mutable
Attribute
boolean
true
?
?
?
?
cascade
Attribute
string
?
?
?
?
order-by
Attribute
string
?
?
?
?
where
Attribute
string
?
?
?
?
batch-size
Attribute
int
?
?
?
?
outer-join
Attribute
#Simple Type: outerJoinStrategy
?
?
?
?
fetch
Attribute
#Simple Type: collectionFetchMode
?
?
?
?
persister
Attribute
string
?
?
?
?
collection-type
Attribute
string
?
?
?
?
check
Attribute
string
?
?
?
?
optimistic-lock
Attribute
boolean
true
?
?
?
?
node
Attribute
string
Postponed
Postponed
Postponed
Postponed
embed-xml
Attribute
boolean
true
?
?
?
?
generic
Attribute
boolean
?
?
?
?
Simple Type: optimisticLockMode
Simple Type: polymorphismType
Simple Type: unsavedValueType
Simple Type: ondelete
Simple Type: restrictedbool
Simple Type: lockMode
Simple Type: notFoundMode
Simple Type: fetchMode
Simple Type: bool
Simple Type: propertyGeneration
Simple Type: flushMode
Simple Type: cacheMode
Simple Type: customSQLCheck
Simple Type: customSQL
Simple Type: versionGeneration