You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(248) |
May
(82) |
Jun
(90) |
Jul
(177) |
Aug
(253) |
Sep
(157) |
Oct
(151) |
Nov
(143) |
Dec
(278) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(152) |
Feb
(107) |
Mar
(177) |
Apr
(133) |
May
(259) |
Jun
(81) |
Jul
(119) |
Aug
(306) |
Sep
(416) |
Oct
(240) |
Nov
(329) |
Dec
(206) |
2006 |
Jan
(466) |
Feb
(382) |
Mar
(153) |
Apr
(162) |
May
(133) |
Jun
(21) |
Jul
(18) |
Aug
(37) |
Sep
(97) |
Oct
(114) |
Nov
(110) |
Dec
(28) |
2007 |
Jan
(74) |
Feb
(65) |
Mar
(49) |
Apr
(76) |
May
(43) |
Jun
(15) |
Jul
(68) |
Aug
(55) |
Sep
(63) |
Oct
(59) |
Nov
(70) |
Dec
(66) |
2008 |
Jan
(71) |
Feb
(60) |
Mar
(120) |
Apr
(31) |
May
(48) |
Jun
(81) |
Jul
(107) |
Aug
(51) |
Sep
(80) |
Oct
(83) |
Nov
(83) |
Dec
(79) |
2009 |
Jan
(83) |
Feb
(110) |
Mar
(97) |
Apr
(91) |
May
(291) |
Jun
(250) |
Jul
(197) |
Aug
(58) |
Sep
(54) |
Oct
(122) |
Nov
(68) |
Dec
(34) |
2010 |
Jan
(50) |
Feb
(17) |
Mar
(63) |
Apr
(61) |
May
(84) |
Jun
(81) |
Jul
(138) |
Aug
(144) |
Sep
(78) |
Oct
(26) |
Nov
(30) |
Dec
(61) |
2011 |
Jan
(33) |
Feb
(35) |
Mar
(166) |
Apr
(221) |
May
(109) |
Jun
(76) |
Jul
(27) |
Aug
(37) |
Sep
(1) |
Oct
(4) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(1) |
2014 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michael D. <mik...@us...> - 2004-10-21 12:38:09
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17951/lib Log Message: Directory /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/lib added to the repository |
From: Michael D. <mik...@us...> - 2004-10-21 12:37:21
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17671/html Log Message: Directory /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/html added to the repository |
From: Michael D. <mik...@us...> - 2004-10-21 12:36:35
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17371/common Log Message: Directory /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl/common added to the repository |
From: Peter S. <sz...@us...> - 2004-10-21 08:29:30
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd/ent In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23175/ent Added Files: .cvsignore Log Message: Added cvsignore --- NEW FILE: .cvsignore --- * |
From: Peter S. <sz...@us...> - 2004-10-21 08:27:55
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-xsl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23032/docbook-xsl Added Files: .cvsignore Log Message: Added cvsignore --- NEW FILE: .cvsignore --- * |
From: Peter S. <sz...@us...> - 2004-10-21 08:27:55
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/support/docbook-dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23032/docbook-dtd Added Files: .cvsignore Log Message: Added cvsignore --- NEW FILE: .cvsignore --- * |
From: Peter S. <sz...@us...> - 2004-10-21 08:25:30
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22444 Added Files: .cvsignore Log Message: Added cvsignore --- NEW FILE: .cvsignore --- support html-single |
From: Michael D. <mik...@us...> - 2004-10-21 00:39:20
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26198 Modified Files: doc.build Log Message: fixed up build file a little bit and added images. Index: doc.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/doc.build,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** doc.build 20 Oct 2004 18:08:31 -0000 1.2 --- doc.build 21 Oct 2004 00:39:08 -0000 1.3 *************** *** 16,23 **** --- 16,29 ---- <mkdir dir="html-single/${lang}" failonerror="false" /> <mkdir dir="html-single/${lang}/styles" failonerror="false" /> + <mkdir dir="html-single/${lang}/images" failonerror="false" /> <exec program="xsltproc" commandline="--output html-single\${lang}\reference.html ${lang}\styles\html.xsl ${lang}\master.xml" /> <copy file="${lang}/styles/html.css" tofile="html-single/${lang}/styles/html.css" /> + <copy todir="html-single"> + <fileset> + <includes name="${lang}/images/*.gif" /> + </fileset> + </copy> </target> |
From: Michael D. <mik...@us...> - 2004-10-21 00:38:59
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26159/en/images Added Files: lite.gif overview.gif Log Message: fixed up build file a little bit and added images. --- NEW FILE: lite.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: overview.gif --- (This appears to be a binary file; contents omitted.) |
From: Michael D. <mik...@us...> - 2004-10-21 00:38:59
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26159/en/modules Modified Files: architecture.xml Log Message: fixed up build file a little bit and added images. Index: architecture.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/modules/architecture.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** architecture.xml 19 Oct 2004 04:32:01 -0000 1.1 --- architecture.xml 21 Oct 2004 00:38:45 -0000 1.2 *************** *** 17,21 **** --> <imageobject role="html"> ! <imagedata fileref="../shared/images/overview.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 17,21 ---- --> <imageobject role="html"> ! <imagedata fileref="images/overview.gif" format="GIF" align="center"/> </imageobject> </mediaobject> *************** *** 40,44 **** --> <imageobject role="html"> ! <imagedata fileref="../shared/images/lite.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 40,44 ---- --> <imageobject role="html"> ! <imagedata fileref="images/lite.gif" format="GIF" align="center"/> </imageobject> </mediaobject> *************** *** 57,61 **** --> <imageobject role="html"> ! <imagedata fileref="../shared/images/full_cream.gif" format="GIF" align="center"/> </imageobject> </mediaobject> --- 57,61 ---- --> <imageobject role="html"> ! <imagedata fileref="images/full_cream.gif" format="GIF" align="center"/> </imageobject> </mediaobject> |
From: Michael D. <mik...@us...> - 2004-10-21 00:21:16
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/SqlCommandTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21627/NHibernate.Test/SqlCommandTest Modified Files: TemplateFixture.cs Log Message: Fixed problem caused by order-by attribute with multicolumns generating incorrect sql. Index: TemplateFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TemplateFixture.cs 26 Apr 2004 03:46:45 -0000 1.3 --- TemplateFixture.cs 21 Oct 2004 00:21:07 -0000 1.4 *************** *** 33,36 **** --- 33,58 ---- } + [Test] + public void OrderBySingleColumn() + { + Dialect.Dialect dialect = new Dialect.MsSql2000Dialect(); + + string orderBy = "col1 asc"; + string expectedOrderBy = "$PlaceHolder.col1 asc"; + + Assert.AreEqual( expectedOrderBy, Template.RenderOrderByStringTemplate( orderBy, dialect ) ); + } + + [Test] + public void OrderByMultiColumn() + { + Dialect.Dialect dialect = new Dialect.MsSql2000Dialect(); + + string orderBy = "col1 asc, col2 desc, col3"; + string expectedOrderBy = "$PlaceHolder.col1 asc, $PlaceHolder.col2 desc, $PlaceHolder.col3"; + + Assert.AreEqual( expectedOrderBy, Template.RenderOrderByStringTemplate( orderBy, dialect ) ); + } + } } |
From: Michael D. <mik...@us...> - 2004-10-21 00:21:16
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/SqlCommand In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21627/NHibernate/SqlCommand Modified Files: Template.cs Log Message: Fixed problem caused by order-by attribute with multicolumns generating incorrect sql. Index: Template.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/SqlCommand/Template.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Template.cs 30 Apr 2004 14:06:47 -0000 1.7 --- Template.cs 21 Oct 2004 00:21:06 -0000 1.8 *************** *** 168,172 **** { //TODO: make this a bit nicer ! StringTokenizer tokens = new StringTokenizer(sqlOrderByString, ","); StringBuilder result = new StringBuilder(sqlOrderByString.Length + 2); bool commaNeeded = false; --- 168,172 ---- { //TODO: make this a bit nicer ! StringTokenizer tokens = new StringTokenizer(sqlOrderByString, ",", false); StringBuilder result = new StringBuilder(sqlOrderByString.Length + 2); bool commaNeeded = false; |
From: Michael D. <mik...@us...> - 2004-10-20 18:08:52
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/styles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv982/en/styles Modified Files: html.xsl Log Message: worked on a little bit more. Index: html.xsl =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/styles/html.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** html.xsl 19 Oct 2004 04:32:02 -0000 1.1 --- html.xsl 20 Oct 2004 18:08:40 -0000 1.2 *************** *** 3,86 **** <!-- ! This is the XSL HTML configuration file for the Hibernate ! Reference Documentation. ! It took me days to figure out this stuff and fix most of ! the obvious bugs in the DocBook XSL distribution. Some of ! the workarounds might not be appropriate with a newer version ! of DocBook XSL. This file is released as part of Hibernate, ! hence LGPL licensed. ! chr...@hi... --> <!DOCTYPE xsl:stylesheet [ ! <!ENTITY db_xsl_path "../../support/docbook-xsl/"> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ! version="1.0" ! xmlns="http://www.w3.org/TR/xhtml1/transitional" ! exclude-result-prefixes="#default"> ! <xsl:import href="&db_xsl_path;/html/docbook.xsl"/> ! <!--################################################### ! HTML Settings ! ################################################### --> ! <xsl:param name="html.stylesheet">../shared/css/html.css</xsl:param> ! <!-- These extensions are required for table printing and other stuff --> ! ! <!-- this requires jars to be available so I'm setting it to 0 instead of 1 --> ! <xsl:param name="use.extensions">0</xsl:param> ! <xsl:param name="tablecolumns.extension">0</xsl:param> ! <xsl:param name="callout.extensions">0</xsl:param> ! <xsl:param name="graphicsize.extension">0</xsl:param> ! <!--################################################### ! Table Of Contents ! ################################################### --> ! <!-- Generate the TOCs for named components only --> ! <xsl:param name="generate.toc"> ! book toc ! </xsl:param> ! ! <!-- Show only Sections up to level 3 in the TOCs --> ! <xsl:param name="toc.section.depth">3</xsl:param> ! ! <!--################################################### ! Labels ! ################################################### --> ! <!-- Label Chapters and Sections (numbering) --> ! <xsl:param name="chapter.autolabel">1</xsl:param> ! <xsl:param name="section.autolabel" select="1"/> ! <xsl:param name="section.label.includes.component.label" select="1"/> ! <!--################################################### ! Callouts ! ################################################### --> ! <!-- Don't use graphics, use a simple number style --> ! <xsl:param name="callout.graphics">0</xsl:param> ! <!-- Place callout marks at this column in annotated areas --> ! <xsl:param name="callout.defaultcolumn">90</xsl:param> ! <!--################################################### ! Misc ! ################################################### --> - <!-- Placement of titles --> - <xsl:param name="formal.title.placement"> - figure after - example before - equation before - table before - procedure before - </xsl:param> - </xsl:stylesheet> --- 3,80 ---- <!-- ! This is the XSL HTML configuration file for the Hibernate ! Reference Documentation. ! It took me days to figure out this stuff and fix most of ! the obvious bugs in the DocBook XSL distribution. Some of ! the workarounds might not be appropriate with a newer version ! of DocBook XSL. This file is released as part of Hibernate, ! hence LGPL licensed. ! chr...@hi... --> <!DOCTYPE xsl:stylesheet [ ! <!ENTITY db_xsl_path "../../support/docbook-xsl/"> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ! version="1.0" ! xmlns="http://www.w3.org/TR/xhtml1/transitional" ! exclude-result-prefixes="#default"> ! <xsl:import href="&db_xsl_path;/html/docbook.xsl"/> ! <!-- HTML Settings --> ! <!-- ! modified this so the stylesheet would be lang specific since it is stored ! under the lang subdirectory anyway ! --> ! <xsl:param name="html.stylesheet">styles/html.css</xsl:param> ! <!-- These extensions are required for table printing and other stuff --> ! <!-- this requires jars to be available so I'm setting it to 0 instead of 1 --> ! <xsl:param name="use.extensions">0</xsl:param> ! <xsl:param name="tablecolumns.extension">0</xsl:param> ! <xsl:param name="callout.extensions">0</xsl:param> ! <xsl:param name="graphicsize.extension">0</xsl:param> ! <!-- Table Of Contents --> ! <!-- Generate the TOCs for named components only --> ! <xsl:param name="generate.toc"> ! book toc ! </xsl:param> ! <!-- Show only Sections up to level 3 in the TOCs --> ! <xsl:param name="toc.section.depth">3</xsl:param> ! ! <!-- Labels --> ! <!-- Label Chapters and Sections (numbering) --> ! <xsl:param name="chapter.autolabel">1</xsl:param> ! <xsl:param name="section.autolabel" select="1"/> ! <xsl:param name="section.label.includes.component.label" select="1"/> ! <!-- Callouts --> ! <!-- Don't use graphics, use a simple number style --> ! <xsl:param name="callout.graphics">0</xsl:param> ! ! <!-- Place callout marks at this column in annotated areas --> ! <xsl:param name="callout.defaultcolumn">90</xsl:param> ! ! <!-- Misc --> ! ! <!-- Placement of titles --> ! <xsl:param name="formal.title.placement"> ! figure after ! example before ! equation before ! table before ! procedure before ! </xsl:param> </xsl:stylesheet> |
From: Michael D. <mik...@us...> - 2004-10-20 18:08:51
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference/en/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv982/en/modules Modified Files: basic_mapping.xml Log Message: worked on a little bit more. Index: basic_mapping.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/en/modules/basic_mapping.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** basic_mapping.xml 19 Oct 2004 05:04:00 -0000 1.2 --- basic_mapping.xml 20 Oct 2004 18:08:38 -0000 1.3 *************** *** 38,44 **** <set name="Kittens"> <key column="mother_id"/> ! <one-to-many class="Cat"/> </set> ! <subclass name="DomesticCat" discriminator-value="D"> <property name="Name" type="String"/> </subclass> --- 38,44 ---- <set name="Kittens"> <key column="mother_id"/> ! <one-to-many class="Eg.Cat, Eg"/> </set> ! <subclass name="Eg.DomesticCat, Eg" discriminator-value="D"> <property name="Name" type="String"/> </subclass> *************** *** 212,216 **** </callout> <callout arearefs="class9-co" id="class9"> - <para> <literal>polymorphism</literal> (optional, defaults to <literal>implicit</literal>): --- 212,215 ---- *************** *** 284,287 **** --- 283,360 ---- </sect2> + <sect2 id="mapping-declaration_id"> + <title>id</title> + + <para> + Mapped classes <emphasis>must</emphasis> declare the primary key column of the database + table. Most classes will also have a Property holding the unique identifier + of an instance. The <literal><id></literal> element defines the mapping from that + property to the primary key column. + </para> + + <programlistingco> + <programlisting><id + name="propertyName" <co id="id1-co" linkends="id1" /> + type="typename" <co id="id2-co" linkends="id2" /> + column="column_name" <co id="id3-co" linkends="id3" /> + unsaved-value="any|none|null|id_value" <co id="id4-co" linkends="id4" /> + access="field|property|nosetter|ClassName"> <co id="id5-co" linkends="id5" /> + + <generator class="generatorClass"/> + </id> </programlisting> + <calloutlist> + <callout arearefs="id1-co" id="id1"> + <para> + <literal>name</literal> (optional): The name of the identifier property. + </para> + </callout> + <callout arearefs="id2-co" id="id2"> + <para> + <literal>type</literal> (optional): A name that indicates the NHibernate type. + </para> + </callout> + <callout arearefs="id3-co" id="id3"> + <para> + <literal>column</literal> (optional - defaults to the property name): The + name of the primary key column. + </para> + </callout> + <callout arearefs="id4-co" id="id4"> + <para> + <literal>unsaved-value</literal> (optional - defaults to <literal>null</literal>): + An identifier property value that indicates that an instance is newly instantiated + (unsaved), distinguishing it from transient instances that were saved or loaded + in a previous session. + </para> + </callout> + <callout arearefs="id5-co" id="id5"> + <para> + <literal>access</literal> (optional - defaults to <literal>property</literal>): The + strategy NHibernate should use for accessing the property value. + </para> + </callout> + </calloutlist> + </programlistingco> + + <para> + If the <literal>name</literal> attribute is missing, it is assumed that the class has no + identifier property. + </para> + + <para> + The <literal>unsaved-value</literal> attribute is important! If the identfier property of your + class does not default to <literal>null</literal>, then you should specify the actual default. + This is especially important when using a <literal>System.ValueType</literal> such as + <literal>System.Int32</literal> or <literal>System.Guid</literal> as your <literal><id></literal> + property. Make sure to explicity set this attribute because <literal>System.ValueType</literal> + objects can not be <literal>null</literal>. + </para> + + <para> + There is an alternative <literal><composite-id></literal> declaration to allow access to + legacy data with composite keys. We strongly discourage its use for anything else. + </para> + + </sect2> </sect1> |
From: Michael D. <mik...@us...> - 2004-10-20 18:08:48
|
Update of /cvsroot/nhibernate/nhibernate/doc/reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv982 Modified Files: doc.build Log Message: worked on a little bit more. Index: doc.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/doc/reference/doc.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** doc.build 19 Oct 2004 04:32:02 -0000 1.1 --- doc.build 20 Oct 2004 18:08:31 -0000 1.2 *************** *** 1,4 **** <?xml version="1.0" ?> - <project name="doc" --- 1,3 ---- *************** *** 15,23 **** need to make sure that xsltproc is in the path --> ! <mkdir dir="html-single\${lang}" failonerror="false" /> <exec program="xsltproc" commandline="--output html-single\${lang}\reference.html ${lang}\styles\html.xsl ${lang}\master.xml" /> ! </target> ! </project> \ No newline at end of file --- 14,24 ---- need to make sure that xsltproc is in the path --> ! <mkdir dir="html-single/${lang}" failonerror="false" /> ! <mkdir dir="html-single/${lang}/styles" failonerror="false" /> <exec program="xsltproc" commandline="--output html-single\${lang}\reference.html ${lang}\styles\html.xsl ${lang}\master.xml" /> ! <copy file="${lang}/styles/html.css" tofile="html-single/${lang}/styles/html.css" /> </target> ! ! </project> |
From: Michael D. <mik...@us...> - 2004-10-20 16:49:44
|
Update of /cvsroot/nhibernate/nhibernate/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16422 Modified Files: NHibernate.Examples-1.1.sln Log Message: Added a VB.NET version of the QuickStart. Index: NHibernate.Examples-1.1.sln =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples-1.1.sln,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NHibernate.Examples-1.1.sln 19 Oct 2004 05:35:34 -0000 1.2 --- NHibernate.Examples-1.1.sln 20 Oct 2004 16:49:35 -0000 1.3 *************** *** 8,11 **** --- 8,15 ---- EndProjectSection EndProject + Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "NHibernate.Examples.VB-1.1", "NHibernate.Examples.VB\NHibernate.Examples.VB-1.1.vbproj", "{586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection + EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Eg-1.1", "NHibernate.Eg\NHibernate.Eg-1.1.csproj", "{4788CEC1-BC6E-420A-B351-4FDF391E4951}" ProjectSection(ProjectDependencies) = postProject *************** *** 26,29 **** --- 30,37 ---- {EE3B9473-7C64-44FF-B342-91B558D413A8}.Release.ActiveCfg = Release|.NET {EE3B9473-7C64-44FF-B342-91B558D413A8}.Release.Build.0 = Release|.NET + {586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}.Debug.ActiveCfg = Debug|.NET + {586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}.Debug.Build.0 = Debug|.NET + {586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}.Release.ActiveCfg = Release|.NET + {586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}.Release.Build.0 = Release|.NET {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Debug.ActiveCfg = Debug|.NET {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Debug.Build.0 = Debug|.NET |
From: Michael D. <mik...@us...> - 2004-10-20 16:47:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB/QuickStart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15701/NHibernate.Examples.VB/QuickStart Added Files: QuickStart.sql User.hbm.xml User.vb UserFixture.vb Log Message: Added a VB.NET version of the QuickStart. --- NEW FILE: User.hbm.xml --- <?xml version="1.0" encoding="utf-8" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> <class name="NHibernate.Examples.VB.QuickStart.User, NHibernate.Examples.VB" table="users_vb"> <id name="Id" column="LogonId" type="String" length="20"> <generator class="assigned" /> </id> <property name="UserName" column="Name" type="String" length="40"/> <property name="Password" type="String" length="20"/> <property name="EmailAddress" type="String" length="40"/> <property name="LastLogon" type="DateTime"/> </class> </hibernate-mapping> --- NEW FILE: UserFixture.vb --- Imports System.Collections Imports NHibernate.Cfg Imports NUnit.Framework Namespace QuickStart <TestFixture()> _ Public Class UserFixture <Test()> _ Public Sub ValidateQuickStart() Dim cfg As New Configuration cfg.AddAssembly("NHibernate.Examples.VB") Dim factory As ISessionFactory = cfg.BuildSessionFactory() Dim session As ISession = factory.OpenSession() Dim trx As ITransaction = session.BeginTransaction() Dim newUser As New User newUser.Id = "joe_cool" newUser.UserName = "Joseph Cool" newUser.Password = "abc123" newUser.EmailAddress = "jo...@co..." newUser.LastLogon = DateTime.Now ' tell NHibernate that this object should be saved session.Save(newUser) ' commit all of the changes to the DB and close the ISession trx.Commit() session.Close() ' open another session to retreive the just inserted user session = factory.OpenSession() Dim joeCool As User joeCool = CType(session.Load(GetType(User), "joe_cool"), User) ' set Joe Cool's Last Login proeprty joeCool.LastLogon = DateTime.Now ' flush the changes from the ISession to the Database session.Flush() Dim criteria As ICriteria Dim recentUsers As IList criteria = session.CreateCriteria(GetType(User)) criteria.Add(Expression.Expression.Gt("LastLogon", New DateTime(2004, 3, 14, 20, 0, 0))) recentUsers = criteria.List() Dim recentUser As User For Each recentUser In recentUsers Assert.IsTrue(recentUser.LastLogon > New DateTime(2004, 3, 14, 20, 0, 0)) Next recentUser session.Close() End Sub End Class End Namespace --- NEW FILE: User.vb --- Namespace QuickStart Public Class User Dim _id As String Dim _userName As String Dim _password As String Dim _eMailAddress As String Dim _lastLogon As DateTime Public Property Id() As String Get Return _id End Get Set(ByVal Value As String) _id = Value End Set End Property Public Property UserName() As String Get Return _userName End Get Set(ByVal Value As String) _userName = Value End Set End Property Public Property Password() As String Get Return _password End Get Set(ByVal Value As String) _password = Value End Set End Property Public Property EmailAddress() As String Get Return _eMailAddress End Get Set(ByVal Value As String) _eMailAddress = Value End Set End Property Public Property LastLogon() As DateTime Get Return _lastLogon End Get Set(ByVal Value As DateTime) _lastLogon = Value End Set End Property End Class End Namespace --- NEW FILE: QuickStart.sql --- use nhibernate go CREATE TABLE users_vb ( LogonID nvarchar(20) NOT NULL, Name nvarchar(40) default NULL, Password nvarchar(20) default NULL, EmailAddress nvarchar(40) default NULL, LastLogon datetime default NULL, PRIMARY KEY (LogonID) ) go |
From: Michael D. <mik...@us...> - 2004-10-20 16:47:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15701/NHibernate.Examples.VB Added Files: App.config AssemblyInfo.vb NHibernate.Examples.VB-1.1.vbproj NHibernate.Examples.VB.nunit Log Message: Added a VB.NET version of the QuickStart. --- NEW FILE: NHibernate.Examples.VB.nunit --- <NUnitProject> <Settings activeconfig="Debug" /> <Config name="Debug" configfile="App.config" binpathtype="Auto"> <assembly path="bin\NHibernate.Examples.VB.dll" /> </Config> <Config name="Release" configfile="App.config" binpathtype="Auto"> <assembly path="bin\NHibernate.Examples.VB.dll" /> </Config> </NUnitProject> --- NEW FILE: NHibernate.Examples.VB-1.1.vbproj --- <VisualStudioProject> <VisualBasic ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{586D6BDE-F241-4EBB-AA8D-74A0F2C9FCF8}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Examples.VB" AssemblyOriginatorKeyFile = "" AssemblyOriginatorKeyMode = "None" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" OptionCompare = "Binary" OptionExplicit = "On" OptionStrict = "On" RootNamespace = "NHibernate.Examples.VB" StartupObject = "NHibernate.Examples.VB.(None)" > <Config Name = "Debug" BaseAddress = "285212672" ConfigurationOverrideFile = "" DefineConstants = "" DefineDebug = "true" DefineTrace = "true" DebugSymbols = "true" IncrementalBuild = "true" Optimize = "false" OutputPath = "bin\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "1" /> <Config Name = "Release" BaseAddress = "285212672" ConfigurationOverrideFile = "" DefineConstants = "" DefineDebug = "false" DefineTrace = "true" DebugSymbols = "false" IncrementalBuild = "false" Optimize = "true" OutputPath = "bin\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "1" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" /> <Reference Name = "System.Data" AssemblyName = "System.Data" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" /> <Reference Name = "nunit.framework" AssemblyName = "nunit.framework" HintPath = "..\..\external-bin\nunit.framework.dll" /> <Reference Name = "NHibernate-1.1" Project = "{EE3B9473-7C64-44FF-B342-91B558D413A8}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> </References> <Imports> <Import Namespace = "System" /> <Import Namespace = "System.Collections" /> <Import Namespace = "System.Data" /> <Import Namespace = "System.Diagnostics" /> </Imports> </Build> <Files> <Include> <File RelPath = "App.config" BuildAction = "None" /> <File RelPath = "AssemblyInfo.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "NHibernate.Examples.VB.nunit" BuildAction = "None" /> <File RelPath = "QuickStart\User.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "QuickStart\User.vb" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "QuickStart\UserFixture.vb" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </VisualBasic> </VisualStudioProject> --- NEW FILE: App.config --- <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> <nhibernate> <add key="hibernate.show_sql" value="true" /> <add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> <add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" /> <add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> <add key="hibernate.connection.connection_string" value="Server=localhost;initial catalog=nhibernate;Integrated Security=SSPI" /> </nhibernate> <!-- This section contains the log4net configuration settings --> <log4net> <!-- Define some output appenders --> <appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" > <param name="File" value="log.txt" /> <param name="AppendToFile" value="true" /> <param name="RollingStyle" value="Date" /> <param name="DatePattern" value="yyyy.MM.dd" /> <param name="StaticLogFileName" value="true" /> <layout type="log4net.Layout.PatternLayout,log4net"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <!-- Setup the root category, add the appenders and set the default priority --> <root> <priority value="ALL" /> <appender-ref ref="rollingFile" /> </root> </log4net> </configuration> --- NEW FILE: AssemblyInfo.vb --- Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes. Change these attribute values to modify the information ' associated with an assembly. ' Review the values of the assembly attributes <Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")> <Assembly: AssemblyCompany("")> <Assembly: AssemblyProduct("")> <Assembly: AssemblyCopyright("")> <Assembly: AssemblyTrademark("")> <Assembly: CLSCompliant(True)> 'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("4B19277B-90CA-40F8-84FA-A2508D99BEC2")> ' Version information for an assembly consists of the following four values: ' ' Major Version ' Minor Version ' Build Number ' Revision ' ' You can specify all the values or you can default the Build and Revision Numbers ' by using the '*' as shown below: <Assembly: AssemblyVersion("1.0.*")> |
From: Michael D. <mik...@us...> - 2004-10-20 16:47:29
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15701/NHibernate.Examples Modified Files: App.config NHibernate.Examples-1.1.csproj Log Message: Added a VB.NET version of the QuickStart. Index: NHibernate.Examples-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples/NHibernate.Examples-1.1.csproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NHibernate.Examples-1.1.csproj 19 Oct 2004 05:38:01 -0000 1.5 --- NHibernate.Examples-1.1.csproj 20 Oct 2004 16:47:19 -0000 1.6 *************** *** 232,258 **** /> <File - RelPath = "ForumQuestions\T1128288\AgentManager.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File - RelPath = "ForumQuestions\T1128288\AgentManager.hbm.xml" - BuildAction = "EmbeddedResource" - /> - <File - RelPath = "ForumQuestions\T1128288\CustomerRep.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File - RelPath = "ForumQuestions\T1128288\CustomerRep.hbm.xml" - BuildAction = "EmbeddedResource" - /> - <File - RelPath = "ForumQuestions\T1128288\DDLFixture.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File RelPath = "QuickStart\User.cs" SubType = "Code" --- 232,235 ---- Index: App.config =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples/App.config,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** App.config 24 Jul 2004 20:51:51 -0000 1.1 --- App.config 20 Oct 2004 16:47:19 -0000 1.2 *************** *** 2,6 **** <configuration> <configSections> ! <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> --- 2,6 ---- <configuration> <configSections> ! <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> |
From: Michael D. <mik...@us...> - 2004-10-20 16:19:55
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB/QuickStart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8559/QuickStart Log Message: Directory /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB/QuickStart added to the repository |
From: Michael D. <mik...@us...> - 2004-10-20 16:19:37
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8378/NHibernate.Examples.VB Log Message: Directory /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples.VB added to the repository |
From: Michael D. <mik...@us...> - 2004-10-19 05:41:30
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Eg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27188 Removed Files: Edge.cs Edge.hbm.xml NetworkDemo.cs Source.cs Vertex.cs Vertex.hbm.xml Log Message: removed Eg namespace from NHibernate. Has been added to its own project NHibernate.Eg that will be a part of the Examples solution. --- Edge.cs DELETED --- --- Vertex.cs DELETED --- --- Vertex.hbm.xml DELETED --- --- Edge.hbm.xml DELETED --- --- Source.cs DELETED --- --- NetworkDemo.cs DELETED --- |
From: Michael D. <mik...@us...> - 2004-10-19 05:38:10
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26481/NHibernate.Examples Modified Files: NHibernate.Examples-1.1.csproj Log Message: removed Eg namespace from NHibernate. Has been added to its own project NHibernate.Eg that will be a part of the Examples solution. Index: NHibernate.Examples-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples/NHibernate.Examples-1.1.csproj,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NHibernate.Examples-1.1.csproj 1 Sep 2004 00:10:12 -0000 1.4 --- NHibernate.Examples-1.1.csproj 19 Oct 2004 05:38:01 -0000 1.5 *************** *** 88,92 **** Name = "nunit.framework" AssemblyName = "nunit.framework" ! HintPath = "..\..\external-bin\nunit.framework.dll" /> </References> --- 88,92 ---- Name = "nunit.framework" AssemblyName = "nunit.framework" ! HintPath = "..\..\lib\net\1.1\nunit.framework.dll" /> </References> |
From: Michael D. <mik...@us...> - 2004-10-19 05:36:46
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Eg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26240 Added Files: App.ico Log Message: removed Eg namespace from NHibernate. Has been added to its own project NHibernate.Eg that will be a part of the Examples solution. --- NEW FILE: App.ico --- (This appears to be a binary file; contents omitted.) |
From: Michael D. <mik...@us...> - 2004-10-19 05:35:43
|
Update of /cvsroot/nhibernate/nhibernate/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26043 Modified Files: NHibernate.Examples-1.1.sln Log Message: removed Eg namespace from NHibernate. Has been added to its own project NHibernate.Eg that will be a part of the Examples solution. Index: NHibernate.Examples-1.1.sln =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples-1.1.sln,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NHibernate.Examples-1.1.sln 24 Jul 2004 20:52:33 -0000 1.1 --- NHibernate.Examples-1.1.sln 19 Oct 2004 05:35:34 -0000 1.2 *************** *** 8,11 **** --- 8,15 ---- EndProjectSection EndProject + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Eg-1.1", "NHibernate.Eg\NHibernate.Eg-1.1.csproj", "{4788CEC1-BC6E-420A-B351-4FDF391E4951}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection + EndProject Global GlobalSection(SolutionConfiguration) = preSolution *************** *** 22,25 **** --- 26,33 ---- {EE3B9473-7C64-44FF-B342-91B558D413A8}.Release.ActiveCfg = Release|.NET {EE3B9473-7C64-44FF-B342-91B558D413A8}.Release.Build.0 = Release|.NET + {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Debug.ActiveCfg = Debug|.NET + {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Debug.Build.0 = Debug|.NET + {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Release.ActiveCfg = Release|.NET + {4788CEC1-BC6E-420A-B351-4FDF391E4951}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution |