springnet-commits Mailing List for Spring Framework .NET (Page 35)
Brought to you by:
aseovic,
markpollack
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(33) |
Aug
(163) |
Sep
(491) |
Oct
(289) |
Nov
(336) |
Dec
(84) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(227) |
Feb
(413) |
Mar
(128) |
Apr
(232) |
May
(92) |
Jun
(299) |
Jul
(386) |
Aug
(228) |
Sep
(237) |
Oct
(426) |
Nov
(325) |
Dec
(405) |
2006 |
Jan
(315) |
Feb
(311) |
Mar
(152) |
Apr
(177) |
May
(443) |
Jun
(92) |
Jul
(88) |
Aug
(80) |
Sep
(288) |
Oct
(515) |
Nov
(1049) |
Dec
(440) |
2007 |
Jan
(179) |
Feb
(406) |
Mar
(294) |
Apr
(80) |
May
(432) |
Jun
(242) |
Jul
(452) |
Aug
(710) |
Sep
(206) |
Oct
(240) |
Nov
(65) |
Dec
(227) |
2008 |
Jan
(80) |
Feb
(90) |
Mar
(98) |
Apr
(136) |
May
(101) |
Jun
(12) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark P. <mar...@us...> - 2007-10-13 21:58:01
|
Update of /cvsroot/springnet/Spring.Net/examples/Spring/Spring.IocQuickStart.MovieFinder/lib/net/1.1 In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv22678/1.1 Modified Files: Common.Logging.Log4Net.dll Log Message: moviefinder examples has own copied of common.logging - update to 1.2 Index: Common.Logging.Log4Net.dll =================================================================== RCS file: /cvsroot/springnet/Spring.Net/examples/Spring/Spring.IocQuickStart.MovieFinder/lib/net/1.1/Common.Logging.Log4Net.dll,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvs67QVgO and /tmp/cvsoy5LBy differ |
From: Mark P. <mar...@us...> - 2007-10-13 21:58:01
|
Update of /cvsroot/springnet/Spring.Net/examples/Spring/Spring.IocQuickStart.MovieFinder/lib/net/2.0 In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv22678/2.0 Modified Files: Common.Logging.Log4Net.dll Log Message: moviefinder examples has own copied of common.logging - update to 1.2 Index: Common.Logging.Log4Net.dll =================================================================== RCS file: /cvsroot/springnet/Spring.Net/examples/Spring/Spring.IocQuickStart.MovieFinder/lib/net/2.0/Common.Logging.Log4Net.dll,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsObOB9N and /tmp/cvsDOEIty differ |
From: Mark P. <mar...@us...> - 2007-10-11 18:38:00
|
Update of /cvsroot/springnet/Spring.Net/installer/installaware/Spring.NET-1.1 In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6474 Modified Files: Spring.NET-1.1.mpr Log Message: installaware 6.6 solution for spring.net 1.1 RC2 relrease Index: Spring.NET-1.1.mpr =================================================================== RCS file: /cvsroot/springnet/Spring.Net/installer/installaware/Spring.NET-1.1/Spring.NET-1.1.mpr,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Spring.NET-1.1.mpr 11 Oct 2007 18:06:22 -0000 1.1 --- Spring.NET-1.1.mpr 11 Oct 2007 18:37:57 -0000 1.2 *************** *** 465,469 **** Spring.NET authors All rights reserved ! {336025D8-F978-41B8-97DA-874E5991C597} Spring.NET Spring.NET --- 465,469 ---- Spring.NET authors All rights reserved ! {9FAE2BCC-6663-4D08-8AD2-D01CA49B42C4} Spring.NET Spring.NET |
Update of /cvsroot/springnet/Spring.Net/installer/installaware/Spring.NET-1.1 In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv26024 Added Files: Spring.NET-1.1.mia Spring.NET-1.1.mia.brk Spring.NET-1.1.mia.fld Spring.NET-1.1.mpr componentstree.dfm componentstree.dfm.miaf destination.dfm destination.dfm.miaf finish.dfm finish.dfm.miaf icon.ico licensecheck.dfm licensecheck.dfm.miaf mMSIExec.dll maintenance.dfm maintenance.dfm.miaf prereq.dfm prereq.dfm.miaf progress.dfm progress.dfm.miaf progressprereq.dfm progressprereq.dfm.miaf readme.dfm readme.dfm.miaf registration.dfm registration.dfm.miaf registrationwithserial.dfm registrationwithserial.dfm.miaf setuptype.dfm setuptype.dfm.miaf startinstallation.dfm startinstallation.dfm.miaf startmenu.dfm startmenu.dfm.miaf welcome.dfm welcome.dfm.miaf wizard.dfm wizard.dfm.miaf Log Message: installaware 6.6 solution for spring.net 1.1 RC2 relrease --- NEW FILE: registrationwithserial.dfm.miaf --- IF (Name.Text <> ) THEN Next.Enabled := True; IF (Company.Text <> ) THEN Next.Enabled := True; IF (Serial1.Text <> ) THEN Next.Enabled := True; IF (Serial2.Text <> ) THEN Next.Enabled := True; IF (Serial3.Text <> ) THEN Next.Enabled := True; IF (Serial4.Text <> ) THEN Next.Enabled := True; IF (Serial5.Text <> ) THEN Next.Enabled := True; IF (Name.Text = ) THEN Next.Enabled := False; IF (Company.Text = ) THEN Next.Enabled := False; IF (Serial1.Text = ) THEN Next.Enabled := False; IF (Serial2.Text = ) THEN Next.Enabled := False; IF (Serial3.Text = ) THEN Next.Enabled := False; IF (Serial4.Text = ) THEN Next.Enabled := False; IF (Serial5.Text = ) THEN Next.Enabled := False; --- NEW FILE: icon.ico --- (This appears to be a binary file; contents omitted.) --- NEW FILE: destination.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: prereq.dfm.miaf --- IF (checkWINST.Caption <> TRUE) THEN WINST.Visible := True; IF (checkJS.Caption <> TRUE) THEN JS.Visible := True; IF (checkDotNET.Caption <> TRUE) THEN dotNET.Visible := True; IF (checkWINST.Caption = TRUE) THEN WINST.Visible := False; IF (checkDotNET.Caption = TRUE) THEN dotNET.Visible := False; IF (checkJS.Caption = TRUE) THEN JS.Visible := False; --- NEW FILE: readme.dfm.miaf --- IF (LicenseCheck.Checked = True) THEN Next.Enabled := True; IF (LicenseCheck.Checked = False) THEN Next.Enabled := False; --- NEW FILE: Spring.NET-1.1.mia.fld --- Check Application Requirements Check/Install Application Pre-Requisites Check Application Pre-Requisites Install Application Pre-Requisites Define Setup Globals Setup User Interview Process (Un)Installation Perform Uninstallation Perform First Time or Maintenance Installation Finish Setup --- NEW FILE: progress.dfm.miaf --- IF (TestRemove.Caption <> TRUE) THEN CaptionInstall.Visible := True; IF (TestRemove.Caption = TRUE) THEN CaptionUninstall.Visible := True; IF (TestRemove.Caption <> TRUE) THEN CaptionUninstall.Visible := False; IF (TestRemove.Caption = TRUE) THEN CaptionInstall.Visible := False; --- NEW FILE: registration.dfm.miaf --- IF (Name.Text <> ) THEN Next.Enabled := True; IF (Company.Text <> ) THEN Next.Enabled := True; IF (Name.Text = ) THEN Next.Enabled := False; IF (Company.Text = ) THEN Next.Enabled := False; --- NEW FILE: maintenance.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: destination.dfm.miaf --- --- NEW FILE: readme.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Spring.NET-1.1.mia.brk --- --- NEW FILE: setuptype.dfm.miaf --- --- NEW FILE: mMSIExec.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: licensecheck.dfm.miaf --- IF (LicenseCheck.Checked = True) THEN Next.Enabled := True; IF (LicenseCheck.Checked = False) THEN Next.Enabled := False; --- NEW FILE: progressprereq.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: startmenu.dfm.miaf --- IF (MenuGroup.Text <> ) THEN Next.Enabled := True; IF (MenuGroup.Text = ) THEN Next.Enabled := False; IF (ISNT.Caption = TRUE) THEN AllUsers.Enabled := True; IF (ISNT.Caption <> TRUE) THEN AllUsers.Enabled := False; --- NEW FILE: progress.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: welcome.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: maintenance.dfm.miaf --- --- NEW FILE: licensecheck.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: componentstree.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: finish.dfm.miaf --- IF (checkSuccess.Caption = COMPLETE) THEN textComplete.Visible := True; IF (checkSuccess.Caption = REBOOT) THEN textReboot.Visible := True; IF (checkSuccess.Caption = CANCEL) THEN textCancelled.Visible := True; IF (checkSuccess.Caption = ERROR) THEN textError.Visible := True; IF (checkRemove.Caption = TRUE) THEN textRemove.Visible := True; IF (checkSuccess.Caption <> COMPLETE) THEN textComplete.Visible := False; IF (checkSuccess.Caption <> REBOOT) THEN textReboot.Visible := False; IF (checkSuccess.Caption <> CANCEL) THEN textCancelled.Visible := False; IF (checkSuccess.Caption <> ERROR) THEN textError.Visible := False; IF (checkRemove.Caption <> TRUE) THEN textRemove.Visible := False; IF (checkRemove.Caption = TRUE) THEN textComplete.Visible := False; IF (checkSuccess.Caption = CANCEL) THEN textRemove.Visible := False; IF (textReboot.Visible = True) THEN textRemove.Visible := false; IF (textComplete.Visible = True) THEN textRemove.Visible := false; IF (textError.Visible = True) THEN textRemove.Visible := false; IF (textCancelled.Visible = True) THEN textRemove.Visible := false; IF (checkSuccess.Caption = ERROR) THEN textRemove.Visible := False; --- NEW FILE: wizard.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: setuptype.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: startinstallation.dfm.miaf --- --- NEW FILE: startmenu.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Spring.NET-1.1.mia --- Comment Comment Code Folding Region Code Folding Region Comment Code Folding Region Comment Code Folding Region Comment Set Variable Set Variable Compiler Variable If If Set Variable Set Variable End Compiler Variable End Code Folding Region Comment [...4077 lines suppressed...] $ --- NEW FILE: Spring.NET-1.1.mpr --- Spring.NET-1.1.mia componentstree.dfm componentstree.dfm.miaf destination.dfm destination.dfm.miaf finish.dfm finish.dfm.miaf licensecheck.dfm licensecheck.dfm.miaf maintenance.dfm maintenance.dfm.miaf prereq.dfm prereq.dfm.miaf progress.dfm progress.dfm.miaf progressprereq.dfm progressprereq.dfm.miaf readme.dfm readme.dfm.miaf registration.dfm registration.dfm.miaf registrationwithserial.dfm registrationwithserial.dfm.miaf setuptype.dfm setuptype.dfm.miaf startinstallation.dfm startinstallation.dfm.miaf startmenu.dfm startmenu.dfm.miaf welcome.dfm welcome.dfm.miaf wizard.dfm wizard.dfm.miaf $ icon.ico $ $ $ 1 4 FALSE L:\projects\Spring.Net\msi Interface21 Spring.NET 1.1 RC2 {B0015DE0-78D3-4537-A741-1849EDC8C2C2} {30BEA7B0-1208-42DC-8C52-828662D99AA6} 1.1.0 English Spring.NET 1.1 RC2 Spring.NET 1.1 RC2 Installation Spring.NET authors All rights reserved {336025D8-F978-41B8-97DA-874E5991C597} Spring.NET Spring.NET http://forum.springframework.net http://www.springframework.net All rights reserved FALSE Spring.NET-1.1-RC2 TRUE FALSE http://timestamp.verisign.com/scripts/timstamp.dll $ $ Service Pack FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE $ FALSE --- NEW FILE: registrationwithserial.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: progressprereq.dfm.miaf --- --- NEW FILE: wizard.dfm.miaf --- --- NEW FILE: welcome.dfm.miaf --- --- NEW FILE: prereq.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: componentstree.dfm.miaf --- --- NEW FILE: startinstallation.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: registration.dfm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: finish.dfm --- (This appears to be a binary file; contents omitted.) |
From: Mark P. <mar...@us...> - 2007-10-11 18:04:37
|
Update of /cvsroot/springnet/Spring.Net/installer/installaware/Spring.NET-1.1 In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25613/Spring.NET-1.1 Log Message: Directory /cvsroot/springnet/Spring.Net/installer/installaware/Spring.NET-1.1 added to the repository |
From: Mark P. <mar...@us...> - 2007-10-11 18:04:36
|
Update of /cvsroot/springnet/Spring.Net/installer/installaware In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25602/installaware Log Message: Directory /cvsroot/springnet/Spring.Net/installer/installaware added to the repository |
From: Mark P. <mar...@us...> - 2007-10-11 17:59:39
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23567 Modified Files: Spring.Core.2003.csproj Spring.Core.2005.csproj Log Message: comment out pre-build event for anltr since it is not shipped in end user distribution remove SlidingExpiration and Priority from Cache attributes in SpringAir change TimeToLive value in SpringAir from int to string update docs on TimeToLive string value for cache aspect. Index: Spring.Core.2005.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Spring.Core.2005.csproj,v retrieving revision 1.111 retrieving revision 1.112 diff -C2 -d -r1.111 -r1.112 *** Spring.Core.2005.csproj 11 Oct 2007 05:57:25 -0000 1.111 --- Spring.Core.2005.csproj 11 Oct 2007 17:59:35 -0000 1.112 *************** *** 1046,1050 **** <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <PropertyGroup> ! <PreBuildEvent>$(ProjectDir)\..\..\..\tools\antlr-2.7.6\antlr-2.7.6.exe -o $(ProjectDir)\Expressions\Parser $(ProjectDir)\Expressions\Expression.g </PreBuildEvent> <PostBuildEvent> --- 1046,1050 ---- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <PropertyGroup> ! <PreBuildEvent>rem $(ProjectDir)\..\..\..\tools\antlr-2.7.6\antlr-2.7.6.exe -o $(ProjectDir)\Expressions\Parser $(ProjectDir)\Expressions\Expression.g </PreBuildEvent> <PostBuildEvent> Index: Spring.Core.2003.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Spring.Core.2003.csproj,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** Spring.Core.2003.csproj 11 Oct 2007 16:05:50 -0000 1.51 --- Spring.Core.2003.csproj 11 Oct 2007 17:59:35 -0000 1.52 *************** *** 17,21 **** DelaySign = "false" OutputType = "Library" ! PreBuildEvent = "$(ProjectDir)..\..\..\tools\antlr-2.7.6\antlr-2.7.6.exe -o $(ProjectDir)\Expressions\Parser $(ProjectDir)\Expressions\Expression.g" PostBuildEvent = "" RootNamespace = "Spring" --- 17,21 ---- DelaySign = "false" OutputType = "Library" ! PreBuildEvent = "rem $(ProjectDir)..\..\..\tools\antlr-2.7.6\antlr-2.7.6.exe -o $(ProjectDir)\Expressions\Parser $(ProjectDir)\Expressions\Expression.g" PostBuildEvent = "" RootNamespace = "Spring" |
From: Mark P. <mar...@us...> - 2007-10-11 17:59:28
|
Update of /cvsroot/springnet/Spring.Net/examples/Spring/SpringAir/src/SpringAir.Data.Ado/Data/Ado In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23553 Modified Files: AircraftDao.cs AirportDao.cs Log Message: comment out pre-build event for anltr since it is not shipped in end user distribution remove SlidingExpiration and Priority from Cache attributes in SpringAir change TimeToLive value in SpringAir from int to string update docs on TimeToLive string value for cache aspect. Index: AirportDao.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/examples/Spring/SpringAir/src/SpringAir.Data.Ado/Data/Ado/AirportDao.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** AirportDao.cs 3 Aug 2007 20:28:47 -0000 1.12 --- AirportDao.cs 11 Oct 2007 17:59:21 -0000 1.13 *************** *** 53,59 **** /// <see cref="SpringAir.Domain.AirportCollection"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Airports'", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Airport.Id=' + Id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Airport.Code=' + Code", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public AirportCollection GetAllAirports() { --- 53,59 ---- /// <see cref="SpringAir.Domain.AirportCollection"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Airports'", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Airport.Id=' + Id", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Airport.Code=' + Code", TimeToLive = "0:1:0")] public AirportCollection GetAllAirports() { *************** *** 83,87 **** /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Airport GetAirport(long id) { --- 83,87 ---- /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = "0:1:0")] public Airport GetAirport(long id) { *************** *** 105,109 **** /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Code=' + #code", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Airport GetAirport(string code) { --- 105,109 ---- /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Code=' + #code", TimeToLive = "0:1:0")] public Airport GetAirport(string code) { *************** *** 159,165 **** /// <see cref="SpringAir.Domain.AirportCollection"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Airports'", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Airport.Id=' + Id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Airport.Code=' + Code", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public AirportCollection GetAllAirports() { --- 159,165 ---- /// <see cref="SpringAir.Domain.AirportCollection"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Airports'", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Airport.Id=' + Id", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Airport.Code=' + Code", TimeToLive = "0:1:0")] public AirportCollection GetAllAirports() { *************** *** 179,183 **** /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Id=' +#id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Airport GetAirport(long id) { --- 179,183 ---- /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Id=' +#id", TimeToLive = "0:1:0")] public Airport GetAirport(long id) { *************** *** 197,201 **** /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Code=' +#code", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Airport GetAirport(string code) { --- 197,201 ---- /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Airport.Code=' +#code", TimeToLive = "0:1:0")] public Airport GetAirport(string code) { Index: AircraftDao.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/examples/Spring/SpringAir/src/SpringAir.Data.Ado/Data/Ado/AircraftDao.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AircraftDao.cs 3 Aug 2007 20:28:47 -0000 1.9 --- AircraftDao.cs 11 Oct 2007 17:59:21 -0000 1.10 *************** *** 67,72 **** /// <see cref="System.Collections.IList"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Aircrafts'", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Aircraft.Id=' + Id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public IList GetAllAircraft() { --- 67,72 ---- /// <see cref="System.Collections.IList"/> (but never <cref lang="null"/>). /// </returns> ! [CacheResult("AspNetCache", "'Aircrafts'", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Aircraft.Id=' + Id", TimeToLive = "0:1:0")] public IList GetAllAircraft() { *************** *** 86,90 **** /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Aircraft.Id=' + #id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Aircraft GetAircraft(long id) { --- 86,90 ---- /// if no such <see cref="SpringAir.Domain.Airport"/> can be found. /// </returns> ! [CacheResult("AspNetCache", "'Aircraft.Id=' + #id", TimeToLive = "0:1:0")] public Aircraft GetAircraft(long id) { *************** *** 123,128 **** } ! [CacheResult("AspNetCache", "'Aircrafts'", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] ! [CacheResultItems("AspNetCache", "'Aircraft.Id=' + Id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public IList GetAllAircraft() { --- 123,128 ---- } ! [CacheResult("AspNetCache", "'Aircrafts'", TimeToLive = "0:1:0")] ! [CacheResultItems("AspNetCache", "'Aircraft.Id=' + Id", TimeToLive = "0:1:0")] public IList GetAllAircraft() { *************** *** 130,134 **** } ! [CacheResult("AspNetCache", "'Aircraft.Id=' + #id", TimeToLive = 60, SlidingExpiration = true, Priority = CachePriority.Low)] public Aircraft GetAircraft(long id) { --- 130,134 ---- } ! [CacheResult("AspNetCache", "'Aircraft.Id=' + #id", TimeToLive = "0:1:0")] public Aircraft GetAircraft(long id) { |
From: Mark P. <mar...@us...> - 2007-10-11 17:59:18
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23418 Modified Files: aop-aspect-library.xml Log Message: comment out pre-build event for anltr since it is not shipped in end user distribution remove SlidingExpiration and Priority from Cache attributes in SpringAir change TimeToLive value in SpringAir from int to string update docs on TimeToLive string value for cache aspect. Index: aop-aspect-library.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop-aspect-library.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** aop-aspect-library.xml 11 Oct 2007 16:05:49 -0000 1.8 --- aop-aspect-library.xml 11 Oct 2007 17:59:15 -0000 1.9 *************** *** 166,170 **** interface with the method GetAirport(long id).</para> ! <programlisting> [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = 60)] public Airport GetAirport(long id) { --- 166,170 ---- interface with the method GetAirport(long id).</para> ! <programlisting> [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = "0:1:0")] public Airport GetAirport(long id) { *************** *** 190,194 **** <property name="SlidingExpiration" value="true"/> <property name="Priority" value="CachePriority.Low"/> ! <property name="TimeToLive" value="120"/> </object> --- 190,194 ---- <property name="SlidingExpiration" value="true"/> <property name="Priority" value="CachePriority.Low"/> ! <property name="TimeToLive" value="00:02:00"/> </object> |
From: Mark P. <mar...@us...> - 2007-10-11 16:22:12
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Data/Common In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv16382 Modified Files: DbProviderFactoryTests.cs Log Message: SPRNET-750 - Add the property UseParameterPrefixInSql to IDbMetadata Index: DbProviderFactoryTests.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Data/Common/DbProviderFactoryTests.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DbProviderFactoryTests.cs 21 Aug 2007 19:26:04 -0000 1.7 --- DbProviderFactoryTests.cs 11 Oct 2007 16:22:08 -0000 1.8 *************** *** 82,86 **** Assert.IsNotNull(provider.CreateDataAdapter()); Assert.IsNotNull(provider.CreateParameter()); ! Assert.AreEqual("Foo", provider.CreateParameterName("Foo")); } #endif --- 82,86 ---- Assert.IsNotNull(provider.CreateDataAdapter()); Assert.IsNotNull(provider.CreateParameter()); ! Assert.AreEqual(":Foo", provider.CreateParameterName("Foo")); } #endif |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:55
|
Update of /cvsroot/springnet/Spring.Net In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484 Modified Files: Spring.Net.1.1.2005.sln changelog.txt readme.txt Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: changelog.txt =================================================================== RCS file: /cvsroot/springnet/Spring.Net/changelog.txt,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** changelog.txt 9 Aug 2007 06:50:15 -0000 1.26 --- changelog.txt 11 Oct 2007 16:05:49 -0000 1.27 *************** *** 3,6 **** --- 3,81 ---- http://www.springframework.net + Release 1.1 RC2, October 15, 2007 + + Bug + + [SPRNET-297] - Cannot proxy ODP.NET OracleConnection + [SPRNET-500] - ProxyFactoryObject attempts to add all interfaces target implements even if ProxyInterfaces property is set + [SPRNET-659] - Page doesn't allow to specify neutral cultures for CultureResolver + [SPRNET-664] - Add description and show usage of Spring's WebSupportModule to documentation. + [SPRNET-667] - Update Common.Logging documentation to point to NetCommon sourceforge project web site. + [SPRNET-684] - Remove duplicate logging when completing transaction after thrown exception. + [SPRNET-685] - Rethrow exception during transaction manager rollback or commit and log correctly. + [SPRNET-686] - CacheResultAdvice should cache 'null' return values + [SPRNET-687] - AspNetCache does not differentiate cache-keys if several instances with different names exist + [SPRNET-688] - Registered transaction syncrhonizations should not have to implement IComparator. Add support for implemented Spring's IOrdered interface (optional). + [SPRNET-690] - AbstractSpringContextTests is not caching ApplicationContexts + [SPRNET-692] - Incorrect metadata in dbproviders.xml for parameterDbTypeProperty for OracleODP-2.0 + [SPRNET-696] - AbstractMessageSource messes parameters when calling ParentMessageSource + [SPRNET-704] - UserControl's SharedState doesn't reload after changing/recompiling .ascx file + [SPRNET-706] - Page.DataBound and Page.DataUnbound events are only raised if Binding collection is not empty + [SPRNET-709] - SpEL fails evaluating expression + [SPRNET-710] - DotNetMock based AbstractMessageSourceTests and MessageSourceAccessorTests have both "false positives" and "false negatives" + [SPRNET-714] - SessionFactory not bound to thread local storage if DbProvider for HibernateTransactionManager is null + [SPRNET-715] - SpringSessionSynchronization did not close hibernate session with a nested transaction with TransactionPropagation.NotSupported + [SPRNET-716] - Create new session if thread local storage SessionHolder is marked as SyncrhonizedWithTransaction. + [SPRNET-721] - Intercept all target interfaces when using an introduction with ObjectNameAutoProxyCreator + [SPRNET-722] - ReflectionUtils.getMostSpecificMethod() throws exception when handling Generic methods with the same parameter signature and different generic types + [SPRNET-725] - Concurrency problem with Spring.Expressions.PropertyOrFieldNode.Set()/.Get() + [SPRNET-727] - MethodMatchTransactionAttributeSource does not correctly return transaction attributes on candidate target object if method registered using MethodInfo object is based on an interface + [SPRNET-728] - Add missing ExecuteFind<T> method on IHibernateOperations interface + [SPRNET-731] - OSIV configuration doesn't work as described in reference docs + [SPRNET-733] - PropertyOverrideConfigurer on abstract object definition does not work + [SPRNET-734] - Northwind FulfillmentServiceTests are broken + [SPRNET-739] - fix NHibernate12 solution + nant build script + [SPRNET-746] - StoredProcedure class doesn't return sproc return value in result dictionary + [SPRNET-749] - AdoTempate's QueryCallback did not property extract return or output values from stored procedure. + [SPRNET-750] - Add the property UseParameterPrefixInSql to IDbMetadata + + Improvement + + [SPRNET-301] - Add IInstantiationAwareObjectPostProcessor functionality + [SPRNET-399] - Simplify custom config parser registration + [SPRNET-454] - PropertyPlaceholderConfigurer should be able to modify the values within expression elements + [SPRNET-485] - Add logging of transaction definition name and description when creating new transaction. + [SPRNET-486] - Provide better logging information in TransactionSynchronizationManager to identify ConnectionHolder, DbProvider and thread name + [SPRNET-679] - ResourceManagerConverter should throw a sensible exception in case of missing App_GlobalResources + [SPRNET-683] - Change type of "TimeToLive" parameter in ICache.Insert from int to TimeSpan + [SPRNET-697] - Refactor SessionScope initialization strategy + [SPRNET-705] - Page.SharedState must be discarded by PageHandler after .aspx recompile + [SPRNET-712] - Change ICache interface to be the least common denominator of potential cache implementations + [SPRNET-717] - Add default transaction timeout property on AbstractPlatformTransactionManager + [SPRNET-718] - Make node classes in SpEL public to allow for node traveral. + [SPRNET-720] - Change ObjectNameAutoProxyCreator default behavior to proxy the product of a IFactoryObject and not the IFactoryObject itself + [SPRNET-729] - Improve API documentation in NHibernate12 project using comment-checker program + [SPRNET-730] - Make current AppDomain's config file the default for RemotingConfigurer if filename==null + [SPRNET-732] - CollectionValidator should allow validation of any IEnumerable type + [SPRNET-740] - SpEL doesn't accept unicode characters + [SPRNET-742] - Exception handling aspect supports using SpEL expression as filtering condition as alternative to use of exception name. + [SPRNET-745] - Improved PropertyOverrideConfigurer to support 'ref' and 'expression' values override + + + New Feature + + [SPRNET-344] - Add the ability to bind to collections to data binding framework + [SPRNET-614] - Logging aspect based on Common.Logging + [SPRNET-693] - Add MultiDelegatingDbProvider to main distribution to support easy access to multiple databases selected at runtime. + [SPRNET-748] - Retry Advice + + Task + + [SPRNET-495] - Add information on how to configure Spring under IIS7 to reference documentation + [SPRNET-544] - Update to use Common.Logging 1.2 + [SPRNET-736] - Remove NHibernate integrations from CVS Integration module + [SPRNET-738] - Document configuring aop Namespace parser + [SPRNET-747] - Add description of how to do assembly redirects for database assemblies. + Release 1.1 RC1, August 10, 2007 Index: Spring.Net.1.1.2005.sln =================================================================== RCS file: /cvsroot/springnet/Spring.Net/Spring.Net.1.1.2005.sln,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Spring.Net.1.1.2005.sln 29 Sep 2007 17:31:54 -0000 1.15 --- Spring.Net.1.1.2005.sln 11 Oct 2007 16:05:49 -0000 1.16 *************** *** 15,18 **** --- 15,21 ---- Spring.include = Spring.include EndProjectSection + ProjectSection(SolutionItems) = preProject + Spring.build = Spring.build + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Services.2005", "src\Spring\Spring.Services\Spring.Services.2005.csproj", "{B58E34CF-6E70-481D-AC87-1BC2D13C21FB}" Index: readme.txt =================================================================== RCS file: /cvsroot/springnet/Spring.Net/readme.txt,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** readme.txt 9 Aug 2007 20:03:54 -0000 1.31 --- readme.txt 11 Oct 2007 16:05:49 -0000 1.32 *************** *** 1,3 **** ! THE SPRING.NET FRAMEWORK, Release 1.1 Release Candidate 1 (RC1) (August 10, 2007) -------------------------------------------------------------------- http://www.springframework.net/ --- 1,3 ---- ! THE SPRING.NET FRAMEWORK, Release 1.1 Release Candidate 1 (RC2) (October 15, 2007) -------------------------------------------------------------------- http://www.springframework.net/ |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:54
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484/src/Spring/Spring.Data Modified Files: Spring.Data.2003.csproj Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: Spring.Data.2003.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Spring.Data.2003.csproj,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Spring.Data.2003.csproj 14 Sep 2007 15:11:46 -0000 1.23 --- Spring.Data.2003.csproj 11 Oct 2007 16:05:50 -0000 1.24 *************** *** 2,6 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{E10A3BED-795F-41CB-A4A8-8C4B342ACDDF}" --- 2,6 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.6030" SchemaVersion = "2.0" ProjectGuid = "{E10A3BED-795F-41CB-A4A8-8C4B342ACDDF}" *************** *** 424,427 **** --- 424,432 ---- /> <File + RelPath = "Data\Common\MultiDelegatingDbProvider.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Data\Config\DatabaseNamespaceParser.cs" SubType = "Code" |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:54
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484/src/Spring/Spring.Core Modified Files: Spring.Core.2003.csproj Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: Spring.Core.2003.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Spring.Core.2003.csproj,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** Spring.Core.2003.csproj 14 Sep 2007 15:11:46 -0000 1.50 --- Spring.Core.2003.csproj 11 Oct 2007 16:05:50 -0000 1.51 *************** *** 2224,2227 **** --- 2224,2232 ---- /> <File + RelPath = "Util\ExtendedAttributeBuilder.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Util\FatalReflectionException.cs" SubType = "Code" |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:54
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Integration.Tests In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484/test/Spring/Spring.Data.Integration.Tests Modified Files: Spring.Data.Integration.Tests.2003.csproj Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: Spring.Data.Integration.Tests.2003.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.2003.csproj,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Spring.Data.Integration.Tests.2003.csproj 14 Sep 2007 15:11:47 -0000 1.9 --- Spring.Data.Integration.Tests.2003.csproj 11 Oct 2007 16:05:50 -0000 1.10 *************** *** 2,6 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{A9D3732A-D40B-4C35-80CE-9C4A53D2DEAD}" --- 2,6 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.6030" SchemaVersion = "2.0" ProjectGuid = "{A9D3732A-D40B-4C35-80CE-9C4A53D2DEAD}" *************** *** 260,268 **** /> <File - RelPath = "Data\MultiDelegatingDbProvider.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File RelPath = "Data\NativeAdoTestObjectDao.cs" SubType = "Code" --- 260,263 ---- |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:53
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484/src/Spring/Spring.Aop Modified Files: Spring.Aop.2003.csproj Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: Spring.Aop.2003.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Spring.Aop.2003.csproj,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Spring.Aop.2003.csproj 14 Sep 2007 15:11:46 -0000 1.21 --- Spring.Aop.2003.csproj 11 Oct 2007 16:05:50 -0000 1.22 *************** *** 2,6 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{3A3A4E65-45A6-4B20-B460-0BEDC302C02C}" --- 2,6 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.6030" SchemaVersion = "2.0" ProjectGuid = "{3A3A4E65-45A6-4B20-B460-0BEDC302C02C}" *************** *** 693,696 **** --- 693,726 ---- /> <File + RelPath = "Aspects\AbstractExceptionHandler.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Aspects\AbstractExceptionHandlerAdvice.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Aspects\IExceptionHandler.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Aspects\ParsedAdviceExpression.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Aspects\RetryAdvice.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Aspects\RetryExceptionHandler.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Aspects\Cache\BaseCacheAdvice.cs" SubType = "Code" *************** *** 733,767 **** /> <File ! RelPath = "Aspects\Exceptions\AbstractExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\ExceptionHandlerAdvice.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\IExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\LogExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\ReturnValueExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\SwallowExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\TranslationExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" --- 763,797 ---- /> <File ! RelPath = "Aspects\Exceptions\ExceptionHandlerAdvice.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\LogExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\ReturnValueExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\SwallowExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Exceptions\TranslationExceptionHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Logging\AbstractLoggingAdvice.cs" SubType = "Code" BuildAction = "Compile" /> <File ! RelPath = "Aspects\Logging\SimpleLoggingAdvice.cs" SubType = "Code" BuildAction = "Compile" |
From: Mark P. <mar...@us...> - 2007-10-11 16:05:53
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8484/doc/reference/src Modified Files: aop-aspect-library.xml index.xml Log Message: update docs with dates/links update readme/changelog fix 1.1 solution/projects Index: index.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/index.xml,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** index.xml 10 Oct 2007 03:03:28 -0000 1.74 --- index.xml 11 Oct 2007 16:05:50 -0000 1.75 *************** *** 54,61 **** <title>The Spring.NET Framework</title> <subtitle>Reference Documentation</subtitle> ! <!-- ! <releaseinfo>Version 1.1 RC1</releaseinfo> ! --> ! <pubdate>Last Updated October 9, 2007</pubdate> <authorgroup> <author> --- 54,59 ---- <title>The Spring.NET Framework</title> <subtitle>Reference Documentation</subtitle> ! <releaseinfo>Version 1.1 RC2</releaseinfo> ! <pubdate>Last Updated October 15, 2007</pubdate> <authorgroup> <author> Index: aop-aspect-library.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop-aspect-library.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** aop-aspect-library.xml 11 Oct 2007 06:02:13 -0000 1.7 --- aop-aspect-library.xml 11 Oct 2007 16:05:49 -0000 1.8 *************** *** 208,215 **** </object></programlisting> ! <para>in this example an ObjectNameAutoProxyCreator was used to apply this ! the cache aspect to objects that have Dao in their name,</para> ! ! <para></para> </sect1> --- 208,215 ---- </object></programlisting> ! <para>in this example an <classname>ObjectNameAutoProxyCreator</classname> ! was used to apply this the cache aspect to objects that have Dao in their ! name. The AspNetCache setting for TimetoLive will override the TimeToLive ! value set on the method level via the attribute.</para> </sect1> *************** *** 433,437 **** </sect1> ! <sect1> <title>Logging</title> --- 433,437 ---- </sect1> ! <sect1 id="logging-aspect"> <title>Logging</title> *************** *** 506,510 **** <para>As an example of the Logging advice's output, adding the advice to ! the method </para> <programlisting>public int Bark(string message, int[] luckyNumbers) --- 506,510 ---- <para>As an example of the Logging advice's output, adding the advice to ! the method</para> <programlisting>public int Bark(string message, int[] luckyNumbers) *************** *** 526,530 **** </sect1> ! <sect1> <title>Retry</title> --- 526,530 ---- </sect1> ! <sect1 id="retry-aspect"> <title>Retry</title> *************** *** 619,623 **** </sect1> ! <sect1> <title>Transactions</title> --- 619,623 ---- </sect1> ! <sect1 id="tx-aspect"> <title>Transactions</title> |
From: Mark P. <mar...@us...> - 2007-10-11 14:55:53
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Support In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11472 Modified Files: TestDbProvider.cs Log Message: SPRNET-750 - Add the property UseParameterPrefixInSql to IDbMetadata Index: TestDbProvider.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Tests/Support/TestDbProvider.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TestDbProvider.cs 24 Nov 2006 05:57:47 -0000 1.7 --- TestDbProvider.cs 11 Oct 2007 14:55:50 -0000 1.8 *************** *** 121,125 **** if (dbMetadata.BindByName) { ! if (DbMetadata.UseParameterNamePrefixInParameterCollection) { return DbMetadata.ParameterNamePrefix + name; --- 121,125 ---- if (dbMetadata.BindByName) { ! if (DbMetadata.UseParameterPrefixInSql) { return DbMetadata.ParameterNamePrefix + name; |
From: Mark P. <mar...@us...> - 2007-10-11 14:55:48
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11456 Modified Files: DbProvider.cs Log Message: SPRNET-750 - Add the property UseParameterPrefixInSql to IDbMetadata Index: DbProvider.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common/DbProvider.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** DbProvider.cs 10 Oct 2007 20:59:22 -0000 1.11 --- DbProvider.cs 11 Oct 2007 14:55:45 -0000 1.12 *************** *** 73,77 **** if (dbMetadata.BindByName) { ! if (DbMetadata.UseParameterNamePrefixInParameterCollection) { return DbMetadata.ParameterNamePrefix + name; --- 73,77 ---- if (dbMetadata.BindByName) { ! if (DbMetadata.UseParameterPrefixInSql) { return DbMetadata.ParameterNamePrefix + name; |
From: Mark P. <mar...@us...> - 2007-10-11 14:52:17
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10267 Modified Files: DbMetadata.cs IDbMetadata.cs dbproviders.xml Log Message: SPRNET-750 - Add the property UseParameterPrefixInSql to IDbMetadata Index: IDbMetadata.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common/IDbMetadata.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IDbMetadata.cs 13 Oct 2006 21:59:06 -0000 1.6 --- IDbMetadata.cs 11 Oct 2007 14:52:13 -0000 1.7 *************** *** 66,69 **** --- 66,84 ---- bool UseParameterNamePrefixInParameterCollection { get; } + + /// <summary> + /// Gets a value indicating whether the Provider requires + /// the use of a named prefix in the SQL string. + /// </summary> + /// <remarks> + /// The OLE DB/ODBC .NET Provider does not support named parameters for + /// passing parameters to an SQL Statement or a stored procedure called + /// by an IDbCommand when CommandType is set to Text. + /// </remarks> + /// <value> + /// <c>true</c> if use parameter prefix in SQL; otherwise, <c>false</c>. + /// </value> + bool UseParameterPrefixInSql { get; } + /// <summary> /// For providers that allow you to choose between binding parameters Index: dbproviders.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common/dbproviders.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** dbproviders.xml 10 Oct 2007 20:59:22 -0000 1.21 --- dbproviders.xml 11 Oct 2007 14:52:13 -0000 1.22 *************** *** 28,31 **** --- 28,32 ---- <constructor-arg name="exceptionType" value="System.Data.SqlClient.SqlException, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <constructor-arg name="errorCodeExceptionExpression" value="Errors[0].Number.ToString()"/> *************** *** 66,69 **** --- 67,71 ---- <constructor-arg name="exceptionType" value="System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 111,114 **** --- 113,117 ---- <constructor-arg name="exceptionType" value="System.Data.SqlServerCe.SqlCeException, System.Data.SqlServerCe, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 154,157 **** --- 157,161 ---- <constructor-arg name="exceptionType" value="System.Data.OleDb.OleDbException, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="false"/> + <constructor-arg name="useParameterPrefixInSql" value="false"/> <constructor-arg name="bindByName" value="false"/> <!-- TODO should parse out high/low values in the native error...yuk!--> *************** *** 194,197 **** --- 198,202 ---- <constructor-arg name="exceptionType" value="System.Data.OleDb.OleDbException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="false"/> + <constructor-arg name="useParameterPrefixInSql" value="false"/> <constructor-arg name="bindByName" value="false"/> <!-- TODO should parse out high/low values in the native error...yuk!--> *************** *** 240,243 **** --- 245,249 ---- <constructor-arg name="exceptionType" value="System.Data.OracleClient.OracleException, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="false"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 286,289 **** --- 292,296 ---- <constructor-arg name="exceptionType" value="Oracle.DataAccess.Client.OracleException, Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="false"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 337,340 **** --- 344,348 ---- <constructor-arg name="exceptionType" value="MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=1.0.10.1, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 378,381 **** --- 386,390 ---- <constructor-arg name="exceptionType" value="MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 423,426 **** --- 432,436 ---- <constructor-arg name="exceptionType" value="MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 467,470 **** --- 477,481 ---- <constructor-arg name="exceptionType" value="MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=5.1.2.2, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 511,514 **** --- 522,526 ---- <constructor-arg name="exceptionType" value="Npgsql.NpgsqlException, Npgsql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 554,557 **** --- 566,570 ---- <constructor-arg name="exceptionType" value="IBM.Data.DB2.DB2Exception, IBM.Data.DB2, Version=9.0.0.1, Culture=neutral, PublicKeyToken=7c307b91aa13d208"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 595,598 **** --- 608,612 ---- <constructor-arg name="exceptionType" value="IBM.Data.DB2.DB2Exception, IBM.Data.DB2, Version=9.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 638,641 **** --- 652,656 ---- <constructor-arg name="exceptionType" value="IBM.Data.DB2.DB2Exception, IBM.Data.DB2, Version=9.1.0.1, Culture=neutral, PublicKeyToken=7c307b91aa13d208"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 679,682 **** --- 694,698 ---- <constructor-arg name="exceptionType" value="IBM.Data.DB2.DB2Exception, IBM.Data.DB2, Version=9.1.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 723,726 **** --- 739,743 ---- <constructor-arg name="exceptionType" value="IBM.Data.DB2.iSeries.iDB2SQLErrorException, IBM.Data.DB2.iSeries, Version=10.0.0.0, Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 768,771 **** --- 785,789 ---- <constructor-arg name="exceptionType" value="System.Data.SQLite.SQLiteException, System.Data.SQLite, Version=1.0.43.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for *************** *** 813,816 **** --- 831,835 ---- <constructor-arg name="exceptionType" value="System.Data.SQLite.SQLiteException, System.Data.SQLite, Version=1.0.44.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"/> <constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/> + <constructor-arg name="useParameterPrefixInSql" value="true"/> <constructor-arg name="bindByName" value="true"/> <!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for Index: DbMetadata.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common/DbMetadata.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** DbMetadata.cs 21 Aug 2007 19:25:49 -0000 1.11 --- DbMetadata.cs 11 Oct 2007 14:52:13 -0000 1.12 *************** *** 53,56 **** --- 53,57 ---- private Type exceptionType; private bool useParameterNamePrefixInParameterCollection; + private bool useParameterPrefixInSql; private bool bindByName; *************** *** 83,86 **** --- 84,88 ---- Type exceptionType, bool useParameterNamePrefixInParameterCollection, + bool useParameterPrefixInSql, bool bindByName, string errorCodeExceptionExpression *************** *** 145,148 **** --- 147,151 ---- this.useParameterNamePrefixInParameterCollection = useParameterNamePrefixInParameterCollection; + this.useParameterPrefixInSql = useParameterPrefixInSql; this.bindByName = bindByName; *************** *** 225,228 **** --- 228,237 ---- } + + public bool UseParameterPrefixInSql + { + get { return useParameterPrefixInSql; } + } + public bool BindByName { |
From: Mark P. <mar...@us...> - 2007-10-11 13:55:49
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Expressions In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20274 Modified Files: ExpressionEvaluatorTests.cs Log Message: SPRNET-740 - SpEL doesn't accept unicode characters Index: ExpressionEvaluatorTests.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** ExpressionEvaluatorTests.cs 10 Oct 2007 18:29:49 -0000 1.69 --- ExpressionEvaluatorTests.cs 11 Oct 2007 13:55:45 -0000 1.70 *************** *** 324,328 **** [Test] - [Ignore("Ignore until support unicode in SpEL. SPRNET-740")] public void TestUnicode() { --- 324,327 ---- |
From: Mark P. <mar...@us...> - 2007-10-11 13:55:40
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Expressions In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20259 Modified Files: Expression.g Log Message: SPRNET-740 - SpEL doesn't accept unicode characters Index: Expression.g =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Expressions/Expression.g,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Expression.g 27 Aug 2007 09:38:11 -0000 1.24 --- Expression.g 11 Oct 2007 13:55:37 -0000 1.25 *************** *** 320,323 **** --- 320,324 ---- options { + charVocabulary = '\u0000' .. '\uFFFE'; classHeaderPrefix = "internal"; k = 2; |
From: Bruno B. <bb...@us...> - 2007-10-11 13:01:52
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv30928 Modified Files: objects.xml Log Message: Added an example for the VariablePlaceholderConfigurer. Index: objects.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/objects.xml,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** objects.xml 9 Sep 2007 22:53:12 -0000 1.107 --- objects.xml 11 Oct 2007 13:01:43 -0000 1.108 *************** *** 3779,3795 **** <note> ! In an ASP.NET environment you must specify the full, four-part name of the assembly when using a ! ! <classname>NameValueFileSectionHandler</classname> ! ! ; to wit... </note> ! ! <programlisting><section name="hibernateConfiguration" ! type="System.Configuration.NameValueFileSectionHandler, System, ! Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/></programlisting> ! ! <para>Type name substitution</para> ! <sect4> <title>Type, Ref, and Expression substitution</title> --- 3779,3791 ---- <note> ! In an ASP.NET environment you must specify the full, four-part name ! of the assembly when using a <classname>NameValueFileSectionHandler</classname> ! <programlisting> ! <section name="hibernateConfiguration" ! type="System.Configuration.NameValueFileSectionHandler, System, ! Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> ! </programlisting> </note> ! <sect4> <title>Type, Ref, and Expression substitution</title> *************** *** 3917,3969 **** <title>IVariableSource</title> ! <para>The IVariableSource is the base interface for providing the ! ability to get the value of property placeholders (name-value) pairs ! from a variety of sources. Out of the box, Spring.NET supports a ! number of variable sources that allow users to obtain variable values ! from .NET config files, java-style property files, environment ! variables, command line arguments and the registry and the new ! connection strings configuraiton section in .NET 2.0. The list of ! implementing classes is listed below. Please refer to the SDK ! documentation for more information.</para> <itemizedlist> <listitem> ! <para><classname>ConfigSectionVariableSource</classname></para> </listitem> <listitem> ! <para><classname>PropertyFileVariableSource</classname></para> </listitem> <listitem> ! <para><classname>EnvironmentVariableSource</classname></para> </listitem> <listitem> ! <para><classname>CommandLineArgsVariableSource</classname></para> </listitem> <listitem> ! <para><classname>RegistryVariableSource</classname></para> </listitem> <listitem> ! <para><classname>SpecialFolderVariableSource</classname></para> </listitem> <listitem> ! <para><classname>ConnectionStringsVariableSource</classname></para> </listitem> </itemizedlist> ! <para>You use this by defining an instance of ! <classname>Spring.Objects.Factory.Config.VariablePlaceholderConfigurer</classname> ! in your configuraiton and set the property ! <literal>VariableSource</literal> to a single ! <classname>IVariableSource</classname> instance or the list property ! VariableSources to a list of <classname>IVariableSource</classname> ! instances. In the case of the same property defined in multiple ! <classname>IVariableSource</classname> implementations, the first one ! in the list that contains the property value will be used.</para> </sect3> </sect2> --- 3913,3993 ---- <title>IVariableSource</title> ! <para> ! The IVariableSource is the base interface for providing the ! ability to get the value of property placeholders (name-value) pairs ! from a variety of sources. Out of the box, Spring.NET supports a ! number of variable sources that allow users to obtain variable values ! from .NET config files, java-style property files, environment ! variables, command line arguments and the registry and the new ! connection strings configuraiton section in .NET 2.0. The list of ! implementing classes is listed below. Please refer to the SDK ! documentation for more information. ! </para> <itemizedlist> <listitem> ! <para> ! <classname>ConfigSectionVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>PropertyFileVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>EnvironmentVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>CommandLineArgsVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>RegistryVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>SpecialFolderVariableSource</classname> ! </para> </listitem> <listitem> ! <para> ! <classname>ConnectionStringsVariableSource</classname> ! </para> </listitem> </itemizedlist> ! <para> ! You use this by defining an instance of ! <classname>Spring.Objects.Factory.Config.VariablePlaceholderConfigurer</classname> ! in your configuraiton and set the property ! <literal>VariableSource</literal> to a single ! <classname>IVariableSource</classname> instance or the list property ! <literal>VariableSources</literal> to a list of <classname>IVariableSource</classname> ! instances. In the case of the same property defined in multiple ! <classname>IVariableSource</classname> implementations, the first one ! in the list that contains the property value will be used. ! <programlisting><object type="Spring.Objects.Factory.Config.VariablePlaceholderConfigurer, Spring.Core"> ! <property name="VariableSources"> ! <list> ! <object type="Spring.Objects.Factory.Config.ConfigSectionVariableSource, Spring.Core"> ! <property name="SectionNames" value="CryptedConfiguration" /> ! </object> ! </list> ! </property> ! </object> ! </programlisting> ! </para> </sect3> </sect2> |
From: Mark P. <mar...@us...> - 2007-10-11 06:03:33
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Integration.Tests/Data In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28705 Modified Files: StoredProcedureTests.cs Log Message: clean up imports, add additional integraiton style test. Index: StoredProcedureTests.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Data.Integration.Tests/Data/StoredProcedureTests.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** StoredProcedureTests.cs 3 Aug 2007 19:51:22 -0000 1.3 --- StoredProcedureTests.cs 11 Oct 2007 06:03:26 -0000 1.4 *************** *** 23,26 **** --- 23,27 ---- using System; using System.Collections; + using System.Data; using NUnit.Framework; using Spring.Context; *************** *** 87,90 **** --- 88,120 ---- } } + + [Test] + public void OutReturnValueTestWithAdoTemplate() + { + IDbParameters parameters = adoOperations.CreateDbParameters(); + parameters.AddOut("Count", DbType.Int32); + parameters.AddReturn("RETURN_VALUE", DbType.Int32); + parameters.AddWithValue("Name", "George"); + IList queryResults = adoOperations.QueryWithRowMapper(CommandType.StoredProcedure, "SelectByNameWithReturnAndOutValue", + new SimpleRowMapper(), + parameters); + for (int i = 0; i < parameters.Count;i++ ) + { + Console.WriteLine("parameter " + i + + " name = " + parameters[i].ParameterName + + " value = " + parameters[i].Value); + } + // Console.WriteLine("out parameter 'count' = " + parameters["count"]); + //Console.WriteLine("RETURN_VALE = " + parameters["RETURN_VALUE"]); + + } } + + internal class SimpleRowMapper : IRowMapper + { + public object MapRow(IDataReader reader, int rowNum) + { + return "hello"; + } + } } |
From: Mark P. <mar...@us...> - 2007-10-11 06:03:24
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Generic In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28683 Modified Files: AdoTemplate.cs Log Message: clean up imports, add additional integraiton style test. Index: AdoTemplate.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Generic/AdoTemplate.cs,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** AdoTemplate.cs 11 Oct 2007 04:41:00 -0000 1.15 --- AdoTemplate.cs 11 Oct 2007 06:03:20 -0000 1.16 *************** *** 27,31 **** using System.Data; using System.Data.Common; - using System.Reflection; using Common.Logging; using Spring.Dao; --- 27,30 ---- |
From: Mark P. <mar...@us...> - 2007-10-11 06:02:23
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28150 Modified Files: ado.xml aop-aspect-library.xml Log Message: doc improvements. Index: ado.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/ado.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ado.xml 3 Oct 2007 14:38:35 -0000 1.17 --- ado.xml 11 Oct 2007 06:02:13 -0000 1.18 *************** *** 877,881 **** section <link linkend="key-abstractions">key abstractions</link> in the chapter on transactions for more comprehensive introduction to transaction ! management. </para> <para>To use local transactions, those with only one transactional --- 877,881 ---- section <link linkend="key-abstractions">key abstractions</link> in the chapter on transactions for more comprehensive introduction to transaction ! management.</para> <para>To use local transactions, those with only one transactional *************** *** 886,890 **** <classname>HibernatePlatformTransaction</classname> manager which is described more in the section on <link linkend="orm-tx-mgmt">ORM ! transaction management</link>. </para> <para>While it is most common to use Spring's <link --- 886,890 ---- <classname>HibernatePlatformTransaction</classname> manager which is described more in the section on <link linkend="orm-tx-mgmt">ORM ! transaction management</link>.</para> <para>While it is most common to use Spring's <link *************** *** 1737,1745 **** implementation of IRowMapper that is used to extract the business objects is 'registered' with the class and then later retrieved by name ! as a fictional output parameter. You may also register IRowCallback and ! IResultSetExtractor callback interfaces via the AddRowCallback and ! AddResultSetExtractor methods.</para> ! <para></para> </sect2> --- 1737,1747 ---- implementation of IRowMapper that is used to extract the business objects is 'registered' with the class and then later retrieved by name ! as a fictional output parameter. You may also register ! <classname>IRowCallback</classname> and ! <classname>IResultSetExtractor</classname> callback interfaces via the ! AddRowCallback and AddResultSetExtractor methods.</para> ! <para>Return values from stored procedures are contained under the key ! "RETURN_VALUE".</para> </sect2> Index: aop-aspect-library.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop-aspect-library.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** aop-aspect-library.xml 11 Oct 2007 01:29:35 -0000 1.6 --- aop-aspect-library.xml 11 Oct 2007 06:02:13 -0000 1.7 *************** *** 466,470 **** <para>You declare the logging advice in IoC container with the following XML fragment. Alternatively, you can use the class ! <classname>SimpleLoggingAdvice</classname> progammatically. </para> <programlisting><object name="exceptionHandlingAdvice" type="Spring.Aspects.Logging.SimpleLoggingAdvice, Spring.Aop"> --- 466,470 ---- <para>You declare the logging advice in IoC container with the following XML fragment. Alternatively, you can use the class ! <classname>SimpleLoggingAdvice</classname> progammatically.</para> <programlisting><object name="exceptionHandlingAdvice" type="Spring.Aspects.Logging.SimpleLoggingAdvice, Spring.Aop"> *************** *** 478,485 **** <para>The default values for LogUniqueIdentifier, LogExecutionTime, and LogMethodArguments are false. The default separator value is ", " and the ! default log level is Common.Logging's LogLevel.Trace. </para> ! <para>You can subclass SimpleLoggingAdvice and override the methods ! </para> <itemizedlist> --- 478,484 ---- <para>The default values for LogUniqueIdentifier, LogExecutionTime, and LogMethodArguments are false. The default separator value is ", " and the ! default log level is Common.Logging's LogLevel.Trace.</para> ! <para>You can subclass SimpleLoggingAdvice and override the methods</para> <itemizedlist> *************** *** 505,508 **** --- 504,527 ---- a Guid. You can alter this behavior by overriding the method <literal>string CreateUniqueIdentifier()</literal>.</para> + + <para>As an example of the Logging advice's output, adding the advice to + the method </para> + + <programlisting>public int Bark(string message, int[] luckyNumbers) + { + return 4; + }</programlisting> + + <para>And calling Bark("hello", new int[]{1, 2, 3} ), results in the + following output</para> + + <programlisting>Entering Bark, 5d2bad47-62cd-435b-8de7-91f12b7f433e, message=hello; luckyNumbers=System.Int32[] + + Exiting Bark, 5d2bad47-62cd-435b-8de7-91f12b7f433e, 30453.125 ms, return=4</programlisting> + + <para>The method parameters values are obtained using the ToString() + method. If you would like to have an alternate implementation, say to view + some values in an array, override the method string + GetMethodArgumentAsString(IMethodInvocation invocation).</para> </sect1> *************** *** 527,531 **** <para>The meaning is: when an exception that has 'ArithmeticException' in its classname is thrown, retry the invocaiton up to 3 times and delay for ! 1 second in between each retry event. </para> <para>You can also provide a SpEL (Spring Expression Language) expression --- 546,550 ---- <para>The meaning is: when an exception that has 'ArithmeticException' in its classname is thrown, retry the invocaiton up to 3 times and delay for ! 1 second in between each retry event.</para> <para>You can also provide a SpEL (Spring Expression Language) expression *************** *** 553,557 **** the rate expression is that you can easily specify some exponential retry rate (a bigger delay for each retry attempt) or call out to a custom ! function developed for this purpose. </para> <para>When using a SpEL expression for the filter condition or for the --- 572,576 ---- the rate expression is that you can easily specify some exponential retry rate (a bigger delay for each retry attempt) or call out to a custom ! function developed for this purpose.</para> <para>When using a SpEL expression for the filter condition or for the *************** *** 578,582 **** </itemizedlist>You declare the advice in IoC container with the following XML fragment. Alternatively, you can use the ! <classname>RetryAdvice</classname> class progammatically. </para> <programlisting><object name="exceptionHandlingAdvice" type="Spring.Aspects.RetryAdvice, Spring.Aop"> --- 597,601 ---- </itemizedlist>You declare the advice in IoC container with the following XML fragment. Alternatively, you can use the ! <classname>RetryAdvice</classname> class progammatically.</para> <programlisting><object name="exceptionHandlingAdvice" type="Spring.Aspects.RetryAdvice, Spring.Aop"> |