Permalink
Browse files

NH-615 - change XML mapping schema name to nhibernate-mapping-2.2. Le…

…ft configuration at -2.0 since it hasn't changed much, don't know if it's a good idea.

SVN: trunk@2404
  • Loading branch information...
1 parent 00ab46d commit 3543cc98ca6caf2d0c69d24baac00e2000c16aea Sergey Koshcheyev committed Oct 31, 2006
Showing with 246 additions and 251 deletions.
  1. +3 −3 doc/reference/modules/basic_mapping.xml
  2. +3 −3 doc/reference/modules/collection_mapping.xml
  3. +3 −3 doc/reference/modules/example_mappings.xml
  4. +2 −2 doc/reference/modules/example_weblog.xml
  5. +4 −4 doc/reference/modules/nhibernate_mapping_attributes.xml
  6. +1 −1 doc/reference/modules/nullables.xml
  7. +1 −1 doc/reference/modules/quickstart.xml
  8. +1 −1 src/NHibernate.DomainModel/ABC.hbm.xml
  9. +1 −1 src/NHibernate.DomainModel/ABCExtends.hbm.xml
  10. +1 −1 src/NHibernate.DomainModel/ABCProxy.hbm.xml
  11. +1 −1 src/NHibernate.DomainModel/AltSimple.hbm.xml
  12. +1 −1 src/NHibernate.DomainModel/Baz.hbm.xml
  13. +1 −1 src/NHibernate.DomainModel/Blobber.hbm.xml
  14. +1 −1 src/NHibernate.DomainModel/Broken.hbm.xml
  15. +1 −1 src/NHibernate.DomainModel/Category.hbm.xml
  16. +1 −1 src/NHibernate.DomainModel/Circular.hbm.xml
  17. +1 −1 src/NHibernate.DomainModel/Componentizable.hbm.xml
  18. +1 −1 src/NHibernate.DomainModel/Container.hbm.xml
  19. +1 −1 src/NHibernate.DomainModel/Custom.hbm.xml
  20. +1 −1 src/NHibernate.DomainModel/Eye.hbm.xml
  21. +1 −1 src/NHibernate.DomainModel/Fee.hbm.xml
  22. +1 −1 src/NHibernate.DomainModel/Fo.hbm.xml
  23. +1 −1 src/NHibernate.DomainModel/FooBar.hbm.xml
  24. +1 −1 src/NHibernate.DomainModel/Fum.hbm.xml
  25. +1 −1 src/NHibernate.DomainModel/Fumm.hbm.xml
  26. +1 −1 src/NHibernate.DomainModel/Glarch.hbm.xml
  27. +1 −1 src/NHibernate.DomainModel/Holder.hbm.xml
  28. +1 −1 src/NHibernate.DomainModel/INameable.hbm.xml
  29. +1 −1 src/NHibernate.DomainModel/Immutable.hbm.xml
  30. +1 −1 src/NHibernate.DomainModel/Location.hbm.xml
  31. +1 −1 src/NHibernate.DomainModel/MN.hbm.xml
  32. +1 −1 src/NHibernate.DomainModel/Many.hbm.xml
  33. +1 −1 src/NHibernate.DomainModel/MasterDetail.hbm.xml
  34. +1 −1 src/NHibernate.DomainModel/Middle.hbm.xml
  35. +1 −1 src/NHibernate.DomainModel/Multi.hbm.xml
  36. +1 −1 src/NHibernate.DomainModel/MultiExtends.hbm.xml
  37. +1 −1 src/NHibernate.DomainModel/NHSpecific/BasicClass.hbm.xml
  38. +1 −1 src/NHibernate.DomainModel/NHSpecific/BasicObject.hbm.xml
  39. +1 −1 src/NHibernate.DomainModel/NHSpecific/BasicSerializable.hbm.xml
  40. +1 −1 src/NHibernate.DomainModel/NHSpecific/BasicTime.hbm.xml
  41. +1 −1 src/NHibernate.DomainModel/NHSpecific/Child.hbm.xml
  42. +1 −1 src/NHibernate.DomainModel/NHSpecific/ClassWithNullColumns.hbm.xml
  43. +1 −1 src/NHibernate.DomainModel/NHSpecific/GetSetHelper.hbm.xml
  44. +1 −1 src/NHibernate.DomainModel/NHSpecific/LazyLoadBug.hbm.xml
  45. +1 −1 src/NHibernate.DomainModel/NHSpecific/Node.hbm.xml
  46. +1 −1 src/NHibernate.DomainModel/NHSpecific/Optimistic.hbm.xml
  47. +1 −1 src/NHibernate.DomainModel/NHSpecific/Parent.hbm.xml
  48. +1 −1 src/NHibernate.DomainModel/NHSpecific/SexType.hbm.xml
  49. +1 −1 src/NHibernate.DomainModel/NHSpecific/SimpleComponent.hbm.xml
  50. +1 −1 src/NHibernate.DomainModel/NHSpecific/Team.hbm.xml
  51. +1 −1 src/NHibernate.DomainModel/NHSpecific/UnsavedType.hbm.xml
  52. +1 −1 src/NHibernate.DomainModel/One.hbm.xml
  53. +1 −1 src/NHibernate.DomainModel/ParentChild.hbm.xml
  54. +1 −1 src/NHibernate.DomainModel/Qux.hbm.xml
  55. +1 −1 src/NHibernate.DomainModel/Simple.hbm.xml
  56. +1 −1 src/NHibernate.DomainModel/SingleSeveral.hbm.xml
  57. +1 −1 src/NHibernate.DomainModel/Stuff.hbm.xml
  58. +1 −1 src/NHibernate.DomainModel/UpDown.hbm.xml
  59. +1 −1 src/NHibernate.DomainModel/Vetoer.hbm.xml
  60. +1 −1 src/NHibernate.DomainModel/WZ.hbm.xml
  61. +1 −1 src/NHibernate.DomainModel/XY.hbm.xml
  62. +1 −1 src/NHibernate.Examples/Blogger/Blog.hbm.xml
  63. +1 −1 src/NHibernate.Examples/Blogger/BlogItem.hbm.xml
  64. +1 −1 src/NHibernate.Examples/Cascades/Alias.hbm.xml
  65. +1 −1 src/NHibernate.Examples/Cascades/Child.hbm.xml
  66. +1 −1 src/NHibernate.Examples/Cascades/Parent.hbm.xml
  67. +1 −1 src/NHibernate.Examples/ForumQuestions/OfferExample/Offer.hbm.xml
  68. +1 −1 src/NHibernate.Examples/ForumQuestions/OfferExample/OfferType.hbm.xml
  69. +1 −1 src/NHibernate.Examples/ForumQuestions/T1078029/Member.hbm.xml
  70. +1 −1 src/NHibernate.Examples/ForumQuestions/T1104613/A.hbm.xml
  71. +1 −1 src/NHibernate.Examples/QuickStart/User.hbm.xml
  72. +1 −1 src/NHibernate.Mapping.Attributes.Test/Baz.Reference.hbm.xml
  73. +1 −1 src/NHibernate.Mapping.Attributes.Test/DomainModel.Reference.hbm.xml
  74. +1 −1 src/NHibernate.Mapping.Attributes/Generator/Program.cs
  75. +5 −5 src/NHibernate.Mapping.Attributes/HbmSerializer.cs
  76. +3 −6 src/NHibernate.Mapping.Attributes/NHibernate.Mapping.Attributes-2.0.csproj
  77. +1 −1 src/NHibernate.Mapping.Attributes/{nhibernate-mapping-2.0.xsd → nhibernate-mapping-2.2.xsd}
  78. +6 −6 src/NHibernate.Test/CfgTest/ConfigurationFixture.cs
  79. +6 −6 src/NHibernate.Test/CfgTest/DefaultNsAssmFixture.cs
  80. +1 −1 src/NHibernate.Test/CfgTest/HbmBinderFixture.cs
  81. +6 −6 src/NHibernate.Test/CfgTest/HbmOrderingFixture.cs
  82. +1 −1 src/NHibernate.Test/CollectionTest/IdBagFixture.hbm.xml
  83. +1 −1 src/NHibernate.Test/CompositeCollection/BaseClassA.hbm.xml
  84. +1 −1 src/NHibernate.Test/CompositeCollection/BaseClassB.hbm.xml
  85. +1 −1 src/NHibernate.Test/CompositeCollection/Composite.xml
  86. +1 −1 src/NHibernate.Test/CompositeId/ClassWithCompositeId.hbm.xml
  87. +1 −1 src/NHibernate.Test/ExpressionTest/Projection/ProjectionClass.hbm.xml
  88. +1 −1 src/NHibernate.Test/ExpressionTest/SubQueries/Mappings.hbm.xml
  89. +1 −1 src/NHibernate.Test/FilterTest/FilterMapping.hbm.xml
  90. +1 −1 src/NHibernate.Test/FilterTest/classes.hbm.xml
  91. +1 −1 src/NHibernate.Test/FilterTest/defs.hbm.xml
  92. +1 −1 src/NHibernate.Test/GenericTest/BagGeneric/BagGenericFixture.hbm.xml
  93. +1 −1 src/NHibernate.Test/GenericTest/IdBagGeneric/IdBagGenericFixture.hbm.xml
  94. +1 −1 src/NHibernate.Test/GenericTest/ListGeneric/ListGenericFixture.hbm.xml
  95. +1 −1 src/NHibernate.Test/GenericTest/MapGeneric/MapGenericFixture.hbm.xml
  96. +1 −1 src/NHibernate.Test/GenericTest/Overall/Mappings.hbm.xml
  97. +1 −1 src/NHibernate.Test/GenericTest/SetGeneric/SetGenericFixture.hbm.xml
  98. +1 −1 src/NHibernate.Test/HQLFunctionTest/Animal.hbm.xml
  99. +1 −1 src/NHibernate.Test/IdTest/HiLoInt16Class.hbm.xml
  100. +1 −1 src/NHibernate.Test/IdTest/HiLoInt32Class.hbm.xml
  101. +1 −1 src/NHibernate.Test/IdTest/HiLoInt64Class.hbm.xml
  102. +1 −1 src/NHibernate.Test/JoinedSubclass/JoinedSubclass.Customer.hbm.xml
  103. +1 −1 src/NHibernate.Test/JoinedSubclass/JoinedSubclass.Employee.hbm.xml
  104. +1 −1 src/NHibernate.Test/JoinedSubclass/JoinedSubclass.Person.hbm.xml
  105. +1 −1 src/NHibernate.Test/JoinedSubclass/JoinedSubclass.hbm.xml
  106. +1 −1 src/NHibernate.Test/MappingExceptions/A.ClassNotFound.hbm.xml
  107. +1 −1 src/NHibernate.Test/MappingExceptions/A.Invalid.hbm.xml
  108. +1 −1 src/NHibernate.Test/MappingExceptions/A.PropertyNotFound.hbm.xml
  109. +1 −1 src/NHibernate.Test/MappingExceptions/A.Valid.hbm.xml
  110. +1 −1 src/NHibernate.Test/MappingExceptions/DuplicateClassMapping.hbm.xml
  111. +1 −1 src/NHibernate.Test/MappingExceptions/DuplicateCollectionMapping.hbm.xml
  112. +1 −1 src/NHibernate.Test/MappingExceptions/MissingDefCtor.hbm.xml
  113. +1 −1 src/NHibernate.Test/NHSpecificTest/Docs/Associations/BiM21/Mappings.hbm.xml
  114. +1 −1 src/NHibernate.Test/NHSpecificTest/Docs/ExampleParentChild/Mappings.hbm.xml
  115. +1 −1 src/NHibernate.Test/NHSpecificTest/NH247/Mappings.hbm.xml
  116. +1 −1 src/NHibernate.Test/NHSpecificTest/NH251/CustomAccessDO.hbm.xml
  117. +1 −1 src/NHibernate.Test/NHSpecificTest/NH257/Mappings.hbm.xml
  118. +1 −1 src/NHibernate.Test/NHSpecificTest/NH266/Mappings.hbm.xml
  119. +1 −1 src/NHibernate.Test/NHSpecificTest/NH266/User.hbm.xml
  120. +1 −1 src/NHibernate.Test/NHSpecificTest/NH276/JoinedSubclass/Mappings.hbm.xml
  121. +1 −1 src/NHibernate.Test/NHSpecificTest/NH276/Mappings.hbm.xml
  122. +1 −1 src/NHibernate.Test/NHSpecificTest/NH295/JoinedSubclass.hbm.xml
  123. +1 −1 src/NHibernate.Test/NHSpecificTest/NH295/Subclass.hbm.xml
  124. +1 −1 src/NHibernate.Test/NHSpecificTest/NH296/Mappings.hbm.xml
  125. +1 −1 src/NHibernate.Test/NHSpecificTest/NH309/Menu.hbm.xml
  126. +1 −1 src/NHibernate.Test/NHSpecificTest/NH309/Node.hbm.xml
  127. +1 −1 src/NHibernate.Test/NHSpecificTest/NH315/Mappings.hbm.xml
  128. +1 −1 src/NHibernate.Test/NHSpecificTest/NH317/Node.hbm.xml
  129. +1 −1 src/NHibernate.Test/NHSpecificTest/NH318/Mappings.hbm.xml
  130. +1 −1 src/NHibernate.Test/NHSpecificTest/NH335/Mappings.hbm.xml
  131. +1 −1 src/NHibernate.Test/NHSpecificTest/NH345/Mappings.hbm.xml
  132. +1 −1 src/NHibernate.Test/NHSpecificTest/NH350/Mappings.hbm.xml
  133. +1 −1 src/NHibernate.Test/NHSpecificTest/NH364/Mappings.hbm.xml
  134. +1 −1 src/NHibernate.Test/NHSpecificTest/NH369/BaseClass.hbm.xml
  135. +1 −1 src/NHibernate.Test/NHSpecificTest/NH369/KeyManyToOneClass.hbm.xml
  136. +1 −1 src/NHibernate.Test/NHSpecificTest/NH372/Mappings.hbm.xml
  137. +1 −1 src/NHibernate.Test/NHSpecificTest/NH386/Mappings.hbm.xml
  138. +1 −1 src/NHibernate.Test/NHSpecificTest/NH392/Mappings.hbm.xml
  139. +1 −1 src/NHibernate.Test/NHSpecificTest/NH401/Mappings.hbm.xml
  140. +1 −1 src/NHibernate.Test/NHSpecificTest/NH440/Apple.hbm.xml
  141. +1 −1 src/NHibernate.Test/NHSpecificTest/NH440/Fruit.hbm.xml
  142. +1 −1 src/NHibernate.Test/NHSpecificTest/NH464/Promotion.hbm.xml
  143. +1 −1 src/NHibernate.Test/NHSpecificTest/NH467/Mappings.hbm.xml
  144. +1 −1 src/NHibernate.Test/NHSpecificTest/NH479/Mappings.hbm.xml
  145. +1 −1 src/NHibernate.Test/NHSpecificTest/NH496/Mappings.hbm.xml
  146. +1 −1 src/NHibernate.Test/NHSpecificTest/NH508/Mappings.hbm.xml
  147. +1 −1 src/NHibernate.Test/NHSpecificTest/NH521/Mappings.hbm.xml
  148. +1 −1 src/NHibernate.Test/NHSpecificTest/NH523/Mappings.hbm.xml
  149. +1 −1 src/NHibernate.Test/NHSpecificTest/NH525/Mappings.hbm.xml
  150. +1 −1 src/NHibernate.Test/NHSpecificTest/NH534/Mappings.hbm.xml
  151. +1 −1 src/NHibernate.Test/NHSpecificTest/NH548/Mappings.hbm.xml
  152. +1 −1 src/NHibernate.Test/NHSpecificTest/NH552/Mappings.hbm.xml
  153. +1 −1 src/NHibernate.Test/NHSpecificTest/NH555/Mappings.hbm.xml
  154. +1 −1 src/NHibernate.Test/NHSpecificTest/NH593/Mappings.hbm.xml
  155. +1 −1 src/NHibernate.Test/NHSpecificTest/NH606/Mapping.hbm.xml
  156. +1 −1 src/NHibernate.Test/NHSpecificTest/NH607/Mappings.hbm.xml
  157. +1 −1 src/NHibernate.Test/NHSpecificTest/NH623/Mappings.hbm.xml
  158. +1 −1 src/NHibernate.Test/NHSpecificTest/NH637/Mappings.hbm.xml
  159. +1 −1 src/NHibernate.Test/NHSpecificTest/NH642/MissingGetter.hbm.xml
  160. +1 −1 src/NHibernate.Test/NHSpecificTest/NH642/MissingSetter.hbm.xml
  161. +1 −1 src/NHibernate.Test/NHSpecificTest/NH643/Mappings.hbm.xml
  162. +1 −1 src/NHibernate.Test/NHSpecificTest/NH681/Mappings.hbm.xml
  163. +1 −1 src/NHibernate.Test/NHSpecificTest/NH687/Mappings.hbm.xml
  164. +1 −1 src/NHibernate.Test/NHSpecificTest/NH704/Mappings.hbm.xml
  165. +1 −1 src/NHibernate.Test/NHSpecificTest/NH706/Mappings.hbm.xml
  166. +1 −1 src/NHibernate.Test/NHSpecificTest/NH712/Mappings.hbm.xml
  167. +1 −1 src/NHibernate.Test/NHSpecificTest/NH719/Mappings.hbm.xml
  168. +1 −1 src/NHibernate.Test/NHSpecificTest/NH720/Mappings.hbm.xml
  169. +1 −1 src/NHibernate.Test/NHSpecificTest/NH732/Mappings.hbm.xml
  170. +1 −1 src/NHibernate.Test/NHSpecificTest/NH734/Mappings.hbm.xml
  171. +1 −1 src/NHibernate.Test/NHSpecificTest/NH739/Mappings.hbm.xml
  172. +1 −1 src/NHibernate.Test/NHSpecificTest/NH742/Mappings.hbm.xml
  173. +1 −1 src/NHibernate.Test/NHSpecificTest/NH750/Mappings.hbm.xml
  174. +1 −1 src/NHibernate.Test/ProxyInterface/CastleProxyImpl.hbm.xml
  175. +1 −1 src/NHibernate.Test/ProxyTest/AProxy.hbm.xml
  176. +1 −1 src/NHibernate.Test/SecondLevelCacheTest/Item.hbm.xml
  177. +1 −1 src/NHibernate.Test/SqlTest/FireBirdEmployment.hbm.xml
  178. +1 −1 src/NHibernate.Test/SqlTest/General.hbm.xml
  179. +1 −1 src/NHibernate.Test/SqlTest/MSSQLEmployment.hbm.xml
  180. +1 −1 src/NHibernate.Test/Subclass/Subclass.Base.hbm.xml
  181. +1 −1 src/NHibernate.Test/Subclass/Subclass.One.hbm.xml
  182. +1 −1 src/NHibernate.Test/Subclass/Subclass.hbm.xml
  183. +1 −1 src/NHibernate.Test/TypeParameters/Widget.hbm.xml
  184. +1 −1 src/NHibernate.Test/TypesTest/BinaryBlobClass.hbm.xml
  185. +1 −1 src/NHibernate.Test/TypesTest/BinaryClass.hbm.xml
  186. +1 −1 src/NHibernate.Test/TypesTest/BooleanClass.hbm.xml
  187. +1 −1 src/NHibernate.Test/TypesTest/ByteClass.hbm.xml
  188. +1 −1 src/NHibernate.Test/TypesTest/DecimalClass.hbm.xml
  189. +1 −1 src/NHibernate.Test/TypesTest/DoubleClass.hbm.xml
  190. +1 −1 src/NHibernate.Test/TypesTest/EnumStringClass.hbm.xml
  191. +1 −1 src/NHibernate.Test/TypesTest/GuidClass.hbm.xml
  192. +1 −1 src/NHibernate.Test/TypesTest/PersistentEnumClass.hbm.xml
  193. +1 −1 src/NHibernate.Test/TypesTest/StringClass.hbm.xml
  194. +1 −1 src/NHibernate.Test/TypesTest/StringClobClass.hbm.xml
  195. +1 −1 src/NHibernate.Test/Unconstrained/Person.hbm.xml
  196. +1 −1 src/NHibernate.Test/Unconstrained/PersonNoLazy.hbm.xml
  197. +1 −1 src/NHibernate.Test/Unconstrained/Simply.hbm.xml
  198. +1 −1 src/NHibernate.Test/UserCollection/UserPermissions.hbm.xml
  199. +1 −1 src/NHibernate.Tool.hbm2net.Tests/Simple.hbm.xml
  200. +2 −2 src/NHibernate.Tool.hbm2net/CodeGenerator.cs
  201. +1 −1 src/NHibernate.UserTypes.Tests/EmptyAnsiStringClass.hbm.xml
  202. +1 −1 src/NHibernate.UserTypes.Tests/EmptyStringClass.hbm.xml
  203. +1 −1 src/NHibernate.UserTypes.Tests/SqlTypesClass.hbm.xml
  204. +5 −5 src/NHibernate/Cfg/Configuration.cs
  205. +4 −6 src/NHibernate/NHibernate-2.0.csproj
  206. +1 −1 src/NHibernate/{nhibernate-mapping-2.0.xsd → nhibernate-mapping-2.2.xsd}
  207. +1 −1 src/Nullables.Tests/NHibernate/NullablesClass.hbm.xml
@@ -23,7 +23,7 @@
</para>
<programlisting><![CDATA[<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" assembly="Eg"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Eg"
namespace="Eg">
<class name="Cat" table="CATS" discriminator-value="C">
@@ -66,7 +66,7 @@
<para>
All XML mappings should declare the XML namespace shown. The actual schema definition
- may be found in the <literal>src\nhibernate-mapping-2.0.xsd</literal> file in the
+ may be found in the <literal>src\nhibernate-mapping-2.2.xsd</literal> file in the
NHibernate distribution.
</para>
@@ -1802,7 +1802,7 @@
</para>
<programlisting><![CDATA[<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" assembly="Eg"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Eg"
namespace="Eg">
<class name="Cat" table="CATS">
@@ -1025,7 +1025,7 @@ namespace Eg
association:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Eg" namespace="Eg">
<class name="Parent">
@@ -1060,7 +1060,7 @@ alter table child add constraint childfk0 (parent_id) references parent]]></prog
association:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Eg" namespace="Eg">
<class name="Parent">
@@ -1099,7 +1099,7 @@ alter table child add constraint childfk0 (parent_id) references parent]]></prog
association is appropriate:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Eg" namespace="Eg">
<class name="Parent">
@@ -32,7 +32,7 @@
Here's a possible mapping document:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="..." namespace="...">
<class name="Employer" table="employers">
@@ -150,7 +150,7 @@ create sequence employer_id_seq]]></programlisting>
The following mapping document correctly represents these relationships:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="..." namespace="...">
<class name="Work" table="works" discriminator-value="W">
@@ -282,7 +282,7 @@ alter table author_work
The mapping document:
</para>
- <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+ <programlisting><![CDATA[<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="..." namespace="...">
<class name="Customer" table="customers">
@@ -95,7 +95,7 @@ namespace Eg
</para>
<programlisting><![CDATA[<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Eg" namespace="Eg">
<class
@@ -134,7 +134,7 @@ namespace Eg
</hibernate-mapping>]]></programlisting>
<programlisting><![CDATA[<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="Eg" namespace="Eg">
<class
@@ -38,7 +38,7 @@
<para>
<important>
<para>
- This library is generated using the file <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping-2.0.xsd</filename>
+ This library is generated using the file <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping-2.2.xsd</filename>
(which is embedded in the assembly to be able to validate generated XML streams).
As this file can change at each new release of NHibernate, you should regenerate it before using it
with a different version (open the Generator solution, compile and run the Generator project).
@@ -225,7 +225,7 @@ Illustration:<programlisting><![CDATA[
X(3) will always belong to C(1) ! (as X(2)).
</para>
<para>It is the case for <literal>&lt;dynamic-component&gt;</literal> and <literal>&lt;nested-composite-element&gt;</literal>.</para>
- <para>Another bad news is that, currently, XML elements coming after this elements can not be included in them. Eg: There is no way put a collection in <literal>&lt;dynamic-component&gt;</literal>. The reason is that the file <filename>nhibernate-mapping-2.0.xsd</filename> tells how elements are built and in which order, and NHibernate.Mapping.Attributes use this order.</para>
+ <para>Another bad news is that, currently, XML elements coming after this elements can not be included in them. Eg: There is no way put a collection in <literal>&lt;dynamic-component&gt;</literal>. The reason is that the file <filename>nhibernate-mapping-2.2.xsd</filename> tells how elements are built and in which order, and NHibernate.Mapping.Attributes use this order.</para>
<para>Anyway, the solution would be to add a <methodname>int ParentNode</methodname> property to BaseAttribute so that you can create a real graph...</para>
<para>For now, you can fallback on <classname>[RawXml]</classname>.</para>
@@ -236,13 +236,13 @@ Illustration:<programlisting><![CDATA[
<section id="mapping-attributes-devnotes">
<title>Developer Notes</title>
- <para>Any change to the schema (<filename>nhibernate-mapping-2.0.xsd</filename>) implies:</para>
+ <para>Any change to the schema (<filename>nhibernate-mapping-2.2.xsd</filename>) implies:</para>
<orderedlist>
<listitem>
<para>Checking if there is any change to do in the Generator (like updating KnowEnums / AllowMultipleValue / IsRoot / IsSystemType / IsSystemEnum / CanContainItself)</para>
</listitem>
<listitem>
- <para>Updating <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping-2.0.xsd</filename> (copy/paste) and running the Generator again (even if it wasn't modified)</para>
+ <para>Updating <filename>/src/NHibernate.Mapping.Attributes/nhibernate-mapping-2.2.xsd</filename> (copy/paste) and running the Generator again (even if it wasn't modified)</para>
</listitem>
<listitem>
<para>Running the Test project and make sure that no exception is thrown. A class/property should be modified/added in this project to be sure that any new breaking change will be caught (=> update the reference hbm.xml files and/or the project <filename>NHibernate.Mapping.Attributes-1.1.csproj</filename>)</para>
@@ -49,7 +49,7 @@ public <emphasis role="strong">class Person</emphasis>
<para>Here is the mapping</para>
<programlisting><![CDATA[
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="Example.Person, Example" table="Person">
<id name="Id" access="field.camelcase-underscore" unsaved-value="0">
<generator class="native" />
@@ -183,7 +183,7 @@ namespace QuickStart
</para>
<programlisting><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
namespace="QuickStart" assembly="QuickStart">
<class name="Cat" table="Cat">
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.A, NHibernate.DomainModel"
discriminator-value="0"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-lazy="false">
<subclass name="C2" discriminator-value="2" extends="B">
<property name="address" column="c2"/>
</subclass>
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="NHibernate.DomainModel"
namespace="NHibernate.DomainModel"
default-lazy="false">
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="org.hibernate.test.Simple" table="SIMP">
<id type="long" column="id_">
<generator class="assigned"/>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Baz, NHibernate.DomainModel"
table="`baz baz baz`"
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Blobber, NHibernate.DomainModel"
dynamic-update="true"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
namespace="NHibernate.DomainModel"
assembly="NHibernate.DomainModel"
default-lazy="false">
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Category, NHibernate.DomainModel" table="category" dynamic-update="true" dynamic-insert="true">
<id name="Id" unsaved-value="0" column="category_key_col">
<generator class="native"/>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-cascade="save-update" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-cascade="save-update" default-lazy="false">
<class
name="NHibernate.DomainModel.Circular, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-lazy="false">
<class name="NHibernate.DomainModel.Componentizable">
<id name="Id">
<generator class="native"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" auto-import="false" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" auto-import="false" default-lazy="false">
<import
class="NHibernate.DomainModel.Container, NHibernate.DomainModel"
rename="ContainerX"
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Custom, NHibernate.DomainModel"
persister="NHibernate.DomainModel.CustomPersister, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-cascade="save-update" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-access="field.camelcase" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-cascade="save-update" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-access="field.camelcase" default-lazy="false">
<class name="Eye" lazy="true">
<id name="id" unsaved-value="0">
<generator class="hilo"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Fee, NHibernate.DomainModel" table="`the fees`">
<id type="String" name="Key" column="id_" length="64" unsaved-value="null">
<generator class="uuid.hex" />
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Fo, NHibernate.DomainModel"
table="foes"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<import class="NHibernate.DomainModel.FooStatus, NHibernate.DomainModel" />
<import class="NHibernate.DomainModel.Result, NHibernate.DomainModel" />
<import class="NHibernate.DomainModel.INamed, NHibernate.DomainModel" />
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Fum, NHibernate.DomainModel">
<composite-id name="Id" unsaved-value="any">
<key-property name="String">
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Fumm, NHibernate.DomainModel">
<composite-id name="Id">
<key-property name="String">
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Glarch, NHibernate.DomainModel"
proxy="NHibernate.DomainModel.GlarchProxy, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Holder, NHibernate.DomainModel">
<id name="Id"
column="id_"
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.INameable, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Immutable, NHibernate.DomainModel" table="immut" mutable="false">
<jcs-cache usage="read-only" />
<id name="Id" column="id_" length="64">
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Location, NHibernate.DomainModel"
>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-access="property" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NHibernate.DomainModel" assembly="NHibernate.DomainModel" default-access="property" default-lazy="false">
<class name="M" table="M">
<id name="UniqueSequence" column="uniqueSequence" type="long" unsaved-value="0">
<generator class="native"> </generator>
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Many, NHibernate.DomainModel"
table="many"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="NHibernate.DomainModel.Master, NHibernate.DomainModel">
<meta attribute="foo">foo</meta>
<id column="master_key_column" type="Int64">
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Inner, NHibernate.DomainModel"
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.Top, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<joined-subclass name="NHibernate.DomainModel.NotMono, NHibernate.DomainModel" extends="NHibernate.DomainModel.Top, NHibernate.DomainModel" table="mono" dynamic-insert="true" dynamic-update="true">
<key column="superid"/>
<set name="Strings" table="monostrings">
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.BasicClass, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.BasicObject, NHibernate.DomainModel"
table="bc_obj"
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.BasicSerializable, NHibernate.DomainModel"
table="bc_ser">
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.BasicTime, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.Child, NHibernate.DomainModel"
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" default-lazy="false">
+<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.ClassWithNullColumns, NHibernate.DomainModel"
Oops, something went wrong.

0 comments on commit 3543cc9

Please sign in to comment.