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: <jue...@we...> - 2004-06-18 12:00:57
|
Thomas, Rod, everybody, =20 There is an issue regarding DataSourceUtils.closeConnectionIfNecessary = in our JIRA: =20 http://opensource.atlassian.com/projects/spring/browse/SPR-172 =20 This is indeed undesirable. Of course, Connection.close hardly ever = throws an exception, so it's not a big problem. We could still simply = log the exception as an error and proceed, like we do in = JdbcUtils.closeStatement/closeResultSet. =20 What do you think? =20 Juergen |
|
From: Rod J. <rod...@in...> - 2004-06-18 09:39:19
|
+1 ----- Original Message ----- From: "Colin Sampaleanu" <col...@ex...> To: <spr...@li...> Sent: Thursday, June 17, 2004 8:48 PM Subject: Re: [Springframework-developer] Explicit reference to bean in parent context > Sorry, I meant to reply and completely forgot about it. I think this is > a decent idea, and have been unable to think of any nagative > possibilities arising out of it... > > Colin > > j=FCrgen h=F6ller [werk3AT] wrote: > > >Any opinions on this? I've already prototypically implemented it, and = all tests pass. Just waiting whether there are any objections, or different naming proposals :-) > > > >Juergen > > > > > >________________________________ > > > >Von: spr...@li... im Auftrag = von j=FCrgen h=F6ller [werk3AT] > >Gesendet: Di 15.06.2004 23:41 > >An: spr...@li... > >Betreff: [Springframework-developer] Explicit reference to bean in par= ent context > > > > > > > >There is an interesting feature request in our JIRA: > > > >http://opensource.atlassian.com/projects/spring/browse/SPR-166 > > > >Basically, a bean should be able to reference a bean of the same name = in the parent context, for example to proxy it. > > > >Currently, a reference to the same bean name will lead to a self reference. I'm not keen on changing this, as there might be valid use cas= es for such a configuration. > > > >I quite like Damon's suggestion: introduce a "parent" attribute for th= e <ref> tag, as alternative to "bean" and "local". Such a reference explici= ty refers to a bean in the parent context rather than in the current one. > > > >I've already implemented this: was straightforward to do, with RuntimeBeanReference having an optional "toParent" flag now. > > > >As this is fully backward-compatible and a nice (though probably rarel= y used) enhancement, I don't mind including this in 1.0.3. Opinions? > > > >Juergen > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKN= D > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Tim N. <kat...@ho...> - 2004-06-18 06:56:05
|
On attempting a CVS update I'm getting: cvs update: failed to create lock directory for `/cvsroot/springframework/spring/src/org/springframework/orm/jdo/support' (/cvsroot/springframework/spring/src/org/springframework/orm/jdo/support/#cvs.lock): No space left on device cvs update: failed to obtain dir lock in repository `/cvsroot/springframework/spring/src/org/springframework/orm/jdo/support' cvs [update aborted]: read lock failed - giving up This a quota thing or a sitewide problem on Sourceforge CVS? |
|
From: <li...@ic...> - 2004-06-18 03:49:20
|
aGkgKjoNCiAgDQogICBJbiBTcHJpbmcgLEVhY2ggYmVhbiBtdXN0IGJlIGEgY29uY3JldGUgY2xh c3MsaXMgaXQgcmlnaHQ/DQpPdXIgc3lzdGVtIGhhcyBtYW55IGJ1c2luZXNzIGRvbWFpbiBjbGFz c2VzLGFsbCBvZiB0aGVtIGFyZSBpbnRlcmZhY2VzIG9yIGFic3RyYWN0IGNsYXNzZXMsDQpob3cg Y2FuIGkgd3JhcHBlciB0aGVtIHRvIHNwZWNpZmljIGJlYW4gdGhhdCBzcHJpbmcgbmVlZGVkPyB0 aGFuayB5b3UgIQ0KoaGhoQ0KoaGhoaGhoaGhoaGhoaGhoWxpdXhpbg0KbGl1eGluQGljdC5hYy5j bg0KMjAwNC0wNi0xOA0KDQoNCiANCg== |
|
From: James C. <jim...@do...> - 2004-06-17 22:19:38
|
> Any opinions on this? I've already prototypically implemented it, and all > tests pass. Just waiting whether there are any objections, or different > naming proposals :-) > > Juergen I've read before in the docs that Spring offers this parent-child bean contexts. This isn't the same thing as loading multiple contexts like in the servlet examples, correct? I take it these are all siblings? If so, the parent/child type of context implies the feature that one context can override beans declared in a child context, or perhaps the other way around? I think in those cases there may be some obscure reasons why a child may want to access the parent bean it overrides. Possibly because of a delegation type relationship. |
|
From: <al...@jt...> - 2004-06-17 22:17:46
|
<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.28</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>06/18/2004 00:16:34</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 32 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>06/17/2004 18:59:44</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>check for changed property value when caching nested BeanW=
rappers</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: =
(34) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
jhoeller</td><td class=3D"modifications-data">test/org/springframework/vali=
dation/ValidationTestSuite.java</td><td class=3D"modifications-data">check =
for changed property value when caching nested BeanWrappers</td></tr><tr cl=
ass=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td>=
<td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-da=
ta">src/org/springframework/beans/BeanWrapperImpl.java</td><td class=3D"mod=
ifications-data">check for changed property value when caching nested BeanW=
rappers</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modificat=
ions-data">modified</td><td class=3D"modifications-data">jhoeller</td><td c=
lass=3D"modifications-data">src/org/springframework/orm/jdo/JdoAccessor.jav=
a</td><td class=3D"modifications-data">use getPersistenceManagerFactory rat=
her than persistenceManagerFactory property to allow for overriding</td></t=
r><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modif=
ied</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modifica=
tions-data">src/org/springframework/orm/hibernate/HibernateAccessor.java</t=
d><td class=3D"modifications-data">use getSessionFactory rather than sessio=
nFactory property to allow for overriding</td></tr><tr class=3D"modificatio=
ns-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modi=
fications-data">jhoeller</td><td class=3D"modifications-data">test/org/spri=
ngframework/orm/jdo/support/OpenPersistenceManagerInViewTests.java</td><td =
class=3D"modifications-data">derive from HandlerInterceptorAdapter and hold=
PersistenceManagerFactory bean property</td></tr><tr class=3D"modification=
s-oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">jhoeller</td><td class=3D"modifications-data">src/org/springf=
ramework/orm/jdo/support/OpenPersistenceManagerInViewInterceptor.java</td><=
td class=3D"modifications-data">derive from HandlerInterceptorAdapter and h=
old PersistenceManagerFactory bean property</td></tr><tr class=3D"modificat=
ions-evenrow"><td class=3D"modifications-data">added</td><td class=3D"modif=
ications-data">trisberg</td><td class=3D"modifications-data">sandbox/src/or=
g/springframework/jdbc/core/JdbcTemplateExt.java</td><td class=3D"modificat=
ions-data">added queryForRowSet support to the sandbox</td></tr><tr class=
=3D"modifications-oddrow"><td class=3D"modifications-data">added</td><td cl=
ass=3D"modifications-data">trisberg</td><td class=3D"modifications-data">sa=
ndbox/src/org/springframework/jdbc/core/support/SqlRowSet.java</td><td clas=
s=3D"modifications-data">added queryForRowSet support to the sandbox</td></=
tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">add=
ed</td><td class=3D"modifications-data">trisberg</td><td class=3D"modificat=
ions-data">sandbox/src/org/springframework/jdbc/core/support/SqlRowSetImpl.=
java</td><td class=3D"modifications-data">added queryForRowSet support to t=
he sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modific=
ations-data">added</td><td class=3D"modifications-data">trisberg</td><td cl=
ass=3D"modifications-data">sandbox/src/org/springframework/jdbc/core/suppor=
t/SqlRowSetMetaData.java</td><td class=3D"modifications-data">added queryFo=
rRowSet support to the sandbox</td></tr><tr class=3D"modifications-evenrow"=
><td class=3D"modifications-data">added</td><td class=3D"modifications-data=
">trisberg</td><td class=3D"modifications-data">sandbox/src/org/springframe=
work/jdbc/core/support/SqlRowSetMetaDataImpl.java</td><td class=3D"modifica=
tions-data">added queryForRowSet support to the sandbox</td></tr><tr class=
=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td><td=
class=3D"modifications-data">trisberg</td><td class=3D"modifications-data"=
>/.classpath</td><td class=3D"modifications-data">added queryForRowSet supp=
ort to the sandbox</td></tr><tr class=3D"modifications-evenrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">jhoel=
ler</td><td class=3D"modifications-data">test/org/springframework/orm/jdo/s=
upport/JdoDaoSupportTests.java</td><td class=3D"modifications-data">use SQL=
ErrorCodeSQLExceptionTranslator for Hibernate and JDO if possible</td></tr>=
<tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modifie=
d</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modificati=
ons-data">src/org/springframework/orm/jdo/DefaultJdoDialect.java</td><td cl=
ass=3D"modifications-data">use SQLErrorCodeSQLExceptionTranslator for Hiber=
nate and JDO if possible</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">src/org/springframework/orm/jd=
o/JdoAccessor.java</td><td class=3D"modifications-data">use SQLErrorCodeSQL=
ExceptionTranslator for Hibernate and JDO if possible</td></tr><tr class=3D=
"modifications-oddrow"><td class=3D"modifications-data">modified</td><td cl=
ass=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">sr=
c/org/springframework/orm/jdo/JdoTransactionManager.java</td><td class=3D"m=
odifications-data">use SQLErrorCodeSQLExceptionTranslator for Hibernate and=
JDO if possible</td></tr><tr class=3D"modifications-evenrow"><td class=3D"=
modifications-data">modified</td><td class=3D"modifications-data">jhoeller<=
/td><td class=3D"modifications-data">src/org/springframework/orm/jdo/Persis=
tenceManagerFactoryUtils.java</td><td class=3D"modifications-data">use SQLE=
rrorCodeSQLExceptionTranslator for Hibernate and JDO if possible</td></tr><=
tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modified=
</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modificatio=
ns-data">test/org/springframework/orm/hibernate/HibernateTransactionManager=
Tests.java</td><td class=3D"modifications-data">use SQLErrorCodeSQLExceptio=
nTranslator for Hibernate and JDO if possible</td></tr><tr class=3D"modific=
ations-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"=
modifications-data">jhoeller</td><td class=3D"modifications-data">test/org/=
springframework/orm/jdo/JdoTemplateTests.java</td><td class=3D"modification=
s-data">use SQLErrorCodeSQLExceptionTranslator for Hibernate and JDO if pos=
sible</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modification=
s-data">modified</td><td class=3D"modifications-data">jhoeller</td><td clas=
s=3D"modifications-data">test/org/springframework/orm/jdo/JdoTransactionMan=
agerTests.java</td><td class=3D"modifications-data">use SQLErrorCodeSQLExce=
ptionTranslator for Hibernate and JDO if possible</td></tr><tr class=3D"mod=
ifications-evenrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">src/o=
rg/springframework/orm/hibernate/HibernateAccessor.java</td><td class=3D"mo=
difications-data">use SQLErrorCodeSQLExceptionTranslator for Hibernate and =
JDO if possible</td></tr><tr class=3D"modifications-oddrow"><td class=3D"mo=
difications-data">modified</td><td class=3D"modifications-data">jhoeller</t=
d><td class=3D"modifications-data">src/org/springframework/orm/hibernate/Hi=
bernateTransactionManager.java</td><td class=3D"modifications-data">use SQL=
ErrorCodeSQLExceptionTranslator for Hibernate and JDO if possible</td></tr>=
<tr class=3D"modifications-evenrow"><td class=3D"modifications-data">modifi=
ed</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modificat=
ions-data">src/org/springframework/orm/hibernate/SessionFactoryUtils.java</=
td><td class=3D"modifications-data">use SQLErrorCodeSQLExceptionTranslator =
for Hibernate and JDO if possible</td></tr><tr class=3D"modifications-oddro=
w"><td class=3D"modifications-data">modified</td><td class=3D"modifications=
-data">jhoeller</td><td class=3D"modifications-data">/changelog.txt</td><td=
class=3D"modifications-data">use SQLErrorCodeSQLExceptionTranslator for Hi=
bernate and JDO if possible</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">src/org/springframework/orm=
/ibatis/SqlMapTemplate.java</td><td class=3D"modifications-data">polishing<=
/td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data=
">modified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"m=
odifications-data">src/org/springframework/jdbc/support/JdbcAccessor.java</=
td><td class=3D"modifications-data">use getDataSource method instead of acc=
essing dataSource field, to allow for overriding</td></tr><tr class=3D"modi=
fications-evenrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">src/o=
rg/springframework/orm/ibatis/SqlMapClientTemplate.java</td><td class=3D"mo=
difications-data">added overloaded constructor, moved DataSource check to o=
verridden getDataSource method</td></tr><tr class=3D"modifications-oddrow">=
<td class=3D"modifications-data">modified</td><td class=3D"modifications-da=
ta">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springfram=
ework/rules/values/TypeConverter.java</td><td class=3D"modifications-data">=
obsoleted type converter factory in preference to propertyeditorprovider</t=
d></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data"=
>modified</td><td class=3D"modifications-data">kdonald</td><td class=3D"mod=
ifications-data">sandbox/src/org/springframework/rules/values/TypeConverter=
.java</td><td class=3D"modifications-data">obsoleted type converter factory=
in preference to propertyeditorprovider</td></tr><tr class=3D"modification=
s-oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/=
springframework/rules/values/PropertyEditorProvider.java</td><td class=3D"m=
odifications-data">obsoleted type converter factory in preference to proper=
tyeditorprovider</td></tr><tr class=3D"modifications-evenrow"><td class=3D"=
modifications-data">added</td><td class=3D"modifications-data">kdonald</td>=
<td class=3D"modifications-data">sandbox/src/org/springframework/rules/valu=
es/PropertyEditorProvider.java</td><td class=3D"modifications-data">obsolet=
ed type converter factory in preference to propertyeditorprovider</td></tr>=
<tr class=3D"modifications-oddrow"><td class=3D"modifications-data">deleted=
</td><td class=3D"modifications-data">kdonald</td><td class=3D"modification=
s-data">sandbox/src/org/springframework/rules/values/TypeConverterFactory.j=
ava</td><td class=3D"modifications-data">obsoleted type converter factory i=
n preference to propertyeditorprovider</td></tr><tr class=3D"modifications-=
evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modific=
ations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/s=
pringframework/rules/values/ValidatingFormModel.java</td><td class=3D"modif=
ications-data">obsoleted type converter factory in preference to propertyed=
itorprovider</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modif=
ications-data">modified</td><td class=3D"modifications-data">dkopylenko</td=
><td class=3D"modifications-data">docs/reference/src/transaction.xml</td><t=
d class=3D"modifications-data">Corrected misspelling</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-06-17 19:44:13
|
Sorry, I meant to reply and completely forgot about it. I think this is a decent idea, and have been unable to think of any nagative possibilities arising out of it... Colin jürgen höller [werk3AT] wrote: >Any opinions on this? I've already prototypically implemented it, and all tests pass. Just waiting whether there are any objections, or different naming proposals :-) > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von jürgen höller [werk3AT] >Gesendet: Di 15.06.2004 23:41 >An: spr...@li... >Betreff: [Springframework-developer] Explicit reference to bean in parent context > > > >There is an interesting feature request in our JIRA: > >http://opensource.atlassian.com/projects/spring/browse/SPR-166 > >Basically, a bean should be able to reference a bean of the same name in the parent context, for example to proxy it. > >Currently, a reference to the same bean name will lead to a self reference. I'm not keen on changing this, as there might be valid use cases for such a configuration. > >I quite like Damon's suggestion: introduce a "parent" attribute for the <ref> tag, as alternative to "bean" and "local". Such a reference explicity refers to a bean in the parent context rather than in the current one. > >I've already implemented this: was straightforward to do, with RuntimeBeanReference having an optional "toParent" flag now. > >As this is fully backward-compatible and a nice (though probably rarely used) enhancement, I don't mind including this in 1.0.3. Opinions? > >Juergen > > |
|
From: <jue...@we...> - 2004-06-17 19:26:47
|
Any opinions on this? I've already prototypically implemented it, and = all tests pass. Just waiting whether there are any objections, or = different naming proposals :-) =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von j=FCrgen h=F6ller [werk3AT] Gesendet: Di 15.06.2004 23:41 An: spr...@li... Betreff: [Springframework-developer] Explicit reference to bean in = parent context There is an interesting feature request in our JIRA: http://opensource.atlassian.com/projects/spring/browse/SPR-166 Basically, a bean should be able to reference a bean of the same name in = the parent context, for example to proxy it. Currently, a reference to the same bean name will lead to a self = reference. I'm not keen on changing this, as there might be valid use = cases for such a configuration. I quite like Damon's suggestion: introduce a "parent" attribute for the = <ref> tag, as alternative to "bean" and "local". Such a reference = explicity refers to a bean in the parent context rather than in the = current one. I've already implemented this: was straightforward to do, with = RuntimeBeanReference having an optional "toParent" flag now. As this is fully backward-compatible and a nice (though probably rarely = used) enhancement, I don't mind including this in 1.0.3. Opinions? Juergen ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <tho...@tr...> - 2004-06-17 15:29:46
|
We talked about providing something more robust than queryForList. I have
looked at the new RowSet implementation and it looks pretty good. The only
problem is that it thows SqlExceptions.
I have created two new interfaces, one SqlRowSet that wraps a RowSet and
rethrows any SqlException as a DataRetrievalFailureException. The other one is
SqlRowSetMetaData that wraps the RowSetMetaData and it throws
DataAccessResourceFailureException instead of SqlException. I only included
the methods that made sense to me in these interfaces. I also provided
implementations for these interfaces.
Right now these classes are experimental - to be included in 1.1 - need javadocs
and tests and maybe some refinements. At the moment we just create a
CachedRowSet implementation that is provided in the sun RowSet 1.0 download. We
could make this pluggable in the future and support any implementation of a
CachedRowSet. The Sun implementation will be part of Java 1.5, so going
forward we would not even need an extra rowset.jar file.
The drawback with the RowSet implementation is that with Java 1.4, we need an
additional jar file and we also need a JDBC driver that is up to snuff.
Oracle's 10g driver works, but not the 9i drivers. The PostgreSQL driver does
not work, but the Microsoft SQL Server driver is fine. Anybody using
DB2/Sybase? I'll try to test MySQL this weekend.
The queryForRowSet methods are in a JdbcTemplateExt extension class in the
sandbox right now - we should merge then into the current JdbcTemplate when we
move the code out of the sandbox.
This is how to use it:
(RowSet extends ResultSet so everybody should know how to get at the data :-)
JdbcTemplateExt jtx = new JdbcTemplateExt(ds);
SqlRowSet sqlRowSet = jtx.queryForRowSet(sql);
System.out.println("**" + sqlRowSet.getCommand());
while (sqlRowSet.next()) {
System.out.print(" " + sqlRowSet.getString(1));
System.out.print(" | " + sqlRowSet.getInt(2));
System.out.println(" | " + sqlRowSet.getDate("order_date"));
}
Performance is on par with queryForList, if not slightly faster.
Thomas
|
|
From: <jue...@we...> - 2004-06-17 11:21:11
|
I've just refined DefaultJdoDialect to use a Spring = SQLExceptionTranslator for its "translateException" implementation. = That's one more step closer to the sophistication of our Hibernate = support! So if DefaultJdoDialect receives a JDOException that has a SQLException = as cause, the SQLExceptionTranslator will kick in and convert it to an = appropriate subclass of Spring's DataAccessException hierarchy, for = example DataIntegrityViolationException. The actual SQLExceptionTranslator implementation gets determined via the = PersistenceManagerFactory: If the ConnectionFactory there is a JDBC = DataSource, a SQLErrorCodeSQLExceptionTranslator will be used, using = database-specific error code analysis. As a fallback, = SQLStateSQLExceptionTranslator will be used. This works nicely with JPOX, and I assume also with Kodo. The only = requirement is that the SQLException is the immediate cause of the = JDOException that gets thrown. I assume that this applies to most = relational JDO implementations. Note that this behavior is now the default, as JdoTransactionManager and = JdoTemplate will use a properly configured DefaultJdoDialect as default! = Just if the actual JDO implementation does not comply with these = assumptions, a specific subclass with an overridden "translateException" = method is necessary. So once the JDO 2.0 API is available and DefaultJdoDialect is properly = adapted to it (i.e. getJdbcConnection and flush delegate to the = corresponding JDO 2.0 methods), the only remaining reason for a = vendor-specific JdoDialect for a JDO 2.0 product will be special = transaction semantics (isolation level, timeout). ----- BTW, HibernateTransactionManager and HibernateAccessor use a similar = SQLExceptionTranslator determination strategy now: If a DataSource is = available, SQLErrorCodeSQLExceptionTranslator; else, = SQLStateSQLExceptionTranslator. Formerly, they always used the latter if = not explicitly overridden. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of j=FCrgen h=F6ller [werk3AT] Sent: Wednesday, June 16, 2004 12:18 PM To: spr...@li... Subject: [Springframework-developer] Refined JDO support Hi everybody, I've significantly refined Spring's JDO support, to get it closer to the = level of our Hibernate support: * Standard JDOException -> DataAccessException conversion in = PersistenceManagerFactoryUtils is more sophisticated now, properly = detecting JDOObjectNotFoundException, JDOOptimisticVerificationException = and JDODataStoreException. For more sophisticated, = implementation-specific exception translation (for example, detecing = data integrity violation), there's still the need to implement = JdoDialect's "translateException" method. * JdoDialect has a "beginTransaction" method now, passing in a Spring = TransactionDefinition. Implementations can apply the isolation level = and/or transaction timeout before they call javax.jdo.Transaction's = "begin". Spring's JdoTransactionManager delegates to this method; = DefaultJdoDialect does nothing special here, but custom JdoDialect = implementations can override this. (Note that both = HibernateTransactionManager and DataSourceTransactionManager support = isolation levels and timeouts.) * JdoDialect has a "releaseJdbcConnection" method now, for JDO = implementations that expect the JDBC Connection handle that they = returned on "getJdbcConnection" to be explictly released. (If explicit = closing is not necessary, this method can be empty.) Spring's = JdoTransactionManager properly invokes "releaseJdbcConnection" on = transaction cleanup. Note that "getJdbcConnection" returns a = ConnectionHandle, to be passed into "releaseJdbcConnection", which = allows for a wider range of release strategies. * JdoTemplate features a number of convenience methods now, for typical = data access operations (load, save, delete, find). Those methods are = defined in the new JdoOperations interface; this is analagous to = HibernateTemplate and HibernateOperations. The names of the methods = follow JDO naming conventions, to look natural to people that are used = to the PersistenceManager API (and to imply the same semantics). For = more sophisticated querying needs, you still need to implement a = JdoCallback and work with the JDO Query API. * The jdo.support package provides = OpenPersistenceManagerInViewInterceptor (for Spring's web MVC framework) = and OpenPersistenceManagerInViewFilter (Servlet 2.3 Filter) = implementations now, for keeping a PersistenceManager open during the = entire request processing. Spring-managed transactions will simply work = on that thread-bound PersistenceManager. This is particularly useful for = JDO, as the PersistenceManager will always be in a consistent state, = even if exceptions got thrown (in contrast to Hibernate). All of this should work with any (relational) JDO 1.0 implementation. = Please review those refinements and tell me about any gaps or = inconsistencies! ----- Note that a vendor-specific JdoDialect implementation is just necessary = for specific features, namely special transaction semantics, JDBC = Connection exposure by JdoTransactionManager, eager flushing by = JdoTemplate. JdoTemplate's convenience operations and = OpenPersistenceManagerInViewInterceptor/Filter will work nicely with the = default JdoDialect. I've prototypically implemented the JdoDialect interface for JPOX = (http://www.jpox.org), which supports per-transaction isolation levels, = exposing transaction-scoped JDBC Connections, and eager flushing. This = should be straightforward to implement for other JDO vendors. Such = implementations will usually derive from Spring's DefaultJdoDialect and = just override specific methods. JDO 2.0 standardizes some aspects of JdoDialect, namely JDBC Connection = access and eager flushing. I plan to adapt DefaultJdoDialect = accordingly, once a JDO 2.0 API jar is available. Note that there's = still value in providing a special DefaultJdoDialect subclass for each = JDO 2 product, for special transaction semantics and more sophisticated = exception translation. ----- As these changes are straightforward enhancements, they will be part of = Spring 1.0.3 if there's no major obstacle. Unfortunately, the JdoDialect SPI has changed in an incompatible = fashion, but I doubt that this will cause any hassle, as it's more or = less unadvertised at this point of time. And if someone already uses our = JDO support with a custom JdoDialect, it is straightforward to adapt the = JdoDialect implementation to the new SPI. Juergen ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <al...@jt...> - 2004-06-16 22:19:07
|
<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.27</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>06/17/2004 00:16:26</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 32 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>06/16/2004 18:52:37</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>added overloaded constructor with allowCreate parameter</t=
d></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: =
(31) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
jhoeller</td><td class=3D"modifications-data">src/org/springframework/orm/j=
do/JdoTemplate.java</td><td class=3D"modifications-data">added overloaded c=
onstructor with allowCreate parameter</td></tr><tr class=3D"modifications-o=
ddrow"><td class=3D"modifications-data">modified</td><td class=3D"modificat=
ions-data">trisberg</td><td class=3D"modifications-data">src/org/springfram=
ework/jdbc/core/JdbcTemplate.java</td><td class=3D"modifications-data">adde=
d setFetchSize/getFetchSize methods to override the default fetchSize used =
for executeQuery</td></tr><tr class=3D"modifications-evenrow"><td class=3D"=
modifications-data">modified</td><td class=3D"modifications-data">jhoeller<=
/td><td class=3D"modifications-data">src/org/springframework/web/servlet/th=
eme/AbstractThemeResolver.java</td><td class=3D"modifications-data">removed=
unused (and misleading) "makeThemeNameAvailable" method</td></tr><tr class=
=3D"modifications-oddrow"><td class=3D"modifications-data">added</td><td cl=
ass=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">sr=
c/org/springframework/web/servlet/i18n/FixedLocaleResolver.java</td><td cla=
ss=3D"modifications-data">added FixedLocaleResolver implementation</td></tr=
><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">modif=
ied</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modifica=
tions-data">test/org/springframework/beans/factory/config/PropertyResourceC=
onfigurerTests.java</td><td class=3D"modifications-data">detect and parse B=
eanDefinitionHolder too</td></tr><tr class=3D"modifications-oddrow"><td cla=
ss=3D"modifications-data">modified</td><td class=3D"modifications-data">jho=
eller</td><td class=3D"modifications-data">src/org/springframework/beans/fa=
ctory/config/PropertyPlaceholderConfigurer.java</td><td class=3D"modificati=
ons-data">detect and parse BeanDefinitionHolder too</td></tr><tr class=3D"m=
odifications-evenrow"><td class=3D"modifications-data">modified</td><td cla=
ss=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">src=
/org/springframework/web/context/ContextLoaderListener.java</td><td class=
=3D"modifications-data">added getContextLoader() method</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/context/ContextLoaderServlet.java</td><td clas=
s=3D"modifications-data">added getContextLoader() method</td></tr><tr class=
=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td><t=
d class=3D"modifications-data">jhoeller</td><td class=3D"modifications-data=
">src/org/springframework/orm/hibernate/HibernateTemplate.java</td><td clas=
s=3D"modifications-data">added "cacheQueries" property</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"=
>test/org/springframework/orm/hibernate/HibernateTemplateTests.java</td><td=
class=3D"modifications-data">added "cacheQueries" property</td></tr><tr cl=
ass=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td=
><td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-d=
ata">src/org/springframework/orm/hibernate/HibernateTransactionManager.java=
</td><td class=3D"modifications-data">relaxed DataSource check</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">test/org/springframework/orm/jdo/JdoTemplateTests.java</td><td class=
=3D"modifications-data">reworked JdoDialectAdapter into DefaultJdoDialect, =
used by JdoAccessor and JdoTransactionManager as default</td></tr><tr class=
=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td><t=
d class=3D"modifications-data">jhoeller</td><td class=3D"modifications-data=
">test/org/springframework/orm/jdo/JdoTransactionManagerTests.java</td><td =
class=3D"modifications-data">reworked JdoDialectAdapter into DefaultJdoDial=
ect, used by JdoAccessor and JdoTransactionManager as default</td></tr><tr =
class=3D"modifications-oddrow"><td class=3D"modifications-data">deleted</td=
><td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-d=
ata">src/org/springframework/orm/jdo/support/JdoDialectAdapter.java</td><td=
class=3D"modifications-data">reworked JdoDialectAdapter into DefaultJdoDia=
lect, used by JdoAccessor and JdoTransactionManager as default</td></tr><tr=
class=3D"modifications-evenrow"><td class=3D"modifications-data">added</td=
><td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-d=
ata">src/org/springframework/orm/jdo/DefaultJdoDialect.java</td><td class=
=3D"modifications-data">reworked JdoDialectAdapter into DefaultJdoDialect, =
used by JdoAccessor and JdoTransactionManager as default</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/orm/jdo/JdoAccessor.java</td><td class=3D"modifica=
tions-data">reworked JdoDialectAdapter into DefaultJdoDialect, used by JdoA=
ccessor and JdoTransactionManager as default</td></tr><tr class=3D"modifica=
tions-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"m=
odifications-data">jhoeller</td><td class=3D"modifications-data">src/org/sp=
ringframework/orm/jdo/JdoDialect.java</td><td class=3D"modifications-data">=
reworked JdoDialectAdapter into DefaultJdoDialect, used by JdoAccessor and =
JdoTransactionManager as default</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=
/orm/jdo/JdoTransactionManager.java</td><td class=3D"modifications-data">re=
worked JdoDialectAdapter into DefaultJdoDialect, used by JdoAccessor and Jd=
oTransactionManager as default</td></tr><tr class=3D"modifications-evenrow"=
><td class=3D"modifications-data">modified</td><td class=3D"modifications-d=
ata">jhoeller</td><td class=3D"modifications-data">src/org/springframework/=
orm/jdo/JdoTransactionObject.java</td><td class=3D"modifications-data">rewo=
rked JdoDialectAdapter into DefaultJdoDialect, used by JdoAccessor and JdoT=
ransactionManager as default</td></tr><tr class=3D"modifications-oddrow"><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/values/ValidationEvent.java</td><td class=3D"modifications-data">=
copyright</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modific=
ations-data">modified</td><td class=3D"modifications-data">kdonald</td><td =
class=3D"modifications-data">sandbox/src/org/springframework/rules/values/B=
eanPropertyAccessStrategy.java</td><td class=3D"modifications-data">polishi=
ng</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-d=
ata">modified</td><td class=3D"modifications-data">kdonald</td><td class=3D=
"modifications-data">sandbox/src/org/springframework/rules/values/BufferedV=
alueModel.java</td><td class=3D"modifications-data">polishing</td></tr><tr =
class=3D"modifications-evenrow"><td class=3D"modifications-data">added</td>=
<td class=3D"modifications-data">kdonald</td><td class=3D"modifications-dat=
a">sandbox/src/org/springframework/rules/values/TypeConverter.java</td><td =
class=3D"modifications-data">new validation event dto</td></tr><tr class=3D=
"modifications-oddrow"><td class=3D"modifications-data">added</td><td class=
=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandbo=
x/src/org/springframework/rules/values/ValidationEvent.java</td><td class=
=3D"modifications-data">new validation event dto</td></tr><tr class=3D"modi=
fications-evenrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandbo=
x/src/org/springframework/rules/reporting/DefaultMessageTranslator.java</td=
><td class=3D"modifications-data">new validation event dto</td></tr><tr cla=
ss=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td><=
td class=3D"modifications-data">kdonald</td><td class=3D"modifications-data=
">sandbox/src/org/springframework/rules/values/BeanPropertyAccessStrategy.j=
ava</td><td class=3D"modifications-data">new validation event dto</td></tr>=
<tr class=3D"modifications-evenrow"><td class=3D"modifications-data">modifi=
ed</td><td class=3D"modifications-data">kdonald</td><td class=3D"modificati=
ons-data">sandbox/src/org/springframework/rules/values/CompoundFormModel.ja=
va</td><td class=3D"modifications-data">new validation event dto</td></tr><=
tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modified=
</td><td class=3D"modifications-data">kdonald</td><td class=3D"modification=
s-data">sandbox/src/org/springframework/rules/values/DefaultFormModel.java<=
/td><td class=3D"modifications-data">new validation event dto</td></tr><tr =
class=3D"modifications-evenrow"><td class=3D"modifications-data">modified</=
td><td class=3D"modifications-data">kdonald</td><td class=3D"modifications-=
data">sandbox/src/org/springframework/rules/values/FormModel.java</td><td c=
lass=3D"modifications-data">new validation event dto</td></tr><tr class=3D"=
modifications-oddrow"><td class=3D"modifications-data">modified</td><td cla=
ss=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sand=
box/src/org/springframework/rules/values/ValidatingFormModel.java</td><td c=
lass=3D"modifications-data">new validation event dto</td></tr><tr class=3D"=
modifications-evenrow"><td class=3D"modifications-data">modified</td><td cl=
ass=3D"modifications-data">kdonald</td><td class=3D"modifications-data">san=
dbox/src/org/springframework/rules/values/ValidationListener.java</td><td c=
lass=3D"modifications-data">new validation event dto</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: snpe <sn...@sn...> - 2004-06-16 19:56:37
|
perfectly.only I have to write :
<property name=3D"localSessionFactoryBean"><ref bean=3D"&sessionFactory=
"/></property>
Thanks
On Wednesday 16 June 2004 11:16 am, j=FCrgen h=F6ller [werk3AT] wrote:
> Simply expose a bean property of type LocalSessionFactoryBean and define =
a declarative bean reference:
>=20
> <bean id=3D"myDao" class=3D"mypackage.MyDaoImpl">
> <property name=3D"sessionFactory"><ref bean=3D"sessionFactory"/></prope=
rty>
> <property name=3D"localSessionFactoryBean"><ref bean=3D"&sessionFactory=
"/></property>
> </bean>
>=20
> public class MyDaoImpl {
>=20
> public void setSessionFactory(SessionFactory sessionFactory) {
> ...
> }
>=20
> public void setLocalSessionFactoryBean(LocalSessionFactoryBean lsfb) {
> ...
> }
>=20
> ...
> }
>=20
> Juergen
>=20
>=20
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...]On Behalf
> Of snpe
> Sent: Wednesday, June 16, 2004 2:45 PM
> To: spr...@li...
> Subject: Re: [Springframework-developer] Hibernate Configuration and
> SessionFactory
>=20
>=20
> Juergen,
> getBean("&sessionFactory") work fine - I need Configuration for databas=
e properties for instance :
> table name, column name and special column length
> What mean : 'This will also work via a bean reference ' - How use it ?
>=20
> Thanks
> On Wednesday 16 June 2004 07:37 am, j=FCrgen h=F6ller [werk3AT] wrote:
> > HibernateDaoSupport's protected accessors should usually be good enough=
- they allow access in subclasses, which is what you typically want.
> > =20
> > Regarding the Configuration object: You can fetch the LocalSessionFacto=
ryBean itself via getBean("&sessionFactory"),
> > i.e. a prefixed "&" to get the FactoryBean itself rather than the Sessi=
onFactory it creates. This will also work via a bean reference.=20
> > =20
> > The standard HibernateDaoSupport base class shouldn't have a Configurat=
ion property, I believe, as this is hardly ever needed. I suggest to expose=
a separate property of type LocalSessionFactoryBean in your DAO class, pas=
s "&sessionFactory" in, and fetch the Configuration object from there.
> > =20
> > Juergen
> > =20
> >=20
> > ________________________________
> >=20
> > Von: spr...@li... im Auftrag v=
on snpe
> > Gesendet: Mi 16.06.2004 06:58
> > An: spr...@li...
> > Betreff: Re: [Springframework-developer] Hibernate Configuration and Se=
ssionFactory
> >=20
> >=20
> >=20
> > Hi Dmitriy,
> > You are correect - I use spring 1.0.1, but I have current cvs
> > There is public method getConfiguration in LocalSessionFactoryBean, but=
I don't know how I can get instance this class
> >=20
> > I can get hibernate metadata from SessionFactory, but I can't get data=
base metadata (for instance length) without Configuration
> >=20
> > Is it possible export Configuration to HibernateDaoSupport ?
> >=20
> > Is current cvs stable or I have to checkout version 1.0.2 ?
> >=20
> > Thanks
> > On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote:
> > > Haris,
> > >
> > > what version of Spring are you using? As of 1.0.2 the visibility of
> > > HibernateDaoSupport's resource factory accessors has been changed to
> > > *public*.
> > >
> > > I'm not sure about how you would get hold of Configuration instance t=
hough.
> > >
> > > Regards,
> > > Dmitriy.
> > >
> > >
> > > snpe wrote:
> > >
> > > >Hello,
> > > > I want use SessionFactory and Configuration classes for metadata A=
PI (property name type, database name, type, length etc)
> > > >I use spring's HibernateDaoSupport, but getSessionFactory is protect=
ed and I can't use it in my DAO (why ? - I can make method for get SessionF=
actory,
> > > >but I don't know why this is protected/forbiden)
> > > >
> > > >How I get instance classes Configuration and SessionFactory ?
> > > >
> > > >regards
> > > >Haris Peco
> > > >
> > > >
> > > >-------------------------------------------------------
> > > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > > >Conference, June 28 - July 1 at the Moscone Center in San Francisco,=
CA
> > > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMG=
YKND
> > > >_______________________________________________
> > > >Springframework-developer mailing list
> > > >Spr...@li...
> > > >https://lists.sourceforge.net/lists/listinfo/springframework-develop=
er
> > > >=20
> > > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > > Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> > > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGY=
KND
> > > _______________________________________________
> > > Springframework-developer mailing list
> > > Spr...@li...
> > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >
> >=20
> >=20
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >=20
> >=20
> >=20
> >=20
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
|
|
From: <tho...@tr...> - 2004-06-16 16:33:12
|
I have added setFetchSize/getFetchSize methods to JdbcTemplate in order to allow override of the default fetchSize set by the JDBC driver. This is used for executeQuery and can improve query speed dramatically for queries returning a large number of rows. I had a query returning 85000 rows, using Oracle, and by setting fetchSize to 100 I cut the time from 85 seconds to 45 seconds. Not bad for a small change :-) Thomas |
|
From: <jue...@we...> - 2004-06-16 11:16:49
|
Simply expose a bean property of type LocalSessionFactoryBean and define =
a declarative bean reference:
<bean id=3D"myDao" class=3D"mypackage.MyDaoImpl">
<property name=3D"sessionFactory"><ref =
bean=3D"sessionFactory"/></property>
<property name=3D"localSessionFactoryBean"><ref =
bean=3D"&sessionFactory"/></property>
</bean>
public class MyDaoImpl {
public void setSessionFactory(SessionFactory sessionFactory) {
...
}
public void setLocalSessionFactoryBean(LocalSessionFactoryBean lsfb) {
...
}
...
}
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of snpe
Sent: Wednesday, June 16, 2004 2:45 PM
To: spr...@li...
Subject: Re: [Springframework-developer] Hibernate Configuration and
SessionFactory
Juergen,
getBean("&sessionFactory") work fine - I need Configuration for =
database properties for instance :
table name, column name and special column length
What mean : 'This will also work via a bean reference ' - How use it ?
Thanks
On Wednesday 16 June 2004 07:37 am, j=FCrgen h=F6ller [werk3AT] wrote:
> HibernateDaoSupport's protected accessors should usually be good =
enough - they allow access in subclasses, which is what you typically =
want.
> =20
> Regarding the Configuration object: You can fetch the =
LocalSessionFactoryBean itself via getBean("&sessionFactory"),
> i.e. a prefixed "&" to get the FactoryBean itself rather than the =
SessionFactory it creates. This will also work via a bean reference.=20
> =20
> The standard HibernateDaoSupport base class shouldn't have a =
Configuration property, I believe, as this is hardly ever needed. I =
suggest to expose a separate property of type LocalSessionFactoryBean in =
your DAO class, pass "&sessionFactory" in, and fetch the Configuration =
object from there.
> =20
> Juergen
> =20
>=20
> ________________________________
>=20
> Von: spr...@li... im Auftrag =
von snpe
> Gesendet: Mi 16.06.2004 06:58
> An: spr...@li...
> Betreff: Re: [Springframework-developer] Hibernate Configuration and =
SessionFactory
>=20
>=20
>=20
> Hi Dmitriy,
> You are correect - I use spring 1.0.1, but I have current cvs
> There is public method getConfiguration in LocalSessionFactoryBean, =
but I don't know how I can get instance this class
>=20
> I can get hibernate metadata from SessionFactory, but I can't get =
database metadata (for instance length) without Configuration
>=20
> Is it possible export Configuration to HibernateDaoSupport ?
>=20
> Is current cvs stable or I have to checkout version 1.0.2 ?
>=20
> Thanks
> On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote:
> > Haris,
> >
> > what version of Spring are you using? As of 1.0.2 the visibility of
> > HibernateDaoSupport's resource factory accessors has been changed to
> > *public*.
> >
> > I'm not sure about how you would get hold of Configuration instance =
though.
> >
> > Regards,
> > Dmitriy.
> >
> >
> > snpe wrote:
> >
> > >Hello,
> > > I want use SessionFactory and Configuration classes for metadata =
API (property name type, database name, type, length etc)
> > >I use spring's HibernateDaoSupport, but getSessionFactory is =
protected and I can't use it in my DAO (why ? - I can make method for =
get SessionFactory,
> > >but I don't know why this is protected/forbiden)
> > >
> > >How I get instance classes Configuration and SessionFactory ?
> > >
> > >regards
> > >Haris Peco
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java =
Developer
> > >Conference, June 28 - July 1 at the Moscone Center in San =
Francisco, CA
> > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> > >_______________________________________________
> > >Springframework-developer mailing list
> > >Spr...@li...
> > =
>https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >=20
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java =
Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > =
https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: snpe <sn...@sn...> - 2004-06-16 10:32:58
|
Juergen,
getBean("&sessionFactory") work fine - I need Configuration for database =
properties for instance :
table name, column name and special column length
What mean : 'This will also work via a bean reference ' - How use it ?
Thanks
On Wednesday 16 June 2004 07:37 am, j=FCrgen h=F6ller [werk3AT] wrote:
> HibernateDaoSupport's protected accessors should usually be good enough -=
they allow access in subclasses, which is what you typically want.
> =20
> Regarding the Configuration object: You can fetch the LocalSessionFactory=
Bean itself via getBean("&sessionFactory"),
> i.e. a prefixed "&" to get the FactoryBean itself rather than the Session=
=46actory it creates. This will also work via a bean reference.=20
> =20
> The standard HibernateDaoSupport base class shouldn't have a Configuratio=
n property, I believe, as this is hardly ever needed. I suggest to expose a=
separate property of type LocalSessionFactoryBean in your DAO class, pass =
"&sessionFactory" in, and fetch the Configuration object from there.
> =20
> Juergen
> =20
>=20
> ________________________________
>=20
> Von: spr...@li... im Auftrag von=
snpe
> Gesendet: Mi 16.06.2004 06:58
> An: spr...@li...
> Betreff: Re: [Springframework-developer] Hibernate Configuration and Sess=
ionFactory
>=20
>=20
>=20
> Hi Dmitriy,
> You are correect - I use spring 1.0.1, but I have current cvs
> There is public method getConfiguration in LocalSessionFactoryBean, but I=
don't know how I can get instance this class
>=20
> I can get hibernate metadata from SessionFactory, but I can't get databa=
se metadata (for instance length) without Configuration
>=20
> Is it possible export Configuration to HibernateDaoSupport ?
>=20
> Is current cvs stable or I have to checkout version 1.0.2 ?
>=20
> Thanks
> On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote:
> > Haris,
> >
> > what version of Spring are you using? As of 1.0.2 the visibility of
> > HibernateDaoSupport's resource factory accessors has been changed to
> > *public*.
> >
> > I'm not sure about how you would get hold of Configuration instance tho=
ugh.
> >
> > Regards,
> > Dmitriy.
> >
> >
> > snpe wrote:
> >
> > >Hello,
> > > I want use SessionFactory and Configuration classes for metadata API=
(property name type, database name, type, length etc)
> > >I use spring's HibernateDaoSupport, but getSessionFactory is protected=
and I can't use it in my DAO (why ? - I can make method for get SessionFac=
tory,
> > >but I don't know why this is protected/forbiden)
> > >
> > >How I get instance classes Configuration and SessionFactory ?
> > >
> > >regards
> > >Haris Peco
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYK=
ND
> > >_______________________________________________
> > >Springframework-developer mailing list
> > >Spr...@li...
> > >https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >=20
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>=20
|
|
From: <jue...@we...> - 2004-06-16 10:19:59
|
Hi everybody, I've significantly refined Spring's JDO support, to get it closer to the = level of our Hibernate support: * Standard JDOException -> DataAccessException conversion in = PersistenceManagerFactoryUtils is more sophisticated now, properly = detecting JDOObjectNotFoundException, JDOOptimisticVerificationException = and JDODataStoreException. For more sophisticated, = implementation-specific exception translation (for example, detecing = data integrity violation), there's still the need to implement = JdoDialect's "translateException" method. * JdoDialect has a "beginTransaction" method now, passing in a Spring = TransactionDefinition. Implementations can apply the isolation level = and/or transaction timeout before they call javax.jdo.Transaction's = "begin". Spring's JdoTransactionManager delegates to this method; = DefaultJdoDialect does nothing special here, but custom JdoDialect = implementations can override this. (Note that both = HibernateTransactionManager and DataSourceTransactionManager support = isolation levels and timeouts.) * JdoDialect has a "releaseJdbcConnection" method now, for JDO = implementations that expect the JDBC Connection handle that they = returned on "getJdbcConnection" to be explictly released. (If explicit = closing is not necessary, this method can be empty.) Spring's = JdoTransactionManager properly invokes "releaseJdbcConnection" on = transaction cleanup. Note that "getJdbcConnection" returns a = ConnectionHandle, to be passed into "releaseJdbcConnection", which = allows for a wider range of release strategies. * JdoTemplate features a number of convenience methods now, for typical = data access operations (load, save, delete, find). Those methods are = defined in the new JdoOperations interface; this is analagous to = HibernateTemplate and HibernateOperations. The names of the methods = follow JDO naming conventions, to look natural to people that are used = to the PersistenceManager API (and to imply the same semantics). For = more sophisticated querying needs, you still need to implement a = JdoCallback and work with the JDO Query API. * The jdo.support package provides = OpenPersistenceManagerInViewInterceptor (for Spring's web MVC framework) = and OpenPersistenceManagerInViewFilter (Servlet 2.3 Filter) = implementations now, for keeping a PersistenceManager open during the = entire request processing. Spring-managed transactions will simply work = on that thread-bound PersistenceManager. This is particularly useful for = JDO, as the PersistenceManager will always be in a consistent state, = even if exceptions got thrown (in contrast to Hibernate). All of this should work with any (relational) JDO 1.0 implementation. = Please review those refinements and tell me about any gaps or = inconsistencies! ----- Note that a vendor-specific JdoDialect implementation is just necessary = for specific features, namely special transaction semantics, JDBC = Connection exposure by JdoTransactionManager, eager flushing by = JdoTemplate. JdoTemplate's convenience operations and = OpenPersistenceManagerInViewInterceptor/Filter will work nicely with the = default JdoDialect. I've prototypically implemented the JdoDialect interface for JPOX = (http://www.jpox.org), which supports per-transaction isolation levels, = exposing transaction-scoped JDBC Connections, and eager flushing. This = should be straightforward to implement for other JDO vendors. Such = implementations will usually derive from Spring's DefaultJdoDialect and = just override specific methods. JDO 2.0 standardizes some aspects of JdoDialect, namely JDBC Connection = access and eager flushing. I plan to adapt DefaultJdoDialect = accordingly, once a JDO 2.0 API jar is available. Note that there's = still value in providing a special DefaultJdoDialect subclass for each = JDO 2 product, for special transaction semantics and more sophisticated = exception translation. ----- As these changes are straightforward enhancements, they will be part of = Spring 1.0.3 if there's no major obstacle. Unfortunately, the JdoDialect SPI has changed in an incompatible = fashion, but I doubt that this will cause any hassle, as it's more or = less unadvertised at this point of time. And if someone already uses our = JDO support with a custom JdoDialect, it is straightforward to adapt the = JdoDialect implementation to the new SPI. Juergen |
|
From: <jue...@we...> - 2004-06-16 07:42:03
|
HibernateDaoSupport's protected accessors should usually be good enough =
- they allow access in subclasses, which is what you typically want.
=20
Regarding the Configuration object: You can fetch the =
LocalSessionFactoryBean itself via getBean("&sessionFactory"), i.e. a =
prefixed "&" to get the FactoryBean itself rather than the =
SessionFactory it creates. This will also work via a bean reference.
=20
The standard HibernateDaoSupport base class shouldn't have a =
Configuration property, I believe, as this is hardly ever needed. I =
suggest to expose a separate property of type LocalSessionFactoryBean in =
your DAO class, pass "&sessionFactory" in, and fetch the Configuration =
object from there.
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von snpe
Gesendet: Mi 16.06.2004 06:58
An: spr...@li...
Betreff: Re: [Springframework-developer] Hibernate Configuration and =
SessionFactory
Hi Dmitriy,
You are correect - I use spring 1.0.1, but I have current cvs
There is public method getConfiguration in LocalSessionFactoryBean, but =
I don't know how I can get instance this class
I can get hibernate metadata from SessionFactory, but I can't get =
database metadata (for instance length) without Configuration
Is it possible export Configuration to HibernateDaoSupport ?
Is current cvs stable or I have to checkout version 1.0.2 ?
Thanks
On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote:
> Haris,
>
> what version of Spring are you using? As of 1.0.2 the visibility of
> HibernateDaoSupport's resource factory accessors has been changed to
> *public*.
>
> I'm not sure about how you would get hold of Configuration instance =
though.
>
> Regards,
> Dmitriy.
>
>
> snpe wrote:
>
> >Hello,
> > I want use SessionFactory and Configuration classes for metadata =
API (property name type, database name, type, length etc)
> >I use spring's HibernateDaoSupport, but getSessionFactory is =
protected and I can't use it in my DAO (why ? - I can make method for =
get SessionFactory,
> >but I don't know why this is protected/forbiden)
> >
> >How I get instance classes Configuration and SessionFactory ?
> >
> >regards
> >Haris Peco
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> >Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> >_______________________________________________
> >Springframework-developer mailing list
> >Spr...@li...
> =
>https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >=20
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, =
CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code =
NWMGYKND
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: snpe <sn...@sn...> - 2004-06-16 02:46:19
|
Hi Dmitriy, =A0 You are correect - I use spring 1.0.1, but I have current cvs There is public method getConfiguration in LocalSessionFactoryBean, but I d= on't know how I can get instance this class I can get hibernate metadata from SessionFactory, but I can't =A0get databa= se metadata (for instance length) without Configuration Is it possible export Configuration to HibernateDaoSupport ? Is current cvs stable or I have to checkout version 1.0.2 ? Thanks On Wednesday 16 June 2004 03:17 am, Dmitriy Kopylenko wrote: > Haris, >=20 > what version of Spring are you using? As of 1.0.2 the visibility of=20 > HibernateDaoSupport's resource factory accessors has been changed to=20 > *public*. >=20 > I'm not sure about how you would get hold of Configuration instance thoug= h. >=20 > Regards, > Dmitriy. >=20 >=20 > snpe wrote: >=20 > >Hello, > > I want use SessionFactory and Configuration classes for metadata API (= property name type, database name, type, length etc) > >I use spring's HibernateDaoSupport, but getSessionFactory is protected a= nd I can't use it in my DAO (why ? - I can make method for get SessionFacto= ry, > >but I don't know why this is protected/forbiden) > > > >How I get instance classes Configuration and SessionFactory ? > > > >regards > >Haris Peco > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >_______________________________________________ > >Springframework-developer mailing list > >Spr...@li... > >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > =20 > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 |
|
From: Dmitriy K. <dko...@ru...> - 2004-06-16 02:18:39
|
Haris, what version of Spring are you using? As of 1.0.2 the visibility of HibernateDaoSupport's resource factory accessors has been changed to *public*. I'm not sure about how you would get hold of Configuration instance though. Regards, Dmitriy. snpe wrote: >Hello, > I want use SessionFactory and Configuration classes for metadata API (property name type, database name, type, length etc) >I use spring's HibernateDaoSupport, but getSessionFactory is protected and I can't use it in my DAO (why ? - I can make method for get SessionFactory, >but I don't know why this is protected/forbiden) > >How I get instance classes Configuration and SessionFactory ? > >regards >Haris Peco > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: snpe <sn...@sn...> - 2004-06-16 00:22:46
|
Hello, I want use SessionFactory and Configuration classes for metadata API (property name type, database name, type, length etc) I use spring's HibernateDaoSupport, but getSessionFactory is protected and I can't use it in my DAO (why ? - I can make method for get SessionFactory, but I don't know why this is protected/forbiden) How I get instance classes Configuration and SessionFactory ? regards Haris Peco |
|
From: <al...@jt...> - 2004-06-15 22:18:33
|
<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.26</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>06/16/2004 00:16:06</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 30 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>06/15/2004 18:56:53</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>allow dots in keys</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: =
(35) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
jhoeller</td><td class=3D"modifications-data">test/org/springframework/bean=
s/BeanWrapperTestSuite.java</td><td class=3D"modifications-data">allow dots=
in keys</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modificat=
ions-data">modified</td><td class=3D"modifications-data">jhoeller</td><td c=
lass=3D"modifications-data">test/org/springframework/beans/IndexedTestBean.=
java</td><td class=3D"modifications-data">allow dots in keys</td></tr><tr c=
lass=3D"modifications-evenrow"><td class=3D"modifications-data">modified</t=
d><td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-=
data">src/org/springframework/beans/BeanWrapperImpl.java</td><td class=3D"m=
odifications-data">allow dots in keys</td></tr><tr class=3D"modifications-o=
ddrow"><td class=3D"modifications-data">modified</td><td class=3D"modificat=
ions-data">jhoeller</td><td class=3D"modifications-data">src/org/springfram=
ework/beans/PropertyAccessor.java</td><td class=3D"modifications-data">adde=
d char versions of the constants</td></tr><tr class=3D"modifications-evenro=
w"><td class=3D"modifications-data">modified</td><td class=3D"modifications=
-data">jhoeller</td><td class=3D"modifications-data">lib/readme.txt</td><td=
class=3D"modifications-data">updated to Hibernate 2.1.4, EHCache 0.7, Comm=
ons DBCP 1.2.1</td></tr><tr class=3D"modifications-oddrow"><td class=3D"mod=
ifications-data">modified</td><td class=3D"modifications-data">jhoeller</td=
><td class=3D"modifications-data">lib/hibernate/hibernate2.jar</td><td clas=
s=3D"modifications-data">updated to Hibernate 2.1.4</td></tr><tr class=3D"m=
odifications-evenrow"><td class=3D"modifications-data">modified</td><td cla=
ss=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">lib=
/hibernate/ehcache.jar</td><td class=3D"modifications-data">updated to EHCa=
che 0.7</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modificati=
ons-data">modified</td><td class=3D"modifications-data">jhoeller</td><td cl=
ass=3D"modifications-data">lib/jakarta-commons/commons-dbcp.jar</td><td cla=
ss=3D"modifications-data">updated to Commons DBCP 1.2.1</td></tr><tr class=
=3D"modifications-evenrow"><td class=3D"modifications-data">added</td><td c=
lass=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sa=
ndbox/src/org/springframework/rules/AbstractRuleProvider.java</td><td class=
=3D"modifications-data">rules provider interface and helper class, fixed bu=
g in validation results collector</td></tr><tr class=3D"modifications-oddro=
w"><td class=3D"modifications-data">modified</td><td class=3D"modifications=
-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springf=
ramework/rules/predicates/UnaryFunctionResultConstraint.java</td><td class=
=3D"modifications-data">rules provider interface and helper class, fixed bu=
g in validation results collector</td></tr><tr class=3D"modifications-evenr=
ow"><td class=3D"modifications-data">added</td><td class=3D"modifications-d=
ata">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springfra=
mework/rules/RulesProvider.java</td><td class=3D"modifications-data">rules =
provider interface and helper class, fixed bug in validation results collec=
tor</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-=
data">modified</td><td class=3D"modifications-data">kdonald</td><td class=
=3D"modifications-data">sandbox/src/org/springframework/rules/values/BeanPr=
opertyAccessStrategy.java</td><td class=3D"modifications-data">rules provid=
er interface and helper class, fixed bug in validation results collector</t=
d></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data"=
>modified</td><td class=3D"modifications-data">kdonald</td><td class=3D"mod=
ifications-data">sandbox/src/org/springframework/rules/values/ValidatingFor=
mModel.java</td><td class=3D"modifications-data">rules provider interface a=
nd helper class, fixed bug in validation results collector</td></tr><tr cla=
ss=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td><=
td class=3D"modifications-data">kdonald</td><td class=3D"modifications-data=
">sandbox/src/org/springframework/rules/reporting/BeanValidationResultsColl=
ector.java</td><td class=3D"modifications-data">rules provider interface an=
d helper class, fixed bug in validation results collector</td></tr><tr clas=
s=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td><=
td class=3D"modifications-data">kdonald</td><td class=3D"modifications-data=
">sandbox/src/org/springframework/rules/reporting/DefaultMessageTranslator.=
java</td><td class=3D"modifications-data">rules provider interface and help=
er class, fixed bug in validation results collector</td></tr><tr class=3D"m=
odifications-oddrow"><td class=3D"modifications-data">modified</td><td clas=
s=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandb=
ox/src/org/springframework/rules/reporting/ValidationResultsCollector.java<=
/td><td class=3D"modifications-data">rules provider interface and helper cl=
ass, fixed bug in validation results collector</td></tr><tr class=3D"modifi=
cations-evenrow"><td class=3D"modifications-data">modified</td><td class=3D=
"modifications-data">jhoeller</td><td class=3D"modifications-data">src/org/=
springframework/scheduling/quartz/LocalDataSourceJobStore.java</td><td clas=
s=3D"modifications-data">never change autoCommit for managed Connection</td=
></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">m=
odified</td><td class=3D"modifications-data">kdonald</td><td class=3D"modif=
ications-data">sandbox/src/org/springframework/rules/values/AspectAdapter.j=
ava</td><td class=3D"modifications-data">initial support for nested propert=
y accessors, for forms with nested properties</td></tr><tr class=3D"modific=
ations-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"=
modifications-data">kdonald</td><td class=3D"modifications-data">sandbox/sr=
c/org/springframework/rules/values/BufferedValueModel.java</td><td class=3D=
"modifications-data">initial support for nested property accessors, for for=
ms with nested properties</td></tr><tr class=3D"modifications-oddrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">k=
donald</td><td class=3D"modifications-data">sandbox/src/org/springframework=
/rules/values/DefaultFormModel.java</td><td class=3D"modifications-data">in=
itial support for nested property accessors, for forms with nested properti=
es</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-=
data">modified</td><td class=3D"modifications-data">kdonald</td><td class=
=3D"modifications-data">sandbox/src/org/springframework/rules/values/Mutabl=
eAspectAccessStrategy.java</td><td class=3D"modifications-data">initial sup=
port for nested property accessors, for forms with nested properties</td></=
tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modi=
fied</td><td class=3D"modifications-data">kdonald</td><td class=3D"modifica=
tions-data">sandbox/src/org/springframework/rules/values/MutableFormModel.j=
ava</td><td class=3D"modifications-data">initial support for nested propert=
y accessors, for forms with nested properties</td></tr><tr class=3D"modific=
ations-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"=
modifications-data">kdonald</td><td class=3D"modifications-data">sandbox/sr=
c/org/springframework/rules/values/BeanPropertyAccessStrategy.java</td><td =
class=3D"modifications-data">initial support for nested property accessors,=
for forms with nested properties</td></tr><tr class=3D"modifications-oddro=
w"><td class=3D"modifications-data">added</td><td class=3D"modifications-da=
ta">jhoeller</td><td class=3D"modifications-data">test/org/springframework/=
orm/jdo/support/OpenPersistenceManagerInViewTests.java</td><td class=3D"mod=
ifications-data">complete JDO support tests</td></tr><tr class=3D"modificat=
ions-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"mo=
difications-data">jhoeller</td><td class=3D"modifications-data">test/org/sp=
ringframework/orm/jdo/JdoTemplateTests.java</td><td class=3D"modifications-=
data">complete JDO support tests</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">test/org/springframewor=
k/orm/jdo/LocalPersistenceManagerFactoryTests.java</td><td class=3D"modific=
ations-data">complete JDO support tests</td></tr><tr class=3D"modifications=
-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">jhoeller</td><td class=3D"modifications-data">src/org/springf=
ramework/web/servlet/view/AbstractCachingViewResolver.java</td><td class=3D=
"modifications-data">polishing</td></tr><tr class=3D"modifications-oddrow">=
<td class=3D"modifications-data">modified</td><td class=3D"modifications-da=
ta">jhoeller</td><td class=3D"modifications-data">src/org/springframework/b=
eans/factory/support/AbstractBeanFactory.java</td><td class=3D"modification=
s-data">synchronize aliasMap iteration</td></tr><tr class=3D"modifications-=
evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modific=
ations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/s=
pringframework/rules/values/MetaAspectAccessStrategy.java</td><td class=3D"=
modifications-data">removal of obsolete binding code - filecombobrowser box=
is temporarily broken</td></tr><tr class=3D"modifications-oddrow"><td clas=
s=3D"modifications-data">modified</td><td class=3D"modifications-data">kdon=
ald</td><td class=3D"modifications-data">sandbox/src/org/springframework/ru=
les/values/AspectAccessStrategy.java</td><td class=3D"modifications-data">s=
upport for binding combo boxes, check boxes, and text areas. meta aspect i=
nterface.</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modific=
ations-data">modified</td><td class=3D"modifications-data">kdonald</td><td =
class=3D"modifications-data">sandbox/src/org/springframework/rules/values/D=
efaultFormModel.java</td><td class=3D"modifications-data">support for bindi=
ng combo boxes, check boxes, and text areas. meta aspect interface.</td></=
tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">adde=
d</td><td class=3D"modifications-data">kdonald</td><td class=3D"modificatio=
ns-data">sandbox/src/org/springframework/rules/values/MetaAspectAccessStrat=
egy.java</td><td class=3D"modifications-data">support for binding combo box=
es, check boxes, and text areas. meta aspect interface.</td></tr><tr class=
=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td><t=
d class=3D"modifications-data">kdonald</td><td class=3D"modifications-data"=
>sandbox/src/org/springframework/rules/values/MutableFormModel.java</td><td=
class=3D"modifications-data">support for binding combo boxes, check boxes,=
and text areas. meta aspect interface.</td></tr><tr class=3D"modification=
s-oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/=
springframework/rules/values/ValidatingFormModel.java</td><td class=3D"modi=
fications-data">support for binding combo boxes, check boxes, and text area=
s. meta aspect interface.</td></tr><tr class=3D"modifications-evenrow"><td=
class=3D"modifications-data">modified</td><td class=3D"modifications-data"=
>kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewo=
rk/rules/values/BeanPropertyAccessStrategy.java</td><td class=3D"modificati=
ons-data">support for binding combo boxes, check boxes, and text areas. me=
ta aspect interface.</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: <jue...@we...> - 2004-06-15 21:41:56
|
There is an interesting feature request in our JIRA: http://opensource.atlassian.com/projects/spring/browse/SPR-166 Basically, a bean should be able to reference a bean of the same name in = the parent context, for example to proxy it. =20 Currently, a reference to the same bean name will lead to a self = reference. I'm not keen on changing this, as there might be valid use = cases for such a configuration. =20 I quite like Damon's suggestion: introduce a "parent" attribute for the = <ref> tag, as alternative to "bean" and "local". Such a reference = explicity refers to a bean in the parent context rather than in the = current one. =20 I've already implemented this: was straightforward to do, with = RuntimeBeanReference having an optional "toParent" flag now. =20 As this is fully backward-compatible and a nice (though probably rarely = used) enhancement, I don't mind including this in 1.0.3. Opinions? =20 Juergen |
|
From: Darren D. <da...@da...> - 2004-06-15 16:23:13
|
Alef Arendsen wrote: > I've recently added a couple of extra servers and apps to the build (tomcat4 & 5, jetty4 & 5, some of them running apptest and some of them running jpetstore). I had to change a couple of things (default portnumber in the apptest application e.g.) to make it work and this probably causes the problem. looks like a change to the way Resin 3.0.8 expects to be started (not documented but then autobuilds starts Resin in a non-standard fashion anyway due to platform dependencies in the resin code). This is fixed, but now webapps don't appear to be getting deployed even though the logs say they are so the tests on resin3 will still fail. I'll take another look later. -- Darren Davison Public Key: http://www.davison.uk.net/pages/key.htm |
|
From: Darren D. <da...@da...> - 2004-06-15 15:39:01
|
http://www.caucho.com/resin-3.0/features/resin-3.0.8.xtp#Dependency-Injection/Inversion-of-Control :) -- Darren Davison Public Key: http://www.davison.uk.net/pages/key.htm |
|
From: Norris, T. <tys...@be...> - 2004-06-15 12:30:24
|
Hi all -
I asked a while back on the users list about private constructor
support, and would like to propose this change to
BeanUtils.instantiateClass(Class clazz):
Constructor ctor =3D clazz.getDeclaredConstructor(new
Class[]{});
if ((!Modifier.isPublic(ctor.getModifiers())) ||
(!Modifier.isPublic(clazz.getModifiers()))) {
ctor.setAccessible(true);
}
return ctor.newInstance(new Object[]{});
I suppose it would also be good to provide the same support for
BeanUtils.instantiateClass(Constructor constructor, Object[] args).
I would provide a patch, but cannot access CVS at the moment.
Let me know if I can provide any other assistance to promote this change
(should I create a JIRA issue?)
Thanks!
Tyson
|