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: March, A. <am...@so...> - 2004-08-20 22:11:05
|
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On
Behalf
> Of Colin Sampaleanu
> Sent: Friday, August 20, 2004 2:53 PM
> To: spr...@li...
> Subject: Re: [Springframework-developer] HibernateInterceptor
>=20
> If you use the new mode of the OpenSessionInViewFilter where there are
> multiple sessions, but close is deferred, then in fact there is no
> existing session yet.
Don't know how new session per request is but that is what we use. I
guess I did not realize the session is not started until the tx is. I
am sure I will be reading more of that code soon.
>=20
> If you use the old mode, with just one session, then it's probably not
> the end of the world. The tx sync ensures a flush, and also a callback
> into Hibernate's SessionImplementor.afterTransactionCompletion()
> callback method. With the default flushmode setting, adding back in
the
> HibernateInterceptor to force a flush would not do it, since it would
> find the session already on the thread and would not flush on coming
> back, on that basis. You could force a flush with a FLUSH_EAGER
setting,
> but then if you had multiple wrapped invocaitons, you'd flush on
coming
> back from every one, not just the outer.
>=20
> I may be missing something; Juergen feel free to comment if the above
is
> not accurate.
>=20
> Regards,
> Colin
>=20
>=20
> March, Andres wrote:
>=20
> >How does this apply to OpenSessionInViewFilter though? The session
is
> >always opened before a transaction begins.
> >
> >
> >
> >>-----Original Message-----
> >>From: spr...@li...
> >>[mailto:spr...@li...] On
> >>
> >>
> >Behalf
> >
> >
> >>Of Colin Sampaleanu
> >>Sent: Friday, August 20, 2004 11:11 AM
> >>To: spr...@li...
> >>Subject: [Springframework-developer] HibernateInterceptor
> >>
> >>Juergen,
> >>
> >>If the HibernateInterceptor is currently applied before the
> >>TransactionInterceptor instead of after it, the invoke method still
> >>ensures the SessionHolder is bound to the thread, but no
> >>
> >>
> >synchronization
> >
> >
> >>can be registered of course. In this case, all you get is a logged
> >> logger.debug("Using new session for Hibernate
> >>
> >>
> >interceptor");
> >
> >
> >>Do you think it's perhaps worth being a bit more explicit and
> >>
> >>
> >mentioning
> >
> >
> >>that no transaction currently exists? Most of the time, unless
> >>
> >>
> >somebody
> >
> >
> >>really wants to use HibernateInterceptor to create sessions outside
of
> >>
> >>
> >a
> >
> >
> >>transaction, this will be a config error, and people would be better
> >>
> >>
> >of
> >
> >
> >>changing the ordering so that the session is created after the
> >>transaction, and can be synchronized...
> >>
> >>Colin
> >>
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
Media
> >>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> >>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> >>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> >>_______________________________________________
> >>Springframework-developer mailing list
> >>Spr...@li...
>
>>https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >>
> >>
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Colin S. <col...@ex...> - 2004-08-20 21:54:04
|
If you use the new mode of the OpenSessionInViewFilter where there are
multiple sessions, but close is deferred, then in fact there is no
existing session yet.
If you use the old mode, with just one session, then it's probably not
the end of the world. The tx sync ensures a flush, and also a callback
into Hibernate's SessionImplementor.afterTransactionCompletion()
callback method. With the default flushmode setting, adding back in the
HibernateInterceptor to force a flush would not do it, since it would
find the session already on the thread and would not flush on coming
back, on that basis. You could force a flush with a FLUSH_EAGER setting,
but then if you had multiple wrapped invocaitons, you'd flush on coming
back from every one, not just the outer.
I may be missing something; Juergen feel free to comment if the above is
not accurate.
Regards,
Colin
March, Andres wrote:
>How does this apply to OpenSessionInViewFilter though? The session is
>always opened before a transaction begins.
>
>
>
>>-----Original Message-----
>>From: spr...@li...
>>[mailto:spr...@li...] On
>>
>>
>Behalf
>
>
>>Of Colin Sampaleanu
>>Sent: Friday, August 20, 2004 11:11 AM
>>To: spr...@li...
>>Subject: [Springframework-developer] HibernateInterceptor
>>
>>Juergen,
>>
>>If the HibernateInterceptor is currently applied before the
>>TransactionInterceptor instead of after it, the invoke method still
>>ensures the SessionHolder is bound to the thread, but no
>>
>>
>synchronization
>
>
>>can be registered of course. In this case, all you get is a logged
>> logger.debug("Using new session for Hibernate
>>
>>
>interceptor");
>
>
>>Do you think it's perhaps worth being a bit more explicit and
>>
>>
>mentioning
>
>
>>that no transaction currently exists? Most of the time, unless
>>
>>
>somebody
>
>
>>really wants to use HibernateInterceptor to create sessions outside of
>>
>>
>a
>
>
>>transaction, this will be a config error, and people would be better
>>
>>
>of
>
>
>>changing the ordering so that the session is created after the
>>transaction, and can be synchronized...
>>
>>Colin
>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>>_______________________________________________
>>Springframework-developer mailing list
>>Spr...@li...
>>https://lists.sourceforge.net/lists/listinfo/springframework-developer
>>
>>
|
|
From: <jue...@we...> - 2004-08-20 20:21:10
|
Just changed it - thanks for the suggestion! This also covers reflection =
errors now. (Errors thrown by the target method were already covered by =
the InvocationTargetException before.)
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von Martin Kersten
Gesendet: Fr 20.08.2004 21:57
An: spr...@li...
Betreff: [Springframework-developer] -> HttpInvoker / spring.remote =
suggestion
Hi folks,
Checking the Spring 1.1 RC2 remote code, I have noticed,
that the RemoteInvocationResult class is referring to Exception
rather than Throwable.
Visiting the InvocationTargetException the code reads:
/**
* Get the thrown target exception.
*
* <p>This method predates the general-purpose exception chaining
facility.
* The {@link Throwable#getCause()} method is now the preferred =
means of
* obtaining this information.
*
* @return the thrown target exception (cause of this exception).
*/
public Throwable getTargetException() {
return target;
}
So I guess it would be more consistent to use Throwable instead
of Exception since the Throwable would be more abstract (thus
more flexibile).
Summary:
public class RemoteInvocationResult implements Serializable {
private Object value;
private Exception exception;
should be changed into:
public class RemoteInvocationResult implements Serializable {
private Object value;
private Throwable exception;
Cheers,
Martin (Kersten)
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <jue...@we...> - 2004-08-20 20:19:54
|
Spring 1.1 RC2 already ships Commons Attributes 2.1 final :-) =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Seth Ladd Gesendet: Fr 20.08.2004 21:36 An: spr...@li... Betreff: [Springframework-developer] commons-attributes 2.1 released FYI... http://jakarta.apache.org/commons/attributes/ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Martin K. <Mar...@St...> - 2004-08-20 19:58:19
|
Hi folks,
Checking the Spring 1.1 RC2 remote code, I have noticed,
that the RemoteInvocationResult class is referring to Exception
rather than Throwable.
Visiting the InvocationTargetException the code reads:
/**
* Get the thrown target exception.
*
* <p>This method predates the general-purpose exception chaining
facility.
* The {@link Throwable#getCause()} method is now the preferred means of
* obtaining this information.
*
* @return the thrown target exception (cause of this exception).
*/
public Throwable getTargetException() {
return target;
}
So I guess it would be more consistent to use Throwable instead
of Exception since the Throwable would be more abstract (thus
more flexibile).
Summary:
public class RemoteInvocationResult implements Serializable {
private Object value;
private Exception exception;
should be changed into:
public class RemoteInvocationResult implements Serializable {
private Object value;
private Throwable exception;
Cheers,
Martin (Kersten)
|
|
From: Martin K. <Mar...@St...> - 2004-08-20 19:52:20
|
+1 > +1 > > Rod Johnson wrote: > > >I think this would be valuable functionality. In fact, the Interface21 > >framework did have the notion of "abstract" bean definitions. > > > >It's important of course that such abstract definitions are not returned by > >the enumeration methods on ListableBeanFactory. > > > >I would be very keen to see this in 1.1 final. > > > >-----Original Message----- > >From: spr...@li... > >[mailto:spr...@li...] On Behalf Of > >jürgen höller [werk3AT] > >Sent: 20 August 2004 08:25 > >To: spr...@li... > >Subject: [Springframework-developer] Introduce explicit "abstract" bean > >definition attribute > > > >The following suggestion sounds plausible: > > > >http://opensource.atlassian.com/projects/spring/browse/SPR-269 > > > >Currently, singleton parent bean definitions that are not meant to be > >instantiated directly have to be marked "lazy-init" to avoid eager > >instantiation on application context startup. I guess it would be cleaner do > >introduce an abstract="true"/"false" attribute at the "bean" level, clearly > >indicating that this bean should never be created but just serves as > >template for child bean definitions. > > > >Any objections to adding this for 1.1 final? > > > >Juergen > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk > >Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off > >Retail on Ink & Toner - Free Shipping and Free Gift. > >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > >_______________________________________________ > >Springframework-developer mailing list > >Spr...@li... > >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > >_______________________________________________ > >Springframework-developer mailing list > >Spr...@li... > >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Seth L. <set...@gm...> - 2004-08-20 19:36:14
|
FYI... http://jakarta.apache.org/commons/attributes/ |
|
From: Guillaume P. <gpo...@gl...> - 2004-08-20 19:30:35
|
+1 Colin Sampaleanu wrote: > +1 > > Rod Johnson wrote: > >> I think this would be valuable functionality. In fact, the Interface21 >> framework did have the notion of "abstract" bean definitions. >> >> It's important of course that such abstract definitions are not=20 >> returned by >> the enumeration methods on ListableBeanFactory. >> I would be very keen to see this in 1.1 final. >> >> -----Original Message----- >> From: spr...@li... >> [mailto:spr...@li...] On=20 >> Behalf Of >> j=FCrgen h=F6ller [werk3AT] >> Sent: 20 August 2004 08:25 >> To: spr...@li... >> Subject: [Springframework-developer] Introduce explicit "abstract" bea= n >> definition attribute >> >> The following suggestion sounds plausible: >> >> http://opensource.atlassian.com/projects/spring/browse/SPR-269 >> >> Currently, singleton parent bean definitions that are not meant to be >> instantiated directly have to be marked "lazy-init" to avoid eager >> instantiation on application context startup. I guess it would be=20 >> cleaner do >> introduce an abstract=3D"true"/"false" attribute at the "bean" level,=20 >> clearly >> indicating that this bean should never be created but just serves as >> template for child bean definitions. >> >> Any objections to adding this for 1.1 final? >> >> Juergen >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank=20 >> Media 100pk >> Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% o= ff >> Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> =20 >> > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Colin S. <col...@ex...> - 2004-08-20 18:42:46
|
+1 Rod Johnson wrote: >I think this would be valuable functionality. In fact, the Interface21 >framework did have the notion of "abstract" bean definitions. > >It's important of course that such abstract definitions are not returned by >the enumeration methods on ListableBeanFactory. > >I would be very keen to see this in 1.1 final. > >-----Original Message----- >From: spr...@li... >[mailto:spr...@li...] On Behalf Of >jürgen höller [werk3AT] >Sent: 20 August 2004 08:25 >To: spr...@li... >Subject: [Springframework-developer] Introduce explicit "abstract" bean >definition attribute > >The following suggestion sounds plausible: > >http://opensource.atlassian.com/projects/spring/browse/SPR-269 > >Currently, singleton parent bean definitions that are not meant to be >instantiated directly have to be marked "lazy-init" to avoid eager >instantiation on application context startup. I guess it would be cleaner do >introduce an abstract="true"/"false" attribute at the "bean" level, clearly >indicating that this bean should never be created but just serves as >template for child bean definitions. > >Any objections to adding this for 1.1 final? > >Juergen > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk >Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off >Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: March, A. <am...@so...> - 2004-08-20 18:36:57
|
How does this apply to OpenSessionInViewFilter though? The session is
always opened before a transaction begins.
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On
Behalf
> Of Colin Sampaleanu
> Sent: Friday, August 20, 2004 11:11 AM
> To: spr...@li...
> Subject: [Springframework-developer] HibernateInterceptor
>=20
> Juergen,
>=20
> If the HibernateInterceptor is currently applied before the
> TransactionInterceptor instead of after it, the invoke method still
> ensures the SessionHolder is bound to the thread, but no
synchronization
> can be registered of course. In this case, all you get is a logged
> logger.debug("Using new session for Hibernate
interceptor");
>=20
> Do you think it's perhaps worth being a bit more explicit and
mentioning
> that no transaction currently exists? Most of the time, unless
somebody
> really wants to use HibernateInterceptor to create sessions outside of
a
> transaction, this will be a config error, and people would be better
of
> changing the ordering so that the session is created after the
> transaction, and can be synchronized...
>=20
> Colin
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Colin S. <col...@ex...> - 2004-08-20 18:12:01
|
Juergen,
If the HibernateInterceptor is currently applied before the
TransactionInterceptor instead of after it, the invoke method still
ensures the SessionHolder is bound to the thread, but no synchronization
can be registered of course. In this case, all you get is a logged
logger.debug("Using new session for Hibernate interceptor");
Do you think it's perhaps worth being a bit more explicit and mentioning
that no transaction currently exists? Most of the time, unless somebody
really wants to use HibernateInterceptor to create sessions outside of a
transaction, this will be a config error, and people would be better of
changing the ordering so that the session is created after the
transaction, and can be synchronized...
Colin
|
|
From: Colin S. <col...@ex...> - 2004-08-20 15:44:20
|
Thanks for the feedback. From the research I have done there seem to be a lot of people that have had a pretty good experience moving from phpBB to vBulletin; I wasn't really able to find much in the way of negative experiences. The enhanced admin functionality was actually one reason why a lot of people mentioned switching. For me extra functionality on the admin side is not a big deal, but I am attracted to the built-in ability to do email digests/tracking of entire forums, and the built-in printable view. They are coming in the new phpBB 2.2, but all signs are that that version is 3-6 months away at least, based on they pace they release at. While the new forums are great for people wanting to get an answer to a question, there is a group of people that want to read all the mail and use it as a learning source that would be helped by the enhanced mail handling capabilities. I'll take a look at the fully modded variant, although I'd be a bit worried in using that, in terms of being able to quickly upgrade if there security hotfixes... Colin Pavel Tcholakov wrote: >Please stay away from vBulletin. > >I help maintain a couple of websites, some running vBulletin 3 (and vBPortal, >and PHPGallery), and some running phpBB2. From a user-perspective, the >experience is almost identical between the two forums and vBulletin has been a >nightmare for me from a admin point of view. > >What I did like quite a lot was this: http://www.phpbbfm.net. > >Just my 2c. I'm not against commercial software, but in this case it just >doesn't deliver in my experience. > >Best regards, >Pavel > >On Mon, Aug 16, 2004 at 08:10:24PM -1000, Seth Ladd wrote: > > >>>each forum. Unfortunately while they are in some sort of very long beta, >>>there's no defined time for when this will be stable. We could also just >>>pay $160 or so and move to vBulletin, which while commercial, is pretty >>>cheap, and has enhanced threading and email functionality built-in... >>> >>> >>If there is considerable interest, I'd be happy to fund the purchase >>of vBulletin. But, of course, if a new version of phpBB is coming, we >>can always wait. >> >>seth >> >> > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Pavel T. <pa...@ts...> - 2004-08-20 13:35:38
|
Please stay away from vBulletin. I help maintain a couple of websites, some running vBulletin 3 (and vBPortal, and PHPGallery), and some running phpBB2. From a user-perspective, the experience is almost identical between the two forums and vBulletin has been a nightmare for me from a admin point of view. What I did like quite a lot was this: http://www.phpbbfm.net. Just my 2c. I'm not against commercial software, but in this case it just doesn't deliver in my experience. Best regards, Pavel On Mon, Aug 16, 2004 at 08:10:24PM -1000, Seth Ladd wrote: > > each forum. Unfortunately while they are in some sort of very long beta, > > there's no defined time for when this will be stable. We could also just > > pay $160 or so and move to vBulletin, which while commercial, is pretty > > cheap, and has enhanced threading and email functionality built-in... > > If there is considerable interest, I'd be happy to fund the purchase > of vBulletin. But, of course, if a new version of phpBB is coming, we > can always wait. > > seth |
|
From: Rod J. <ro...@in...> - 2004-08-20 12:31:50
|
I think this would be valuable functionality. In fact, the Interface21 framework did have the notion of "abstract" bean definitions. It's important of course that such abstract definitions are not returned = by the enumeration methods on ListableBeanFactory.=20 I would be very keen to see this in 1.1 final. -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf = Of j=FCrgen h=F6ller [werk3AT] Sent: 20 August 2004 08:25 To: spr...@li... Subject: [Springframework-developer] Introduce explicit "abstract" bean definition attribute The following suggestion sounds plausible: =20 http://opensource.atlassian.com/projects/spring/browse/SPR-269 =20 Currently, singleton parent bean definitions that are not meant to be instantiated directly have to be marked "lazy-init" to avoid eager instantiation on application context startup. I guess it would be = cleaner do introduce an abstract=3D"true"/"false" attribute at the "bean" level, = clearly indicating that this bean should never be created but just serves as template for child bean definitions. =20 Any objections to adding this for 1.1 final? =20 Juergen ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media = 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <ro...@in...> - 2004-08-20 12:27:00
|
Thanks for the information. We would be happy for you to translate more material. I've copied this to the Spring developers list, so the other Spring developers are informed. Rgds Rod -----Original Message----- From: Shinsuke Yoshio [mailto:yo...@ak...] Sent: 20 August 2004 13:09 To: Rod Johnson Cc: jin...@ya...; sns...@ya...; tak...@ya... Subject: Re: Please consent to the the translation of tutorials of Spring Framework Dear Mr. Rod Johnson. This is Shinsuke Yoshio. I greatly appreciate your consent. We translated tutorials into Japanese and opened our site named "Spring Days" , so I let you know our URL. URL:http://www.spring-days.net/ This site has few contents now, but we will enrich this site little by little. So we would like to translate more documents about Spring Framework. I hope you to consent to translate your other materials. When You link to our URL from springframework.org, Please use this banner (see attached file.) I am sorry that connection is overdue. Best regard, Shinsuke Yoshio On Mon, 5 Jul 2004 07:53:15 +0100 "Rod Johnson" <rod...@in...> wrote: > Thanks for your interest in Spring. We'd be happy for you and your > colleagues to translate our material. We'll link to your URLs from > springframework.org when you're done, to help other Japanese readers. > > However, the material at Warfrog was written by Tyler Pitchford, who > is not a member of the Spring team. I'm sure he'd be delighted for you > to translate also, but you will need to contact him directly for permission. > > Rgds > Rod > > ----- Original Message ----- > From: "Shinsuke Yoshio" <yo...@ak...> > To: <rod...@in...> > Cc: "Yusuke Takeuchi" <y-...@ak...>; "Jin Utsugi" > <jin...@us...>; "Jin Utsugi" <jin...@ya...> > Sent: Monday, July 05, 2004 3:12 AM > Subject: Please consent to the the translation of tutorials of Spring > Framework > > > > Dear Mr. Rod Johnson. > > > > My name is Shinsuke Yoshio. I am a Japanese engineer. > > > > Spring Framework, which you developed, now attracts a great deal of > > attention among Japanese engineers as the application framework in > > the next generation. > > > > However there are few documents in Japanese about Spring Framework > > and it is a big obstacle for the engineers to study about it. > > > > Therefore, my fellow engineers;Jin Utsugi and Yusuke Takeuchi, and I > > are thinking of translation of tutorials in the following URL which > > are in the official web site of Spring Framework and opening it in > > our web site to disseminate Spring Framework in Japan more and more. > > I wrote to you to obtain your consent. > > > > > http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-b > y-step > .html > > http://www.warfrog.com/hibernatetutorial/ > > > > If you consent to our idea, I will let you know URL as soon as we > > open the translation. > > > > I would be appreciated if you understand our idea and consent to the > > translation into Japanese. > > > > Thank you for your cooperation in advance. > > > > Best regard, > > > > ---- > > Shinsuke Yoshio > > yo...@ak... > > TIS Inc. Technology Center > > TIS Takeshiba Bldg. 1-14-5, Kaigan, Minatoku, Tokyo 105-8624, JAPAN > > TEL:+81-3-5402-2008 FAX:+81-3-5402-2511 > > ---- Shinsuke Yoshio yo...@ak... TIS Inc. Technology Center TIS Takeshiba Bldg. 1-14-5, Kaigan, Minatoku, Tokyo 105-8624, JAPAN TEL:+81-3-5402-2008 FAX:+81-3-5402-2511 |
|
From: March, A. <am...@so...> - 2004-08-20 07:26:33
|
I would really like to have that. > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On = Behalf > Of j=FCrgen h=F6ller [werk3AT] > Sent: Friday, August 20, 2004 12:25 AM > To: spr...@li... > Subject: [Springframework-developer] Introduce explicit "abstract" = bean > definition attribute >=20 > The following suggestion sounds plausible: >=20 > http://opensource.atlassian.com/projects/spring/browse/SPR-269 >=20 > Currently, singleton parent bean definitions that are not meant to be > instantiated directly have to be marked "lazy-init" to avoid eager > instantiation on application context startup. I guess it would be = cleaner > do introduce an abstract=3D"true"/"false" attribute at the "bean" = level, > clearly indicating that this bean should never be created but just = serves > as template for child bean definitions. >=20 > Any objections to adding this for 1.1 final? >=20 > Juergen >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-08-20 07:21:44
|
The following suggestion sounds plausible: =20 http://opensource.atlassian.com/projects/spring/browse/SPR-269 =20 Currently, singleton parent bean definitions that are not meant to be = instantiated directly have to be marked "lazy-init" to avoid eager = instantiation on application context startup. I guess it would be = cleaner do introduce an abstract=3D"true"/"false" attribute at the = "bean" level, clearly indicating that this bean should never be created = but just serves as template for child bean definitions. =20 Any objections to adding this for 1.1 final? =20 Juergen |
|
From: <al...@jt...> - 2004-08-19 22:31:30
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.83</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/20/2004 00:16:16</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 43 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/19/2004 10:51:52</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>updated for 1.1 RC2</td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(9) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
hoeller</td><td class=3D"modifications-data">/changelog.txt</td><td class=
=3D"modifications-data">updated for 1.1 RC2</td></tr><tr class=3D"modificat=
ions-oddrow"><td class=3D"modifications-data">modified</td><td class=3D"mod=
ifications-data">jhoeller</td><td class=3D"modifications-data">/project.pro=
perties</td><td class=3D"modifications-data">updated for 1.1 RC2</td></tr><=
tr class=3D"modifications-evenrow"><td class=3D"modifications-data">modifie=
d</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modificati=
ons-data">/readme.txt</td><td class=3D"modifications-data">updated for 1.1 =
RC2</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-=
data">modified</td><td class=3D"modifications-data">jhoeller</td><td class=
=3D"modifications-data">/build.xml</td><td class=3D"modifications-data">add=
ed JSF libs to distribution</td></tr><tr class=3D"modifications-evenrow"><t=
d class=3D"modifications-data">modified</td><td class=3D"modifications-data=
">jhoeller</td><td class=3D"modifications-data">docs/spring-reference.pdf</=
td><td class=3D"modifications-data">updated for 1.1 RC2</td></tr><tr class=
=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td><td=
class=3D"modifications-data">jhoeller</td><td class=3D"modifications-data"=
>docs/reference/src/index.xml</td><td class=3D"modifications-data">updated =
for 1.1 RC2</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modif=
ications-data">modified</td><td class=3D"modifications-data">jhoeller</td><=
td class=3D"modifications-data">src/org/springframework/web/servlet/view/ve=
locity/spring.vm</td><td class=3D"modifications-data">merged doBind with bi=
nd, refined naming</td></tr><tr class=3D"modifications-oddrow"><td class=3D=
"modifications-data">modified</td><td class=3D"modifications-data">jhoeller=
</td><td class=3D"modifications-data">src/org/springframework/web/servlet/v=
iew/freemarker/spring.ftl</td><td class=3D"modifications-data">merged doBin=
d with bind, refined naming</td></tr><tr class=3D"modifications-evenrow"><t=
d class=3D"modifications-data">modified</td><td class=3D"modifications-data=
">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframew=
ork/rules/factory/Constraints.java</td><td class=3D"modifications-data">uni=
que property value in collection rule</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Colin S. <col...@ex...> - 2004-08-19 19:48:44
|
This is already an ongoing thread in the support forums. Bringing it
over to the dev list is inappropriate and rude to boot! The dev list is
a place for discussion related to development of Spring itself.
Hemadri Naidu wrote:
>Hi ,
>I am having problem in using declarative transaction in spring framework.
>the methos i included in the transaction is not rolling back eventhough
>there is an exception
>I am using ms access as database
>
>my codes are look like as below
>
>TestSpringDao.java my dao class where i get the exception
>--------------------------------------------------------------------
>
>public String myQuery()throws Exception,DataAccessException {
>String name = "";
>
>try {
>jt = new JdbcTemplate();
>jt.setDataSource(dataSource);
>
>jt.update("update retiredb set name='test12' where Id=1");
>jt.update("insert into spring2 values ('test2','address2')");
>
>}
>catch (DataAccessException e)
>{
>System.out.println("inside exception DataAccessException ------" + e);
>throw e;
>}
>catch (Exception ee) {
>System.out.println("inside exception Exception ------" + ee);
>throw ee;
>
>}
>return name;
>
>my buisiness class from where i am calling the daos perticular method
>----------------------------------------------------------------------------
>---
>
>public boolean CreateRetirementDataObject(RetirementPlanBean rpb)throws
>Exception,DataAccessException {
>
>try {
>ts.myQuery();
>}
>catch (DataAccessException e)
>{
>System.out.println("inside DataAccessException buisiness class ------" + e);
>throw e;
>
>}
>catch (Exception e) {
>System.out.println("inside exception in buisiness class<<<<<"+e);
>throw e;
>
>}
>return true;
>}
>
>and my xml files are look like this
>----------------------------------------
>applicationContext.xml
>
><bean id="testSpring" class="beans.TestSpring">
><property name="dataSource"><ref local="dataSource"/></property>
>
></bean>
>
><bean id="retirementBusinessObject" class="beans.RetirementBusinessObject">
><property name="dataAccessObject"><ref local="testSpring"/></property>
></bean>
>----------------------------------------------------------------------------
>--
>dataAcessContext-local.xml
>
><bean id="transactionManager"
>class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
><property name="dataSource"><ref bean="dataSource"/></property>
></bean>
>
><bean id="senderNewTx"
>class="org.springframework.transaction.interceptor.TransactionProxyFactoryBe
>an">
><property name="transactionManager">
><ref bean="transactionManager"/>
></property>
><property name="target">
><ref bean="retirementBusinessObject"/>
></property>
><property name="transactionAttributes">
><props>
><prop key="*">PROPAGATION_REQUIRED,-DataAccessException,-Exception</prop>
></props>
></property>
></bean>
>
>I am getting the exception in catch block of DataAccessException .
>
>Is there is any problem in setting the target for transaction.
>what should be the target class which is specifying?
>whether It should be the buisiness class from where i am calling the dao
>method?
>
>Thanking you,
>Biju
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
>https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
|
|
From: Hemadri N. <hem...@sl...> - 2004-08-19 18:27:35
|
Hi ,
I am having problem in using declarative transaction in spring framework.
the methos i included in the transaction is not rolling back eventhough
there is an exception
I am using ms access as database
my codes are look like as below
TestSpringDao.java my dao class where i get the exception
--------------------------------------------------------------------
public String myQuery()throws Exception,DataAccessException {
String name = "";
try {
jt = new JdbcTemplate();
jt.setDataSource(dataSource);
jt.update("update retiredb set name='test12' where Id=1");
jt.update("insert into spring2 values ('test2','address2')");
}
catch (DataAccessException e)
{
System.out.println("inside exception DataAccessException ------" + e);
throw e;
}
catch (Exception ee) {
System.out.println("inside exception Exception ------" + ee);
throw ee;
}
return name;
my buisiness class from where i am calling the daos perticular method
----------------------------------------------------------------------------
---
public boolean CreateRetirementDataObject(RetirementPlanBean rpb)throws
Exception,DataAccessException {
try {
ts.myQuery();
}
catch (DataAccessException e)
{
System.out.println("inside DataAccessException buisiness class ------" + e);
throw e;
}
catch (Exception e) {
System.out.println("inside exception in buisiness class<<<<<"+e);
throw e;
}
return true;
}
and my xml files are look like this
----------------------------------------
applicationContext.xml
<bean id="testSpring" class="beans.TestSpring">
<property name="dataSource"><ref local="dataSource"/></property>
</bean>
<bean id="retirementBusinessObject" class="beans.RetirementBusinessObject">
<property name="dataAccessObject"><ref local="testSpring"/></property>
</bean>
----------------------------------------------------------------------------
--
dataAcessContext-local.xml
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource"><ref bean="dataSource"/></property>
</bean>
<bean id="senderNewTx"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBe
an">
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="target">
<ref bean="retirementBusinessObject"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_REQUIRED,-DataAccessException,-Exception</prop>
</props>
</property>
</bean>
I am getting the exception in catch block of DataAccessException .
Is there is any problem in setting the target for transaction.
what should be the target class which is specifying?
whether It should be the buisiness class from where i am calling the dao
method?
Thanking you,
Biju
|
|
From: Alef A. <al...@jt...> - 2004-08-19 15:03:10
|
Yup no problem. I'll do this later today. Alef =20 > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of jez humble > Sent: Thursday, August 19, 2004 3:01 PM > To: spr...@li... > Subject: [Springframework-developer] Documentation for=20 > AbstractWizardFormController >=20 > Hi there everyone. >=20 > First of all, great work on Spring. I've just started using=20 > it and it has made my life a lot easier. >=20 > Having spent a few hours writing a wizard, I have come up=20 > with some documentation for the AbstractWizardFormController=20 > (see below). Would you consider including this in your online=20 > reference manual, in section 12.3.4 (which currently lists=20 > WizardFormController instead of AbstractWizardFormController) ? >=20 > With all best wishes, >=20 > Jez Humble > Director, > Urban Guru Ltd > http://www.urbanguru.net/ >=20 >=20 > How to use Spring's AbstractWizardFormController >=20 > As the class name suggests, this is an abstract class - so=20 > your WizardController should extend it. This means in=20 > particular you have to implement the following abstract=20 > methods: validatePage, processFinish and processCancel. >=20 > You'll also want to write a constructor, which should at the=20 > very least call setPages and setCommandName. setPages takes=20 > as its argument an array of type String. This array is the=20 > list of views which comprise your wizard. setCommandName=20 > takes as its argument a string, which will be used to refer=20 > to your Command object from within your views. >=20 > As with any instance of AbstractFormController, you are=20 > required to use a Command object - a JavaBean which will be=20 > populated with the data from your forms. You can do this in=20 > one of two ways: either call setCommandClass from the=20 > constructor with the class of your command object, or=20 > implement the formBackingObject method. >=20 > AbstractWizardFormController has a number of concrete methods=20 > that you may wish to override. Of these, the ones you are=20 > likely to find most useful are: referenceData which you can=20 > use to pass model data to your view in the form of a Map;=20 > getTargetPage if your wizard needs to change page order or=20 > omit pages dynamically; and onBindAndValidate if you want to=20 > override the built-in binding and validation workflow. >=20 > Finally, it is worth pointing out the setAllowDirtyBack and=20 > setAllowDirtyForward, which you can call from getTargetPage=20 > to allow users to move backwards and forwards in the wizard=20 > even if validation fails for the current page. >=20 > For a full list of methods, see the JavaDoc for=20 > AbstractWizardFormController. There is an implemented example=20 > of this wizard in the jPetStore included in the Spring=20 > distribution:=20 > org.springframework.samples.jpetstore.web.spring.OrderFormCont > roller.java >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic=20 > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free=20 > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 >=20 >=20 |
|
From: Colin S. <col...@ex...> - 2004-08-19 14:14:55
|
I'll do it. It's just a bit of playing with the build script. jürgen höller [werk3AT] wrote: >Any thoughts on such an HTML version of the reference docs? Not for 1.1 RC2, which I'll release tomorrow morning, but for 1.1 final... > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von jürgen höller [werk3AT] >Gesendet: Di 17.08.2004 23:52 >An: spr...@li... >Betreff: Re: [Springframework-developer] Preparing for Spring 1.1 final > > > >Colin, > >Can you have a look at this? We could indeed ship an HTML version of the reference docs too... What do you think? > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von Aleksei Gopachenko >Gesendet: Di 17.08.2004 13:18 >An: spr...@li... >Betreff: Re: [Springframework-developer] Preparing for Spring 1.1 final > > > >On Sat, 14 Aug 2004 21:03:40 +0200, jürgen höller [werk3AT] ><jue...@we...> wrote: > > > >>From my point of view, Spring 1.1 final is ready for release; the only >>remaining point is documentation. >> >> > >Guys, is there any chance that html versions of docs will be included in >binary distribution? >PDF is great, but IMO at least html_single version should go in. > >-- > >//regards, neuro > > |
|
From: jez h. <je...@in...> - 2004-08-19 12:36:53
|
Hi there everyone. First of all, great work on Spring. I've just started using it and it has= made my life a lot easier. Having spent a few hours writing a wizard, I have come up with some docum= entation for the AbstractWizardFormController (see below). Would you cons= ider including this in your online reference manual, in section 12.3.4 (w= hich currently lists WizardFormController instead of AbstractWizardFormCo= ntroller) ? With all best wishes, Jez Humble Director, Urban Guru Ltd http://www.urbanguru.net/ How to use Spring's AbstractWizardFormController As the class name suggests, this is an abstract class - so your WizardCon= troller should extend it. This means in particular you have to implement = the following abstract methods: validatePage, processFinish and processCa= ncel. You'll also want to write a constructor, which should at the very least c= all setPages and setCommandName. setPages takes as its argument an array = of type String. This array is the list of views which comprise your wizar= d. setCommandName takes as its argument a string, which will be used to r= efer to your Command object from within your views. As with any instance of AbstractFormController, you are required to use a= Command object - a JavaBean which will be populated with the data from y= our forms. You can do this in one of two ways: either call setCommandClas= s from the constructor with the class of your command object, or implemen= t the formBackingObject method. AbstractWizardFormController has a number of concrete methods that you ma= y wish to override. Of these, the ones you are likely to find most useful= are: referenceData which you can use to pass model data to your view in = the form of a Map; getTargetPage if your wizard needs to change page orde= r or omit pages dynamically; and onBindAndValidate if you want to overrid= e the built-in binding and validation workflow. Finally, it is worth pointing out the setAllowDirtyBack and setAllowDirty= Forward, which you can call from getTargetPage to allow users to move bac= kwards and forwards in the wizard even if validation fails for the curren= t page. For a full list of methods, see the JavaDoc for AbstractWizardFormControl= ler. There is an implemented example of this wizard in the jPetStore incl= uded in the Spring distribution: org.springframework.samples.jpetstore.we= b.spring.OrderFormController.java |
|
From: <jue...@we...> - 2004-08-19 09:47:08
|
Dear Spring community, =20 I'm pleased to announce that Spring Framework 1.1 Release Candidate 2 is = available. This will be the last release candidate for 1.1; release 1.1 = final can be expected very soon. =20 Among the new features in this release are: * the new HTTP invoker remoting strategy, which uses Java serialization = over HTTP (combining the strengths of RMI and Hessian) * RemoteInvocationFactory and RemoteInvocationExecutor strategies for = HTTP/RMI invoker, for additional invocation context * basic JSF support in the form of a JSF VariableResolver implementation = that is aware of Spring-managed middle tier beans * form simplification macros for Velocity and FreeMarker, providing HTML = input macros etc for easy form building * DispatcherServlet looks for handler adapters, handler mappings, = exception res., view res. in ancestor contexts as well * HibernateTransactionManager and HibernateInterceptor support = per-transaction entity interceptor instances * WebLogicJtaTransactionManager which can resume a WebLogic JTA = transaction even if it was marked rollback-only * MimeMessageHelper provides "addInline" methods for adding inline = elements with content IDs (referenced via "cid:xxx") * Errors interface provides "pushNestedPath"/"popNestedPath" methods, = for convenient handling of temporary nested paths * Spring's Resource objects support a "createRelative" operation, for = resource paths relative to the given one =20 Important changes and bugfixes include: * a constructor argument value without index will now just be considered = once, rather than matched multiple times * introduced BeanDefinitionReader interface and reworked = XmlBeanDefinitionParser SPI (warning: not backwards-compatible) * fixed TransactionAspectSupport's after-returning behavior to always = call commit even if transaction is not new * SchedulerFactoryBean reschedules triggers in case of = "overwriteExistingJobs", to update triggers of persistent jobs * fixed JmsTemplate102's "doSend" implementation to properly work with a = JMS 1.0.2 API jar in the classpath As always, see the changelog for details. =20 I'd like to encourage everybody to give 1.1 RC2 a try: The reason why it = has not been marked 1.1 final yet is simply the further addition of new = features which have not been fully reviewed. =20 Regards, =20 Juergen =20 |
|
From: <al...@jt...> - 2004-08-18 22:31:12
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.82</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/19/2004 00:16:45</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 16 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/18/2004 02:49:49</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>modified chack for bindvariable in query to use JdbcUtils<=
/td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(1) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">t=
risberg</td><td class=3D"modifications-data">src/org/springframework/jdbc/c=
ore/JdbcTemplate.java</td><td class=3D"modifications-data">modified chack f=
or bindvariable in query to use JdbcUtils</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |