You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(55) |
Mar
(100) |
Apr
(203) |
May
(330) |
Jun
(190) |
Jul
(302) |
Aug
(323) |
Sep
(197) |
Oct
(245) |
Nov
(490) |
Dec
(330) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(194) |
Feb
(400) |
Mar
(416) |
Apr
(415) |
May
(359) |
Jun
(381) |
Jul
(491) |
Aug
(311) |
Sep
(291) |
Oct
(273) |
Nov
(355) |
Dec
(266) |
| 2005 |
Jan
(306) |
Feb
(303) |
Mar
(520) |
Apr
(346) |
May
(255) |
Jun
(221) |
Jul
(171) |
Aug
(247) |
Sep
(147) |
Oct
(125) |
Nov
(165) |
Dec
(65) |
| 2006 |
Jan
(90) |
Feb
(53) |
Mar
(121) |
Apr
(103) |
May
(113) |
Jun
(103) |
Jul
(104) |
Aug
(67) |
Sep
(78) |
Oct
(82) |
Nov
(78) |
Dec
(70) |
| 2007 |
Jan
(77) |
Feb
(76) |
Mar
(63) |
Apr
(30) |
May
(47) |
Jun
(41) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(33) |
Nov
(25) |
Dec
(21) |
| 2008 |
Jan
(45) |
Feb
(13) |
Mar
(15) |
Apr
(12) |
May
(9) |
Jun
(33) |
Jul
(30) |
Aug
(7) |
Sep
(20) |
Oct
(17) |
Nov
(20) |
Dec
(10) |
| 2009 |
Jan
(8) |
Feb
(5) |
Mar
(12) |
Apr
(17) |
May
(19) |
Jun
(97) |
Jul
(77) |
Aug
(33) |
Sep
(24) |
Oct
(41) |
Nov
(16) |
Dec
(32) |
| 2010 |
Jan
(24) |
Feb
(14) |
Mar
(50) |
Apr
(71) |
May
(70) |
Jun
(64) |
Jul
(45) |
Aug
(62) |
Sep
(32) |
Oct
(4) |
Nov
(12) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(4) |
Oct
(6) |
Nov
(3) |
Dec
(3) |
| 2012 |
Jan
(4) |
Feb
(8) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(3) |
Jul
(11) |
Aug
(10) |
Sep
(4) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
(9) |
Apr
(1) |
May
(8) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
(10) |
Dec
(8) |
| 2014 |
Jan
(3) |
Feb
(12) |
Mar
(9) |
Apr
(12) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(2) |
| 2015 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(7) |
Oct
(9) |
Nov
(7) |
Dec
(9) |
| 2016 |
Jan
(7) |
Feb
(5) |
Mar
(5) |
Apr
(5) |
May
(8) |
Jun
(4) |
Jul
(5) |
Aug
(4) |
Sep
(6) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
| 2017 |
Jan
(7) |
Feb
(8) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(5) |
Aug
(8) |
Sep
(4) |
Oct
(2) |
Nov
(3) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dmitriy K. <dko...@ru...> - 2004-02-29 16:26:38
|
Nope=2C not using it=2E=2E=2E=2E ----- Original Message ----- From=3A j=C3=BCrgen h=C3=B6ller =5Bwerk3AT=5D =3Cjuergen=2Ehoeller=40werk= 3at=2Ecom=3E Date=3A Sunday=2C February 29=2C 2004 8=3A42 am Subject=3A Re=3A =5BSpringframework-developer=5D AOP=3A attachments =3E I=27ve never noticed anyone using it=2C so +1 for dropping it (at = =3E least for the time being)=2E =3E = =3E Juergen =3E = =3E = =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F =3E = =3E Von=3A springframework-developer-admin=40lists=2Esourceforge=2Enet im= = =3E Auftrag von Rod Johnson =3E Gesendet=3A So 29=2E02=2E2004 00=3A26 =3E An=3A springframework-developer=40lists=2Esourceforge=2Enet =3E Betreff=3A =5BSpringframework-developer=5D AOP=3A attachments =3E = =3E = =3E = =3E Is anyone using the attachment feature of the AOP Alliance =3E MethodInterceptor=3F =3E = =3E For Spring 1=2E0 final I want to drive some cleanup of the AOP = =3E Alliance API =3E (backward compatible of course)=2C and am considering trying to get t= his =3E feature dropped=3F =3E = =3E Any objections=3F =3E = =3E Regards=2C =3E Rod =3E = =3E = =3E = =3E = =3E ------------------------------------------------------- =3E SF=2ENet is sponsored by=3A Speed Start Your Linux Apps Now=2E =3E Build and deploy apps =26 Web services for Linux with =3E a free DVD software kit from IBM=2E Click Now! =3E http=3A//ads=2Eosdn=2Ecom/=3Fad=5Fid=3D1356=26alloc=5Fid=3D3438=26op=3D= click =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =3E Springframework-developer mailing list =3E Springframework-developer=40lists=2Esourceforge=2Enet =3E https=3A//lists=2Esourceforge=2Enet/lists/listinfo/springframework-de= veloper =3E = =3E = =3E = =3E = =3E ------------------------------------------------------- =3E SF=2ENet is sponsored by=3A Speed Start Your Linux Apps Now=2E =3E Build and deploy apps =26 Web services for Linux with =3E a free DVD software kit from IBM=2E Click Now! =3E http=3A//ads=2Eosdn=2Ecom/=3Fad=5Fid=1356=26alloc=5Fid438=26op=3Dclic= k =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =3E Springframework-developer mailing list =3E Springframework-developer=40lists=2Esourceforge=2Enet =3E https=3A//lists=2Esourceforge=2Enet/lists/listinfo/springframework-de= veloper =3E |
|
From: <tri...@tr...> - 2004-02-29 15:41:12
|
A couple of questions that I think we should resolve before 1.0 final. Should we use the Apache License, Version 2.0 instead - any Apache projects released after March 1st is going to use the 2.0 version. Also, shouldn't we have a Contributor License Agreement for each developer if we are going to assign the copyrights to the Spring Framework Project? Thomas Quoting "jürgen höller [werk3AT]" <jue...@we...>: > Everyone, > =20 > I've recently adapted the text of our license a bit for 1.0 RC2. > =20 > It clarifies that it applies to all files contained in the download now, = > except the third-party libraries in the "lib" directory. I've also added = > Rod and myself as representatives of the "Spring Framework Project"; = > I've read somewhere that a copyright should in some way refer to legal = > entities rather than just a legally undefined "project". > =20 > If there are any objections or suggestions regarding the wording, please = > raise your hand! > =20 > Juergen > =20 > > ________________________________ > > Von: spr...@li... im Auftrag = > von Cameron Braid > Gesendet: So 29.02.2004 14:04 > An: spr...@li... > Betreff: [Springframework-developer] Please add the license to the web = > site > > > I know that you are using an apache license, though there is no mention = > if this readily availible on the web site. > =20 > Thanks. > =20 > Cameron > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <jue...@we...> - 2004-02-29 13:54:06
|
I've never noticed anyone using it, so +1 for dropping it (at least for = the time being). =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rod Johnson Gesendet: So 29.02.2004 00:26 An: spr...@li... Betreff: [Springframework-developer] AOP: attachments Is anyone using the attachment feature of the AOP Alliance MethodInterceptor? For Spring 1.0 final I want to drive some cleanup of the AOP Alliance = API (backward compatible of course), and am considering trying to get this feature dropped? Any objections? Regards, Rod ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-02-29 13:52:51
|
Everyone, =20 I've recently adapted the text of our license a bit for 1.0 RC2. =20 It clarifies that it applies to all files contained in the download now, = except the third-party libraries in the "lib" directory. I've also added = Rod and myself as representatives of the "Spring Framework Project"; = I've read somewhere that a copyright should in some way refer to legal = entities rather than just a legally undefined "project". =20 If there are any objections or suggestions regarding the wording, please = raise your hand! =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Cameron Braid Gesendet: So 29.02.2004 14:04 An: spr...@li... Betreff: [Springframework-developer] Please add the license to the web = site I know that you are using an apache license, though there is no mention = if this readily availible on the web site. =20 Thanks. =20 Cameron |
|
From: Cameron B. <ca...@da...> - 2004-02-29 13:16:50
|
I know that you are using an apache license, though there is no mention if this readily availible on the web site. Thanks. Cameron |
|
From: Rod J. <rod...@in...> - 2004-02-29 00:40:19
|
>I'm also not keen on changing the names of the exception base classes Agree. ----- Original Message ----- From: "j=FCrgen h=F6ller [werk3AT]" <jue...@we...> To: <spr...@li...> Sent: Saturday, February 28, 2004 10:46 PM Subject: Re: [Springframework-developer] DataFieldMaxValueIncrementer Okidoki, but I don't think that we need a separate JdbcResourceException class here - I've just changed it back to CannotGetJdbcConnectionExceptio= n, like it initially was (good that I haven't committed it yet ;-). Given th= at we use a DataAccessException, CannotGetJdbcConnectionException seems to b= e good enough. I'm also not keen on changing the names of the exception base classes. Granted, "ResourceFailureException" sounds like a double negative, but it helps to distinguish it from "ResourceUsageException": in the former case= , the resource itself failed; in the latter case, it was used inappropriate= ly. Juergen ________________________________ Von: spr...@li... im Auftrag von tri...@tr... Gesendet: Sa 28.02.2004 23:08 An: spr...@li... Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer It's not necessarily a bad argument though - it could just be that the runtime environment is misconfigured - I think a JdbcResourceException (see previ= ous email) would be appropriate. Thomas Quoting "j=FCrgen h=F6ller [werk3AT]" <jue...@we...>: > But the javax.sql.DataSource interface is plain JDBC, typically to be =3D > used by Spring DAOs just like any other DataSource. It's getConnection = =3D > methods throw SQLException, according to the DataSource interface. > =3D20 > This is about *setting up* a DriverManagerDataSource; I don't see why =3D > setDriverClassName or the constructor should throw a DataAccessExceptio= n =3D > here. Other Spring beans - including DAO support classes - throw =3D > IllegalArgumentException or the like too when they get bad configuratio= n =3D > parameters on initialization. > =3D20 > As I said, I changed DriverManagerDataSource initialization to throw =3D > IllegalArgumentException, after Thomas' remark. The kind of unchecked =3D > exception thrown on initialization is a rather academic issue... In =3D > particular, if the driver class name isn't right, you can't do anything= =3D > meaningful anyway. > =3D20 > Juergen > =3D20 > > ________________________________ > > Von: spr...@li... im Auftrag =3D > von Rod Johnson > Gesendet: Sa 28.02.2004 22:33 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > >Good point - changed to IllegalArgumentException. > > >I just didn't want to throw CannotGetJdbcConnectionException like =3D > before; > it arguably wasn't appropriate. In general. the DataSource =3D > implementations > shouldn't use DataAccessExceptions in the first place. > > I disagree. I think that the user should be able to catch > DataAccessException confidently in all cases (which was why I changed =3D > from > ClassNotFoundException to a DataAccessException). > > I don't have terribly strong views on this as it's not a production =3D > usage > class anyway--but that also implies it wasn't really worth changing the > behaviour either... > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Alef A. <al...@jt...> - 2004-02-29 00:29:00
|
Sorry, was out for the evening... But I saw somebody else already did it. Alef > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On = Behalf > Of j=FCrgen h=F6ller [werk3AT] > Sent: Saturday, February 28, 2004 9:51 PM > To: spr...@li... > Subject: Re: [Springframework-developer] Old Spring docs >=20 > Alef (or someone else that has the PDF doc stuff installed), can you > please update the spring-reference.pdf in CVS, possibly doing a quick > consistency check before? We need an up-to-date version of it for 1.0 = RC2, > to be released tomorrow night. >=20 > Juergen >=20 >=20 > ________________________________ >=20 > Von: spr...@li... im Auftrag = von > tri...@tr... > Gesendet: Sa 28.02.2004 21:16 > An: spr...@li... > Betreff: Re: [Springframework-developer] Old Spring docs >=20 >=20 >=20 >=20 > I have removed most of the references on the website - let me know if = I > should > remove/ad anything else. At some point we should add some scripts to > generate > the whole website from CVS. >=20 > Thomas >=20 >=20 > Quoting Darren Davison <da...@da...>: >=20 > > =3D2D----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Saturday 28 February 2004 16:53, j=3DFCrgen h=3DF6ller [werk3AT] = wrote: > > > > > BTW, the Velocity integration article is also still available from = our > > > website but not in CVS anymore. It seems to be completely merged = into > the > > > reference docs, so we should probably remove that one from the = website > > > too. > > > > yes, I took it out of CVS on the assumption it would disappear from > the=3D20 > > website at some point afterwards. > > > > > > =3D2D --=3D20 > > > > Darren Davison > > Public Key: http://www.davison.uk.net/key.jsp > > =3D2D----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.4 (GNU/Linux) > > > > iD8DBQFAQOzaKLMLAN01aw0RAtfJAKCbANpm9d7Bc18B8K2KHunNibe1JgCaAsZJ > > JNWfSRLdmGyo+u6XJNO594I=3D3D > > =3D3DSPR1 > > =3D2D----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > = https://lists.sourceforge.net/lists/listinfo/springframework-developer > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Darren D. <da...@da...> - 2004-02-28 23:43:59
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 28 February 2004 20:50, j=FCrgen h=F6ller [werk3AT] wrote: > Alef (or someone else that has the PDF doc stuff installed), can you > please update the spring-reference.pdf in CVS, possibly doing a quick > consistency check before? We need an up-to-date version of it for 1.0 > RC2, to be released tomorrow night. just committed one. =2D --=20 Darren Davison Public Key: http://www.davison.uk.net/key.jsp =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAQSUeKLMLAN01aw0RAiYaAKCTmNYgUmbITsMQZ2kjMWfCFb97OACfQJkh BOM849Rwwid4I6llCFQp/+w=3D =3DVMD1 =2D----END PGP SIGNATURE----- |
|
From: Rod J. <rod...@in...> - 2004-02-28 23:38:20
|
Is anyone using the attachment feature of the AOP Alliance MethodInterceptor? For Spring 1.0 final I want to drive some cleanup of the AOP Alliance API (backward compatible of course), and am considering trying to get this feature dropped? Any objections? Regards, Rod |
|
From: Darren D. <da...@da...> - 2004-02-28 23:36:53
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 28 February 2004 20:16, tri...@tr... wrote: > I have removed most of the references on the website - let me know if I > should remove/ad anything else. At some point we should add some scripts > to generate the whole website from CVS. the tapestry doc from the integration folder can also go. It's now in the= =20 reference doc and has been removed from CVS. Regards, =2D --=20 Darren Davison Public Key: http://www.davison.uk.net/key.jsp =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAQSNzKLMLAN01aw0RAu0EAJ9n7MXNJlcb31eT0hvhIPUeLijuLwCgjthh eDzk3ePgEJKgVNP9CRSmVlA=3D =3DH8vx =2D----END PGP SIGNATURE----- |
|
From: <jue...@we...> - 2004-02-28 23:20:15
|
You can take a DefaultListableBeanFactory and read bean definitions into = it via a JdbcBeanDefinitionReader; this is the recommended way to work = with definition readers. The bean factory itself is not concerned with = bean definitions formats anymore. =20 XmlBeanFactory is now just a convenience subclass that combines = DefaultListableBeanFactory with XmlBeanDefinitionReader. In all other = case, apply the corresponding reader to a separate = DefaultListableBeanFactory instance. =20 An ApplicationContext could be quite easily implemented by subclassing = AbstractApplicationContext, using a DefaultListableBeanFactory as = underlying bean factory, and reading in bean definitions via = JdbcBeanDefinitionReader. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Dmitriy Kopylenko Gesendet: Sa 28.02.2004 23:48 An: spr...@li... Betreff: [Springframework-developer] JdbcBeanFactory and = JdbcApplicationContext I don't see any implementations of JdbcBeanFactory and = ApplicationContext in our code base, even though there is a = org.springframework.jdbc.core.support.JdbcBeanDefinitionReader which is = a standalone class. Dmitriy. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-02-28 23:00:14
|
Okidoki, but I don't think that we need a separate JdbcResourceException = class here - I've just changed it back to = CannotGetJdbcConnectionException, like it initially was (good that I = haven't committed it yet ;-). Given that we use a DataAccessException, = CannotGetJdbcConnectionException seems to be good enough. =20 I'm also not keen on changing the names of the exception base classes. = Granted, "ResourceFailureException" sounds like a double negative, but = it helps to distinguish it from "ResourceUsageException": in the former = case, the resource itself failed; in the latter case, it was used = inappropriately. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von tri...@tr... Gesendet: Sa 28.02.2004 23:08 An: spr...@li... Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer It's not necessarily a bad argument though - it could just be that the = runtime environment is misconfigured - I think a JdbcResourceException (see = previous email) would be appropriate. Thomas Quoting "j=FCrgen h=F6ller [werk3AT]" <jue...@we...>: > But the javax.sql.DataSource interface is plain JDBC, typically to be = =3D > used by Spring DAOs just like any other DataSource. It's getConnection = =3D > methods throw SQLException, according to the DataSource interface. > =3D20 > This is about *setting up* a DriverManagerDataSource; I don't see why = =3D > setDriverClassName or the constructor should throw a = DataAccessException =3D > here. Other Spring beans - including DAO support classes - throw =3D > IllegalArgumentException or the like too when they get bad = configuration =3D > parameters on initialization. > =3D20 > As I said, I changed DriverManagerDataSource initialization to throw = =3D > IllegalArgumentException, after Thomas' remark. The kind of unchecked = =3D > exception thrown on initialization is a rather academic issue... In = =3D > particular, if the driver class name isn't right, you can't do = anything =3D > meaningful anyway. > =3D20 > Juergen > =3D20 > > ________________________________ > > Von: spr...@li... im Auftrag = =3D > von Rod Johnson > Gesendet: Sa 28.02.2004 22:33 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > >Good point - changed to IllegalArgumentException. > > >I just didn't want to throw CannotGetJdbcConnectionException like =3D > before; > it arguably wasn't appropriate. In general. the DataSource =3D > implementations > shouldn't use DataAccessExceptions in the first place. > > I disagree. I think that the user should be able to catch > DataAccessException confidently in all cases (which was why I changed = =3D > from > ClassNotFoundException to a DataAccessException). > > I don't have terribly strong views on this as it's not a production = =3D > usage > class anyway--but that also implies it wasn't really worth changing = the > behaviour either... > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Dmitriy K. <dko...@ru...> - 2004-02-28 22:59:53
|
I don't see any implementations of JdbcBeanFactory and ApplicationContext in our code base, even though there is a org.springframework.jdbc.core.support.JdbcBeanDefinitionReader which is a standalone class. Dmitriy. |
|
From: Dmitriy K. <dko...@ru...> - 2004-02-28 22:42:34
|
+1 for JdbcResourceException to be consistent with Spring Exception hiera= rchy=2E=2E=2E Regards=2C Dmitriy=2E ----- Original Message ----- From=3A trisberg=40tridb=2Ecom Date=3A Saturday=2C February 28=2C 2004 5=3A08 pm Subject=3A Re=3A =5BSpringframework-developer=5D DataFieldMaxValueIncreme= nter =3E = =3E It=27s not necessarily a bad argument though - it could just be that = =3E the runtime =3E environment is misconfigured - I think a JdbcResourceException = =3E (see previous =3E email) would be appropriate=2E =3E = =3E Thomas =3E = =3E Quoting =22j=C3=BCrgen h=C3=B6ller =5Bwerk3AT=5D=22 =3Cjuergen=2Ehoel= ler=40werk3at=2Ecom=3E=3A =3E = =3E =3E But the javax=2Esql=2EDataSource interface is plain JDBC=2C typic= ally = =3E to be =3D =3E =3E used by Spring DAOs just like any other DataSource=2E It=27s = =3E getConnection =3D =3E =3E methods throw SQLException=2C according to the DataSource interfa= ce=2E =3E =3E =3D20 =3E =3E This is about *setting up* a DriverManagerDataSource=3B I don=27t= = =3E see why =3D =3E =3E setDriverClassName or the constructor should throw a = =3E DataAccessException =3D =3E =3E here=2E Other Spring beans - including DAO support classes - thro= w =3D =3E =3E IllegalArgumentException or the like too when they get bad = =3E configuration =3D =3E =3E parameters on initialization=2E =3E =3E =3D20 =3E =3E As I said=2C I changed DriverManagerDataSource initialization to = =3E throw =3D =3E =3E IllegalArgumentException=2C after Thomas=27 remark=2E The kind of= = =3E unchecked =3D =3E =3E exception thrown on initialization is a rather academic issue=2E=2E= =2E = =3E In =3D =3E =3E particular=2C if the driver class name isn=27t right=2C you can=27= t do = =3E anything =3D =3E =3E meaningful anyway=2E =3E =3E =3D20 =3E =3E Juergen =3E =3E =3D20 =3E =3E = =3E =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =3E =3E = =3E =3E Von=3A springframework-developer-admin=40lists=2Esourceforge=2Ene= t im = =3E Auftrag =3D =3E =3E von Rod Johnson =3E =3E Gesendet=3A Sa 28=2E02=2E2004 22=3A33 =3E =3E An=3A springframework-developer=40lists=2Esourceforge=2Enet =3E =3E Betreff=3A Re=3A =5BSpringframework-developer=5D = =3E DataFieldMaxValueIncrementer=3E = =3E =3E = =3E =3E = =3E =3E = =3E =3E = =3E =3E = =3E =3E =3EGood point - changed to IllegalArgumentException=2E =3E =3E = =3E =3E =3EI just didn=27t want to throw CannotGetJdbcConnectionException= = =3E like =3D =3E =3E before=3B =3E =3E it arguably wasn=27t appropriate=2E In general=2E the DataSource = =3D =3E =3E implementations =3E =3E shouldn=27t use DataAccessExceptions in the first place=2E =3E =3E = =3E =3E I disagree=2E I think that the user should be able to catch =3E =3E DataAccessException confidently in all cases (which was why I = =3E changed =3D =3E =3E from =3E =3E ClassNotFoundException to a DataAccessException)=2E =3E =3E = =3E =3E I don=27t have terribly strong views on this as it=27s not a = =3E production =3D =3E =3E usage =3E =3E class anyway--but that also implies it wasn=27t really worth = =3E changing the =3E =3E behaviour either=2E=2E=2E =3E =3E = =3E =3E = =3E =3E = =3E =3E = =3E =3E ------------------------------------------------------- =3E =3E SF=2ENet is sponsored by=3A Speed Start Your Linux Apps Now=2E =3E =3E Build and deploy apps =26 Web services for Linux with =3E =3E a free DVD software kit from IBM=2E Click Now! =3E =3E http=3A//ads=2Eosdn=2Ecom/=3Fad=5Fid=3D3D1356=26alloc=5Fid=3D3D34= 38=26op=3D3Dclick =3E =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =3E =3E Springframework-developer mailing list =3E =3E Springframework-developer=40lists=2Esourceforge=2Enet =3E =3E https=3A//lists=2Esourceforge=2Enet/lists/listinfo/springframewor= k- =3E developer=3E = =3E =3E = =3E =3E = =3E =3E = =3E =3E ------------------------------------------------------- =3E =3E SF=2ENet is sponsored by=3A Speed Start Your Linux Apps Now=2E =3E =3E Build and deploy apps =26 Web services for Linux with =3E =3E a free DVD software kit from IBM=2E Click Now! =3E =3E http=3A//ads=2Eosdn=2Ecom/=3Fad=5Fid=3D1356=26alloc=5Fid=3D3438=26= op=3Dclick =3E =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =3E =3E Springframework-developer mailing list =3E =3E Springframework-developer=40lists=2Esourceforge=2Enet =3E =3E https=3A//lists=2Esourceforge=2Enet/lists/listinfo/springframewor= k- =3E developer=3E = =3E = =3E = =3E = =3E = =3E = =3E ------------------------------------------------------- =3E SF=2ENet is sponsored by=3A Speed Start Your Linux Apps Now=2E =3E Build and deploy apps =26 Web services for Linux with =3E a free DVD software kit from IBM=2E Click Now! =3E http=3A//ads=2Eosdn=2Ecom/=3Fad=5Fid=3D1356=26alloc=5Fid=3D3438=26op=3D= click =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =3E Springframework-developer mailing list =3E Springframework-developer=40lists=2Esourceforge=2Enet =3E https=3A//lists=2Esourceforge=2Enet/lists/listinfo/springframework-de= veloper =3E |
|
From: <tri...@tr...> - 2004-02-28 22:19:26
|
It's not necessarily a bad argument though - it could just be that the runtime environment is misconfigured - I think a JdbcResourceException (see previous email) would be appropriate. Thomas Quoting "jürgen höller [werk3AT]" <jue...@we...>: > But the javax.sql.DataSource interface is plain JDBC, typically to be = > used by Spring DAOs just like any other DataSource. It's getConnection = > methods throw SQLException, according to the DataSource interface. > =20 > This is about *setting up* a DriverManagerDataSource; I don't see why = > setDriverClassName or the constructor should throw a DataAccessException = > here. Other Spring beans - including DAO support classes - throw = > IllegalArgumentException or the like too when they get bad configuration = > parameters on initialization. > =20 > As I said, I changed DriverManagerDataSource initialization to throw = > IllegalArgumentException, after Thomas' remark. The kind of unchecked = > exception thrown on initialization is a rather academic issue... In = > particular, if the driver class name isn't right, you can't do anything = > meaningful anyway. > =20 > Juergen > =20 > > ________________________________ > > Von: spr...@li... im Auftrag = > von Rod Johnson > Gesendet: Sa 28.02.2004 22:33 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > >Good point - changed to IllegalArgumentException. > > >I just didn't want to throw CannotGetJdbcConnectionException like = > before; > it arguably wasn't appropriate. In general. the DataSource = > implementations > shouldn't use DataAccessExceptions in the first place. > > I disagree. I think that the user should be able to catch > DataAccessException confidently in all cases (which was why I changed = > from > ClassNotFoundException to a DataAccessException). > > I don't have terribly strong views on this as it's not a production = > usage > class anyway--but that also implies it wasn't really worth changing the > behaviour either... > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <tri...@tr...> - 2004-02-28 22:14:53
|
How about a new JdbcResourceException extending DataAccessResourceFailureException. Btw could we rename the latter to DataAccessResourceException - FailureException sounds like a double negative :-) Thomas Quoting Rod Johnson <rod...@in...>: > > > > >Good point - changed to IllegalArgumentException. > > >I just didn't want to throw CannotGetJdbcConnectionException like before; > it arguably wasn't appropriate. In general. the DataSource implementations > shouldn't use DataAccessExceptions in the first place. > > I disagree. I think that the user should be able to catch > DataAccessException confidently in all cases (which was why I changed from > ClassNotFoundException to a DataAccessException). > > I don't have terribly strong views on this as it's not a production usage > class anyway--but that also implies it wasn't really worth changing the > behaviour either... > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <jue...@we...> - 2004-02-28 22:11:39
|
But the javax.sql.DataSource interface is plain JDBC, typically to be = used by Spring DAOs just like any other DataSource. It's getConnection = methods throw SQLException, according to the DataSource interface. =20 This is about *setting up* a DriverManagerDataSource; I don't see why = setDriverClassName or the constructor should throw a DataAccessException = here. Other Spring beans - including DAO support classes - throw = IllegalArgumentException or the like too when they get bad configuration = parameters on initialization. =20 As I said, I changed DriverManagerDataSource initialization to throw = IllegalArgumentException, after Thomas' remark. The kind of unchecked = exception thrown on initialization is a rather academic issue... In = particular, if the driver class name isn't right, you can't do anything = meaningful anyway. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rod Johnson Gesendet: Sa 28.02.2004 22:33 An: spr...@li... Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer >Good point - changed to IllegalArgumentException. >I just didn't want to throw CannotGetJdbcConnectionException like = before; it arguably wasn't appropriate. In general. the DataSource = implementations shouldn't use DataAccessExceptions in the first place. I disagree. I think that the user should be able to catch DataAccessException confidently in all cases (which was why I changed = from ClassNotFoundException to a DataAccessException). I don't have terribly strong views on this as it's not a production = usage class anyway--but that also implies it wasn't really worth changing the behaviour either... ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <rod...@in...> - 2004-02-28 21:45:08
|
>Good point - changed to IllegalArgumentException. >I just didn't want to throw CannotGetJdbcConnectionException like before; it arguably wasn't appropriate. In general. the DataSource implementations shouldn't use DataAccessExceptions in the first place. I disagree. I think that the user should be able to catch DataAccessException confidently in all cases (which was why I changed from ClassNotFoundException to a DataAccessException). I don't have terribly strong views on this as it's not a production usage class anyway--but that also implies it wasn't really worth changing the behaviour either... |
|
From: <jue...@we...> - 2004-02-28 21:03:34
|
Alef (or someone else that has the PDF doc stuff installed), can you = please update the spring-reference.pdf in CVS, possibly doing a quick = consistency check before? We need an up-to-date version of it for 1.0 = RC2, to be released tomorrow night. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von tri...@tr... Gesendet: Sa 28.02.2004 21:16 An: spr...@li... Betreff: Re: [Springframework-developer] Old Spring docs I have removed most of the references on the website - let me know if I = should remove/ad anything else. At some point we should add some scripts to = generate the whole website from CVS. Thomas Quoting Darren Davison <da...@da...>: > =3D2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Saturday 28 February 2004 16:53, j=3DFCrgen h=3DF6ller [werk3AT] = wrote: > > > BTW, the Velocity integration article is also still available from = our > > website but not in CVS anymore. It seems to be completely merged = into the > > reference docs, so we should probably remove that one from the = website > > too. > > yes, I took it out of CVS on the assumption it would disappear from = the=3D20 > website at some point afterwards. > > > =3D2D --=3D20 > > Darren Davison > Public Key: http://www.davison.uk.net/key.jsp > =3D2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFAQOzaKLMLAN01aw0RAtfJAKCbANpm9d7Bc18B8K2KHunNibe1JgCaAsZJ > JNWfSRLdmGyo+u6XJNO594I=3D3D > =3D3DSPR1 > =3D2D----END PGP SIGNATURE----- > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <tri...@tr...> - 2004-02-28 20:33:40
|
I tested the Oracle and PostgreSQL incrementers - they work fine now. I took out the instance variable "sequenceQuery" since it was only set during afterPropertiesSet - not always called if I create this programatically. I changed it to use getSequenceQuery() directly in the executeQuery() statement instead. I also fixed the SPR-50 issue regarding setNull for a named Array type. For 1.1 we should add support for more complex types like REF and JAVA_OBJECT along with ARRAY - I have not tested and I'm not sure we support all the different oddball types for Oracle in particular. Thomas Quoting "jürgen höller [werk3AT]" <jue...@we...>: > Good point - changed to IllegalArgumentException. I just didn't want to = > throw CannotGetJdbcConnectionException like before; it arguably wasn't = > appropriate. In general. the DataSource implementations shouldn't use = > DataAccessExceptions in the first place. > =20 > Juergen > =20 > > ________________________________ > > Von: spr...@li... im Auftrag = > von tri...@tr... > Gesendet: Sa 28.02.2004 14:06 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > Juergen, > > You broke all my existing tests :-) The DriverManagerDataSource now = > throws a > ClassNotFoundException which is a checked exception. It used to rethrow = > this as > an unchecked exception. I can live with this change, but do we want to = > change > this behavior at this point? > > As for the Incrementers - I'm going totest them today. > > Thomas > > > Quoting "j=FCrgen h=F6ller [werk3AT]" <jue...@we...>: > > > I've committed the revised DataFieldMaxValueIncrementer hierarchy. = > There =3D > > is a new AbstractSequenceMaxValueIncrementer now, with no value cache = > =3D > > anymore. OracleSequenceMaxValueIncrementer and =3D > > PostgreSQLSequenceMaxValueIncrementer are very simple classes of this = > =3D > > new base class. In general, there's significantly less code involved = > =3D > > than before. > > =3D20 > > I've decided to implement AbstractSequenceMaxValueIncrementer based on = > =3D > > plain JDBC, to be able to throw proper sequence-related exceptions. A = > =3D > > queryForLong wouldn't be a particularly useful extension of =3D > > JdbcTemplate, and it would throw DataAccessApiUsageExceptions if no = > row =3D > > found or the like - not appropriate when the user didn't specify the = > =3D > > query in the first place. > > =3D20 > > I've also written unit tests for all incrementers. I just did a live = > =3D > > test of HsqlMaxValueIncrementer; gonna test MySQLMaxValueIncrementer = > =3D > > later today. Dmitriy, Thomas, could you have a look at the revision, = > and =3D > > test OracleSequenceMaxValueIncrementer (and possibly =3D > > PostgreSQLSequenceMaxValueIncrementer). > > =3D20 > > Juergen > > =3D20 > > > > ________________________________ > > > > Von: spr...@li... im Auftrag = > =3D > > von Dmitriy Kopylenko > > Gesendet: Do 26.02.2004 14:33 > > An: spr...@li... > > Betreff: RE: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > > +1 for removing cache from sequence-based incrementers > > > > -----Original Message----- > > From: spr...@li... > > [mailto:spr...@li...] On = > Behalf =3D > > Of > > j=3DFCrgen h=3DF6ller [werk3AT] > > Sent: Thursday, February 26, 2004 2:43 AM > > To: spr...@li...; > > spr...@li... > > Subject: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > Actually, MySQLMaxValueIncrementer does leverage the value cache in a > > meaningful way, and HsqlMaxValueIncrementer at least just issues a =3D > > single > > delete for the entire advance cache. But the sequence-based =3D > > incrementers, > > i.e. OracleSequenceMaxValueIncrementer and the new > > PostgreSQLSequenceMaxValueIncrementer do not benefit from the value = > =3D > > cache at > > all. So I just suggest to remove the value cache from the = > sequence-based > > incrementers. > > > > Juergen > > > > > > ________________________________ > > > > Von: spr...@li... im Auftrag = > =3D > > von > > j=3DFCrgen h=3DF6ller [werk3AT] > > Gesendet: Do 26.02.2004 08:25 > > An: spr...@li... > > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > > I'm done with the simplicication so far - less than half of the code = > =3D > > remains > > ;-) > > > > However, there's still the value cache. I strongly doubt that this is = > a =3D > > good > > idea, particularly with database sequences. Essentially, if the cache = > =3D > > size > > is 10, we're accessing the sequence 10 times in advance instead of =3D > > asking in > > whenever an id is requested. There's the same amount of SQL statements > > involved; what's the benefit here? > > > > The drawback is that we need to synchronize cache access for this. If = > we > > simply went straight to the database sequence for each id, we could = > =3D > > delegate > > concurrency to the database. And I don't know of an O/R mapping tool = > =3D > > that > > does such sequence value caching (please correct me if I'm wrong). All > > things considered, I suggest to drop the value cache completely. > > > > Juergen > > > > > > ________________________________ > > > > Von: spr...@li... im Auftrag = > =3D > > von > > tri...@tr... > > Gesendet: Mi 25.02.2004 23:02 > > An: spr...@li... > > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > > > > > > +1 > > > > I never understood the need for a double as an incrementer anyway. = > =3D > > Simple > > is better. The OracleSequenceMaxValueIncrementer could use some =3D > > refactoring > > too. We don't need a SqlFunction - we should be able to use the new > > queryForXxxx methods on the JDBC Template. Once you check in your =3D > > changes, > > I can take a look at the Oracle one. > > > > Thomas > > > > Quoting "j=3DFCrgen h=3DF6ller [werk3AT]" = > <jue...@we...>: > > > > > I've added PostgreSQLSequenceMaxValueIncrementer today, as attached = > to > > > =3D3D our JIRA. On the occasion, I've reviewed the incrementer =3D3D > > > implementations: They're too complicated for what they achieve, = > =3D3D > > > IMO.Thus, I've dropped the inner class NextMaxValueProviders and = > moved > > > =3D3D the code to the DataFieldMaxValueIncrementer class hierarchy = > =3D > > itself. > > > =3D3D20 I've noticed that AbstractDataFieldMaxValueIncrementer's > > > nextDoubleValue =3D3D effectively returns an integer, like > > > nextIntValue/nextLongValue - after =3D3D all, the template method > > > getNextKey returns a long, so there's no chance =3D3D for a true = > double. > > > Thus, I see no point in keeping the nextDoubleValue =3D3D method in = > the > > > DataFieldMaxValueIncrementer interface; all current =3D3D =3D > > implementations > > > do not return doubles here. =3D3D20 > > > Furthermore, why does getNextKey take a type parameter when it = > returns =3D > > a =3D3D > > > long anyway? Any JDBC driver will let you read both an int and a = > long =3D > > =3D3D > > > via rs.getLong, so there's no point in that type parameter. Simply = > =3D3D > > > reading the value via getLong should be sufficient. > > > =3D3D20 > > > This leaves a very simple DataFieldMaxValueIncrementer interface = > with =3D > > =3D3D > > > nextIntValue, nextLongValue and nextStringValue methods, with =3D3D > > > implementations that achieve their goal in a straightforward = > fashion. =3D > > =3D3D > > > AbstractDataFieldMaxValueIncrementer delegates all three to = > getNextKey =3D > > =3D3D > > > which returns a long, casting the long to an int respectively =3D > > converting =3D3D > > > it to a string with optional padding. > > > =3D3D20 > > > This should still cover all current usages and therefore not break = > =3D3D > > > compatibility, and it should make it as easy as possible to = > implement =3D > > an =3D3D > > > AbstractDataFieldMaxValueIncrementer subclass for a specific = > database. =3D > > =3D3D > > > Thomas, Dmitrity, what do you think? > > > =3D3D20 > > > Juergen > > > =3D3D20 > > > P.S.: > > > Obviously, 1.0 RC2 won't be released tonight but rather at the end = > of =3D > > =3D3D > > > the week. I believe it's worth it, as I'd also like to wait for =3D > > feedback =3D3D > > > on the other recent changes. > > > =3D3D20 > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > > deploy apps & Web services for Linux with a free DVD software kit = > from > > > IBM. Click Now! =3D > > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > > > _______________________________________________ > > > Springframework-developer mailing list > > > Spr...@li... > > > = > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dclick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <tri...@tr...> - 2004-02-28 20:27:52
|
I have removed most of the references on the website - let me know if I should remove/ad anything else. At some point we should add some scripts to generate the whole website from CVS. Thomas Quoting Darren Davison <da...@da...>: > =2D----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Saturday 28 February 2004 16:53, j=FCrgen h=F6ller [werk3AT] wrote: > > > BTW, the Velocity integration article is also still available from our > > website but not in CVS anymore. It seems to be completely merged into the > > reference docs, so we should probably remove that one from the website > > too. > > yes, I took it out of CVS on the assumption it would disappear from the=20 > website at some point afterwards. > > > =2D --=20 > > Darren Davison > Public Key: http://www.davison.uk.net/key.jsp > =2D----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFAQOzaKLMLAN01aw0RAtfJAKCbANpm9d7Bc18B8K2KHunNibe1JgCaAsZJ > JNWfSRLdmGyo+u6XJNO594I=3D > =3DSPR1 > =2D----END PGP SIGNATURE----- > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Darren D. <da...@da...> - 2004-02-28 19:43:59
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 28 February 2004 16:53, j=FCrgen h=F6ller [werk3AT] wrote: > BTW, the Velocity integration article is also still available from our > website but not in CVS anymore. It seems to be completely merged into the > reference docs, so we should probably remove that one from the website > too. yes, I took it out of CVS on the assumption it would disappear from the=20 website at some point afterwards. =2D --=20 Darren Davison Public Key: http://www.davison.uk.net/key.jsp =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAQOzaKLMLAN01aw0RAtfJAKCbANpm9d7Bc18B8K2KHunNibe1JgCaAsZJ JNWfSRLdmGyo+u6XJNO594I=3D =3DSPR1 =2D----END PGP SIGNATURE----- |
|
From: Dmitriy K. <dko...@ru...> - 2004-02-28 18:36:21
|
Hello everyone, I couldn't resist :-) and added the "last minute" new feature to JPetStore which demonstrates few things such as using MailSender, and implementing AfterReturningAdvice. There is now a org.springframework.samples.jpetstore.aspect.SendOrderConfirmationEmailAdvice class which sends confirmation email with the order info to a customer using MailSender helper. This advice is of type MethodAfterReturningAdvice and fires after PetstoreFacade.insertOrder(Order) successfully returns, meaning that the Order has been successfully persisted. Look at applicationContext.xml for bean definitions. Regards, Dmitriy. |
|
From: <jue...@we...> - 2004-02-28 17:03:43
|
Thomas, everybody, =20 Let's remove all of the old Spring docs from the website, in particular = the articles in the "Features" section. They're quite outdated, so I = don't see the point in keeping them: The reference docs and my article = in the Hibernate Wiki are far more comprehensive. I've removed all of = them from CVS too, not including them in the Spring distribution = anymore. =20 BTW, the Velocity integration article is also still available from our = website but not in CVS anymore. It seems to be completely merged into = the reference docs, so we should probably remove that one from the = website too. =20 Juergen |
|
From: <jue...@we...> - 2004-02-28 16:11:22
|
Good point - changed to IllegalArgumentException. I just didn't want to = throw CannotGetJdbcConnectionException like before; it arguably wasn't = appropriate. In general. the DataSource implementations shouldn't use = DataAccessExceptions in the first place. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von tri...@tr... Gesendet: Sa 28.02.2004 14:06 An: spr...@li... Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer Juergen, You broke all my existing tests :-) The DriverManagerDataSource now = throws a ClassNotFoundException which is a checked exception. It used to rethrow = this as an unchecked exception. I can live with this change, but do we want to = change this behavior at this point? As for the Incrementers - I'm going totest them today. Thomas Quoting "j=FCrgen h=F6ller [werk3AT]" <jue...@we...>: > I've committed the revised DataFieldMaxValueIncrementer hierarchy. = There =3D > is a new AbstractSequenceMaxValueIncrementer now, with no value cache = =3D > anymore. OracleSequenceMaxValueIncrementer and =3D > PostgreSQLSequenceMaxValueIncrementer are very simple classes of this = =3D > new base class. In general, there's significantly less code involved = =3D > than before. > =3D20 > I've decided to implement AbstractSequenceMaxValueIncrementer based on = =3D > plain JDBC, to be able to throw proper sequence-related exceptions. A = =3D > queryForLong wouldn't be a particularly useful extension of =3D > JdbcTemplate, and it would throw DataAccessApiUsageExceptions if no = row =3D > found or the like - not appropriate when the user didn't specify the = =3D > query in the first place. > =3D20 > I've also written unit tests for all incrementers. I just did a live = =3D > test of HsqlMaxValueIncrementer; gonna test MySQLMaxValueIncrementer = =3D > later today. Dmitriy, Thomas, could you have a look at the revision, = and =3D > test OracleSequenceMaxValueIncrementer (and possibly =3D > PostgreSQLSequenceMaxValueIncrementer). > =3D20 > Juergen > =3D20 > > ________________________________ > > Von: spr...@li... im Auftrag = =3D > von Dmitriy Kopylenko > Gesendet: Do 26.02.2004 14:33 > An: spr...@li... > Betreff: RE: [Springframework-developer] DataFieldMaxValueIncrementer > > > > +1 for removing cache from sequence-based incrementers > > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On = Behalf =3D > Of > j=3DFCrgen h=3DF6ller [werk3AT] > Sent: Thursday, February 26, 2004 2:43 AM > To: spr...@li...; > spr...@li... > Subject: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > Actually, MySQLMaxValueIncrementer does leverage the value cache in a > meaningful way, and HsqlMaxValueIncrementer at least just issues a =3D > single > delete for the entire advance cache. But the sequence-based =3D > incrementers, > i.e. OracleSequenceMaxValueIncrementer and the new > PostgreSQLSequenceMaxValueIncrementer do not benefit from the value = =3D > cache at > all. So I just suggest to remove the value cache from the = sequence-based > incrementers. > > Juergen > > > ________________________________ > > Von: spr...@li... im Auftrag = =3D > von > j=3DFCrgen h=3DF6ller [werk3AT] > Gesendet: Do 26.02.2004 08:25 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > I'm done with the simplicication so far - less than half of the code = =3D > remains > ;-) > > However, there's still the value cache. I strongly doubt that this is = a =3D > good > idea, particularly with database sequences. Essentially, if the cache = =3D > size > is 10, we're accessing the sequence 10 times in advance instead of =3D > asking in > whenever an id is requested. There's the same amount of SQL statements > involved; what's the benefit here? > > The drawback is that we need to synchronize cache access for this. If = we > simply went straight to the database sequence for each id, we could = =3D > delegate > concurrency to the database. And I don't know of an O/R mapping tool = =3D > that > does such sequence value caching (please correct me if I'm wrong). All > things considered, I suggest to drop the value cache completely. > > Juergen > > > ________________________________ > > Von: spr...@li... im Auftrag = =3D > von > tri...@tr... > Gesendet: Mi 25.02.2004 23:02 > An: spr...@li... > Betreff: Re: [Springframework-developer] DataFieldMaxValueIncrementer > > > > > +1 > > I never understood the need for a double as an incrementer anyway. = =3D > Simple > is better. The OracleSequenceMaxValueIncrementer could use some =3D > refactoring > too. We don't need a SqlFunction - we should be able to use the new > queryForXxxx methods on the JDBC Template. Once you check in your =3D > changes, > I can take a look at the Oracle one. > > Thomas > > Quoting "j=3DFCrgen h=3DF6ller [werk3AT]" = <jue...@we...>: > > > I've added PostgreSQLSequenceMaxValueIncrementer today, as attached = to > > =3D3D our JIRA. On the occasion, I've reviewed the incrementer =3D3D > > implementations: They're too complicated for what they achieve, = =3D3D > > IMO.Thus, I've dropped the inner class NextMaxValueProviders and = moved > > =3D3D the code to the DataFieldMaxValueIncrementer class hierarchy = =3D > itself. > > =3D3D20 I've noticed that AbstractDataFieldMaxValueIncrementer's > > nextDoubleValue =3D3D effectively returns an integer, like > > nextIntValue/nextLongValue - after =3D3D all, the template method > > getNextKey returns a long, so there's no chance =3D3D for a true = double. > > Thus, I see no point in keeping the nextDoubleValue =3D3D method in = the > > DataFieldMaxValueIncrementer interface; all current =3D3D =3D > implementations > > do not return doubles here. =3D3D20 > > Furthermore, why does getNextKey take a type parameter when it = returns =3D > a =3D3D > > long anyway? Any JDBC driver will let you read both an int and a = long =3D > =3D3D > > via rs.getLong, so there's no point in that type parameter. Simply = =3D3D > > reading the value via getLong should be sufficient. > > =3D3D20 > > This leaves a very simple DataFieldMaxValueIncrementer interface = with =3D > =3D3D > > nextIntValue, nextLongValue and nextStringValue methods, with =3D3D > > implementations that achieve their goal in a straightforward = fashion. =3D > =3D3D > > AbstractDataFieldMaxValueIncrementer delegates all three to = getNextKey =3D > =3D3D > > which returns a long, casting the long to an int respectively =3D > converting =3D3D > > it to a string with optional padding. > > =3D3D20 > > This should still cover all current usages and therefore not break = =3D3D > > compatibility, and it should make it as easy as possible to = implement =3D > an =3D3D > > AbstractDataFieldMaxValueIncrementer subclass for a specific = database. =3D > =3D3D > > Thomas, Dmitrity, what do you think? > > =3D3D20 > > Juergen > > =3D3D20 > > P.S.: > > Obviously, 1.0 RC2 won't be released tonight but rather at the end = of =3D > =3D3D > > the week. I believe it's worth it, as I'd also like to wait for =3D > feedback =3D3D > > on the other recent changes. > > =3D3D20 > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > deploy apps & Web services for Linux with a free DVD software kit = from > > IBM. Click Now! =3D > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > = https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D3D1356&alloc_id=3D3D3438&op=3D3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id438&op=3D3Dick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |