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: Stefan D S. <ste...@us...> - 2004-07-31 18:20:16
|
Never mind guys, I got it to work. I just had to put the work 'final' in =
the parameter signature.
public void deleteFamily(final FamiliesBO fbo) throws DataAccessException=
{
Thanks for all your help.
OK,
I put 'public' in front of the line and that got rid of the error. i.e.
public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLExcepti=
on
now, the only issue I am having is that I am having an error on the passe=
d in business object (fbo).
The error is: 'Cannot refer to a non-final variable fbo inside an inner c=
lass defined in a different method'
public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws S=
QLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", fbo.getMetho=
dElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", fbo.getMeth=
odElement());
executor.delete("AuthMaint.deleteMthElem", fbo.getMethodEleme=
nt());
executor.executeBatch();
}
});
}
Juergen,
Thank you for the response. I am getting this error trying to implement t=
he code snippit you provided.
At this line I get the error:
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
Error:
Cannot reduce the visibility of the inherited method from SqlMapClientCal=
lback
I am doing this in my DAO in my doUpdate method.
Saturday, July 31, 2004 10:51 AM
To: <spr...@li...>
cc: =
From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
Subject: Re: [Springframework-developer] How to do batch with Spring usin=
g Ibatis
Implement a custom SqlMapClientCallback for this, a la:
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
executor.startBatch();
executor.update(...);
executor.update(...);
executor.executeBatch();
}
});
Generally, a SqlMapClientCallback allows you to call any methods on the p=
assed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template wil=
l automatically convert SQLExceptions to DataAccessExceptions, just like =
it does for the convenience operations defined on the template itself.
Juergen
________________________________
Von: spr...@li... im Auftrag von=
Stefan D Sookraj
Gesendet: Sa 31.07.2004 16:08
An: spr...@li...
Cc: spr...@li...; cli...@ib...
Betreff: [Springframework-developer] How to do batch with Spring using Ib=
atis
How do you invoke the underlying Ibatis API batch methods from Spring? I =
am
using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBatis=
batch API is not exposed. If I use Ibatis API directly, I have to handle
the SQLExceptions. Is this the right way to be able to use the IBatis bat=
ch
API from Spring? Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer=
|
|
From: Dmitriy K. <dko...@ru...> - 2004-07-31 18:20:14
|
Stefan,
declare FamiliesBO argument as final i.e.
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
Regards,
Dmitriy.
Stefan D Sookraj wrote:
> OK,
> I put 'public' in front of the line and that got rid of the error. i.e.
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr = fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m = (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: jürgen höller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operations
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; cli...@ib...
> Betreff: [Springframework-developer] How to do batch with Spring using
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBatis
> batch API is not exposed. If I use Ibatis API directly, I have to handle
> the SQLExceptions. Is this the right way to be able to use the IBatis
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 18:15:55
|
Thomas,
Thanks for the input, actually I just did that and it fixed that proble=
m. I
just sent another reply indicating that a new problem with referring to=
the
passed-in business object. Please assist if you would. Thank you.
make it 'public' like:
public Object doInSqlMapClient(SqlMapExecutor executor) throws
SQLException
Thomas
Stefan D Sookraj wrote:
>
>
>Juergen,
>Thank you for the response. I am getting this error trying to implemen=
t
the
>code snippit you provided.
>
>At this line I get the error:
>Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
>Error:
>Cannot reduce the visibility of the inherited method from
>SqlMapClientCallback
>
>
>I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
>Saturday, July 31, 2004 10:51 AM
>To: <spr...@li...>
>cc:
>From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
>Subject: Re: [Springframework-developer] How to do batch with Spring u=
sing
>Ibatis
>
>
>
>Implement a custom SqlMapClientCallback for this, a la:
>
>getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
>Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {=
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
>});
>
>Generally, a SqlMapClientCallback allows you to call any methods on th=
e
>passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template=
will
>automatically convert SQLExceptions to DataAccessExceptions, just like=
it
>does for the convenience operations defined on the template itself.
>
>Juergen
>
>
>________________________________
>
>Von: spr...@li... im Auftrag =
von
>Stefan D Sookraj
>Gesendet: Sa 31.07.2004 16:08
>An: spr...@li...
>Cc: spr...@li...; clinton.begin@ibatis.c=
om
>Betreff: [Springframework-developer] How to do batch with Spring using=
>Ibatis
>
>
>
>
>
>
>
>How do you invoke the underlying Ibatis API batch methods from Spring?=
I
am
>using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBa=
tis
>batch API is not exposed. If I use Ibatis API directly, I have to hand=
le
>the SQLExceptions. Is this the right way to be able to use the IBatis
batch
>API from Spring? Thank you.
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes o=
n
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,=
>one more big change to announce. We are now OSTG- Open Source Technolo=
gy
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
>https://lists.sourceforge.net/lists/listinfo/springframework-developer=
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes o=
n
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,=
>one more big change to announce. We are now OSTG- Open Source Technolo=
gy
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-develope=
r
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes o=
n
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,=
>one more big change to announce. We are now OSTG- Open Source Technolo=
gy
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
>https://lists.sourceforge.net/lists/listinfo/springframework-developer=
>
>
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on=
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technolog=
y
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer=
=
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 18:13:35
|
OK,
I put 'public' in front of the line and that got rid of the error. i.e.
public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLExcepti=
on
now, the only issue I am having is that I am having an error on the passe=
d in business object (fbo).
The error is: 'Cannot refer to a non-final variable fbo inside an inner c=
lass defined in a different method'
public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws S=
QLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", fbo.getMetho=
dElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", fbo.getMeth=
odElement());
executor.delete("AuthMaint.deleteMthElem", fbo.getMethodEleme=
nt());
executor.executeBatch();
}
});
}
Juergen,
Thank you for the response. I am getting this error trying to implement t=
he code snippit you provided.
At this line I get the error:
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
Error:
Cannot reduce the visibility of the inherited method from SqlMapClientCal=
lback
I am doing this in my DAO in my doUpdate method.
Saturday, July 31, 2004 10:51 AM
To: <spr...@li...>
cc: =
From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
Subject: Re: [Springframework-developer] How to do batch with Spring usin=
g Ibatis
Implement a custom SqlMapClientCallback for this, a la:
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
executor.startBatch();
executor.update(...);
executor.update(...);
executor.executeBatch();
}
});
Generally, a SqlMapClientCallback allows you to call any methods on the p=
assed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template wil=
l automatically convert SQLExceptions to DataAccessExceptions, just like =
it does for the convenience operations defined on the template itself.
Juergen
________________________________
Von: spr...@li... im Auftrag von=
Stefan D Sookraj
Gesendet: Sa 31.07.2004 16:08
An: spr...@li...
Cc: spr...@li...; cli...@ib...
Betreff: [Springframework-developer] How to do batch with Spring using Ib=
atis
How do you invoke the underlying Ibatis API batch methods from Spring? I =
am
using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBatis=
batch API is not exposed. If I use Ibatis API directly, I have to handle
the SQLExceptions. Is this the right way to be able to use the IBatis bat=
ch
API from Spring? Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer=
|
|
From: Thomas R. <tho...@tr...> - 2004-07-31 18:07:44
|
make it 'public' like:
public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
Thomas
Stefan D Sookraj wrote:
>
>
>Juergen,
>Thank you for the response. I am getting this error trying to implement the
>code snippit you provided.
>
>At this line I get the error:
>Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
>Error:
>Cannot reduce the visibility of the inherited method from
>SqlMapClientCallback
>
>
>I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
>Saturday, July 31, 2004 10:51 AM
>To: <spr...@li...>
>cc:
>From: jürgen höller [werk3AT] <jue...@we...>
>Subject: Re: [Springframework-developer] How to do batch with Spring using
>Ibatis
>
>
>
>Implement a custom SqlMapClientCallback for this, a la:
>
>getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
>Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
>});
>
>Generally, a SqlMapClientCallback allows you to call any methods on the
>passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template will
>automatically convert SQLExceptions to DataAccessExceptions, just like it
>does for the convenience operations defined on the template itself.
>
>Juergen
>
>
>________________________________
>
>Von: spr...@li... im Auftrag von
>Stefan D Sookraj
>Gesendet: Sa 31.07.2004 16:08
>An: spr...@li...
>Cc: spr...@li...; cli...@ib...
>Betreff: [Springframework-developer] How to do batch with Spring using
>Ibatis
>
>
>
>
>
>
>
>How do you invoke the underlying Ibatis API batch methods from Spring? I am
>using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBatis
>batch API is not exposed. If I use Ibatis API directly, I have to handle
>the SQLExceptions. Is this the right way to be able to use the IBatis batch
>API from Spring? Thank you.
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes on
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>one more big change to announce. We are now OSTG- Open Source Technology
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
>https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes on
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>one more big change to announce. We are now OSTG- Open Source Technology
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes on
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>one more big change to announce. We are now OSTG- Open Source Technology
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>Springframework-developer mailing list
>Spr...@li...
>https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>
>
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 17:55:06
|
Juergen,
Thank you for the response. I am getting this error trying to implement=
the
code snippit you provided.
At this line I get the error:
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
Error:
Cannot reduce the visibility of the inherited method from
SqlMapClientCallback
I am doing this in my DAO in my doUpdate method.
Saturday, July 31, 2004 10:51 AM
To: <spr...@li...>
cc:
From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
Subject: Re: [Springframework-developer] How to do batch with Spring us=
ing
Ibatis
Implement a custom SqlMapClientCallback for this, a la:
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
executor.startBatch();
executor.update(...);
executor.update(...);
executor.executeBatch();
}
});
Generally, a SqlMapClientCallback allows you to call any methods on the=
passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template =
will
automatically convert SQLExceptions to DataAccessExceptions, just like =
it
does for the convenience operations defined on the template itself.
Juergen
________________________________
Von: spr...@li... im Auftrag v=
on
Stefan D Sookraj
Gesendet: Sa 31.07.2004 16:08
An: spr...@li...
Cc: spr...@li...; cli...@ib...=
m
Betreff: [Springframework-developer] How to do batch with Spring using
Ibatis
How do you invoke the underlying Ibatis API batch methods from Spring? =
I am
using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBat=
is
batch API is not exposed. If I use Ibatis API directly, I have to handl=
e
the SQLExceptions. Is this the right way to be able to use the IBatis b=
atch
API from Spring? Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on=
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technolog=
y
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on=
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technolog=
y
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer=
=
|
|
From: Mark P. <Mar...@Co...> - 2004-07-31 15:03:30
|
Hi, OK, this is such a strange thing. I'm upgrading eclipse/tortoise to the latest versions... I'll let ya know how it goes. I doubt it is emacs which I use to edit the docs... - Mark > Mark, > > I've stripped the extra CR from the CRCRLF at the end of each line in > the JMS docs. You might want to pull out that doc and see how it comes > into your system, try making a change, and see how it goes back in (i.e. > whether it adds the extra CR for you again). > > Colin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <jue...@we...> - 2004-07-31 14:48:35
|
Implement a custom SqlMapClientCallback for this, a la:
=20
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
executor.startBatch();
executor.update(...);
executor.update(...);
executor.executeBatch();
}
});
=20
Generally, a SqlMapClientCallback allows you to call any methods on the =
passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The template =
will automatically convert SQLExceptions to DataAccessExceptions, just =
like it does for the convenience operations defined on the template =
itself.
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von Stefan D Sookraj
Gesendet: Sa 31.07.2004 16:08
An: spr...@li...
Cc: spr...@li...; cli...@ib...
Betreff: [Springframework-developer] How to do batch with Spring using =
Ibatis
How do you invoke the underlying Ibatis API batch methods from Spring? I =
am
using org.springframework.orm.ibatis.SqlMapClientTemplate, but the =
iBatis
batch API is not exposed. If I use Ibatis API directly, I have to handle
the SQLExceptions. Is this the right way to be able to use the IBatis =
batch
API from Spring? Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Rob H. <ro...@ca...> - 2004-07-31 14:36:07
|
I think that would be a good idea, be a bit more explicit. Colin Sampaleanu wrote: > Colin Sampaleanu wrote: > >> Rob Harrop wrote: >> >>> Reading through the 1.1 docs it says that a parent bean can never >>> be accessed directly in an app either through <ref> or getBean() yet >>> I was able to do both. Is this an error in the doc or the code? >>> >>> Rob >> >> >> >> This is prefaced with the text 'In the case that the parent >> definition does not specify a class' before the sample... >> >> If it has a class, it's usable as its own bean, and in fact you need >> to make it lazy-init=true or singleton=true to stop the factory from >> pre-instantiating it. I need to update the docs to specifically >> mention that. > > > We could consider an 'abstract' attribute actually, to stop a bean > from ever being instantiated... > > Colin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Rob H. <ro...@ca...> - 2004-07-31 14:35:36
|
Damn, I should read more carefully. Colin Sampaleanu wrote: > Rob Harrop wrote: > >> Reading through the 1.1 docs it says that a parent bean can never >> be accessed directly in an app either through <ref> or getBean() yet >> I was able to do both. Is this an error in the doc or the code? >> >> Rob > > > This is prefaced with the text 'In the case that the parent definition > does not specify a class' before the sample... > > If it has a class, it's usable as its own bean, and in fact you need > to make it lazy-init=true or singleton=true to stop the factory from > pre-instantiating it. I need to update the docs to specifically > mention that. > > Colin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Colin S. <col...@ex...> - 2004-07-31 14:26:01
|
Colin Sampaleanu wrote: > Colin Sampaleanu wrote: > >> Rob Harrop wrote: >> >>> Reading through the 1.1 docs it says that a parent bean can never >>> be accessed directly in an app either through <ref> or getBean() yet >>> I was able to do both. Is this an error in the doc or the code? >>> >>> Rob >> >> >> >> This is prefaced with the text 'In the case that the parent >> definition does not specify a class' before the sample... >> >> If it has a class, it's usable as its own bean, and in fact you need >> to make it lazy-init=true or singleton=true to stop the factory from >> pre-instantiating it. I need to update the docs to specifically >> mention that. > > > We could consider an 'abstract' attribute actually, to stop a bean > from ever being instantiated... I've clarified the text a bit in the manual: """ In the case that the parent definition does not specify a class: ... a sample here with no class set the parent bean can not get instantiated on its own; it's just a pure template or abstract bean definition that serves as parent definition for children. Trying to use such parent beans on it's own (by referring to it as a ref property of another bean, or doing an explicit getBean() call with the parent bean id, will result in an error. Similarly, the container's internal /preInstantiateSingletons/ method will completely ignore bean definitions which don't have either a parent or class attribute set, since they are not complete. /Important Note/: there is no way to explicitly declare a bean definition as abstract. As described above, if the definition does not have a class specified, then it is effectively be considered abstract, will not be pre-instantiated, and can not be instantiated at all (by the user). If the bean does have a class definition, then it can be instantiated. As well, XmlBeanFactory will by default pre-instantiate all singletons; so it is important that if you have a (parent) bean definition to be used only as a template, which specifies its class, and do not want the container to pre-instantiate it, you must make sure to set the /lazy-init/ attribute to /true/. """ Colin |
|
From: Colin S. <col...@ex...> - 2004-07-31 14:14:49
|
Mark, I've stripped the extra CR from the CRCRLF at the end of each line in the JMS docs. You might want to pull out that doc and see how it comes into your system, try making a change, and see how it goes back in (i.e. whether it adds the extra CR for you again). Colin |
|
From: Stefan D S. <ste...@us...> - 2004-07-31 14:08:51
|
How do you invoke the underlying Ibatis API batch methods from Spring? I am using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBatis batch API is not exposed. If I use Ibatis API directly, I have to handle the SQLExceptions. Is this the right way to be able to use the IBatis batch API from Spring? Thank you. |
|
From: Colin S. <col...@ex...> - 2004-07-31 12:58:57
|
Colin Sampaleanu wrote: > Rob Harrop wrote: > >> Reading through the 1.1 docs it says that a parent bean can never >> be accessed directly in an app either through <ref> or getBean() yet >> I was able to do both. Is this an error in the doc or the code? >> >> Rob > > > This is prefaced with the text 'In the case that the parent definition > does not specify a class' before the sample... > > If it has a class, it's usable as its own bean, and in fact you need > to make it lazy-init=true or singleton=true to stop the factory from > pre-instantiating it. I need to update the docs to specifically > mention that. We could consider an 'abstract' attribute actually, to stop a bean from ever being instantiated... Colin |
|
From: Colin S. <col...@ex...> - 2004-07-31 12:58:02
|
Rob Harrop wrote: > Reading through the 1.1 docs it says that a parent bean can never > be accessed directly in an app either through <ref> or getBean() yet I > was able to do both. Is this an error in the doc or the code? > > Rob This is prefaced with the text 'In the case that the parent definition does not specify a class' before the sample... If it has a class, it's usable as its own bean, and in fact you need to make it lazy-init=true or singleton=true to stop the factory from pre-instantiating it. I need to update the docs to specifically mention that. Colin |
|
From: <jue...@we...> - 2004-07-31 11:56:17
|
You can access a parent directly: After all, a parent bean definition =
might be complete itself, just additionally serving as template for =
child bean definitions. It's just not guaranteed that a bean can be =
created from a parent bean definition; it *can* be incomplete. So the =
error is in the docs; this needs to be fixed for 1.1 final.
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von Rob Harrop
Gesendet: Sa 31.07.2004 13:46
An: spr...@li...
Betreff: [Springframework-developer] Bean Inheritance
Reading through the 1.1 docs it says that a parent bean can never be
accessed directly in an app either through <ref> or getBean() yet I was
able to do both. Is this an error in the doc or the code?
Rob
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Rob H. <ro...@ca...> - 2004-07-31 11:46:14
|
Reading through the 1.1 docs it says that a parent bean can never be accessed directly in an app either through <ref> or getBean() yet I was able to do both. Is this an error in the doc or the code? Rob |
|
From: <al...@jt...> - 2004-07-30 23:13:05
|
<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.66</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>07/31/2004 00:16:10</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 12 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>07/30/2004 12:06:31</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>polishing</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: =
(7) </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/jdbc/s=
upport/SQLErrorCodesFactory.java</td><td class=3D"modifications-data">polis=
hing</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications=
-data">modified</td><td class=3D"modifications-data">jhoeller</td><td class=
=3D"modifications-data">docs/reference/src/index.xml</td><td class=3D"modif=
ications-data">prepared for 1.1 final</td></tr><tr class=3D"modifications-e=
venrow"><td class=3D"modifications-data">modified</td><td class=3D"modifica=
tions-data">jhoeller</td><td class=3D"modifications-data">/project.properti=
es</td><td class=3D"modifications-data">prepared for 1.1 final</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">/readme.txt</td><td class=3D"modifications-data">prepared for 1.1 fi=
nal</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">/changelog.txt</td><td class=3D"modifications-data"=
>prepared for 1.1 final</td></tr><tr class=3D"modifications-oddrow"><td cla=
ss=3D"modifications-data">modified</td><td class=3D"modifications-data">joh=
nsonr</td><td class=3D"modifications-data">src/org/springframework/transact=
ion/interceptor/RollbackRuleAttribute.java</td><td class=3D"modifications-d=
ata">Made serializable</td></tr><tr class=3D"modifications-evenrow"><td cla=
ss=3D"modifications-data">modified</td><td class=3D"modifications-data">wgt=
hom</td><td class=3D"modifications-data">sandbox/src/org/springframework/we=
b/portlet/FrameworkPortlet.java</td><td class=3D"modifications-data">polish=
javadocs</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-07-30 21:21:45
|
Ah, I understand! We didn't add source=3D"1.3" there, so the JDK 1.5 = compiler will complain about target=3D"1.3", because it implicitly = assumes 1.4 sources... We fixed this in the framework build script, but = forgot about the samples - thanks for pointing this out! I'll adapt the = sample build scripts promptly. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von H=E1ber J=E1nos Gesendet: Fr 30.07.2004 22:36 An: spr...@li... Betreff: Re: [Springframework-developer] Excample JDK 1.3 dependency -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 2004. j=FAlius 30. 22.13 d=E1tummal j=FCrgen h=F6ller [werk3AT] ezt = =EDrta: > Sorry, I don't understand: Do you suggest to make the examples work on = JDK > 1.2? Spring officially requires JDK >=3D 1.3, consequently our samples > require JDK 1.3 too... Hmm.... I try to compile with JDK 1.5... And it's can't compile with target attribs... Cow - -- H=E1ber J=E1nos mailto:bo...@dr... ICQ Uin:73963523 http://boci.eminens.hu Fingerprint: EC31 2ABB 041F DA6C AE7C 6B45 7962 5707 C033 1A33 Public Key: http://boci.eminens.hu/boci.asc Key Identifier: 0xC0331A33 Key Server: wwwkeys.eu.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBCrFQeWJXB8AzGjMRAvC4AJ0ekTgMVJCoGGSun/PSQlMqOa/bgwCfXwP9 iTXWWNqBFgnv7gpyWhB5vK4=3D =3DE7YH -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <bo...@dr...> - 2004-07-30 20:35:16
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 2004. j=FAlius 30. 22.13 d=E1tummal j=FCrgen h=F6ller [werk3AT] ezt =EDrta: > Sorry, I don't understand: Do you suggest to make the examples work on JDK > 1.2? Spring officially requires JDK >=3D 1.3, consequently our samples > require JDK 1.3 too... Hmm.... I try to compile with JDK 1.5... And it's can't compile with target attribs... Cow =2D --=20 H=E1ber J=E1nos=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0mailto:boci@dravanet.= hu ICQ Uin:73963523=A0=A0=A0=A0=A0=A0=A0=A0http://boci.eminens.hu =46ingerprint: EC31 2ABB 041F DA6C AE7C 6B45 7962 5707 C033 1A33 Public Key: http://boci.eminens.hu/boci.asc Key Identifier: 0xC0331A33 Key Server: wwwkeys.eu.pgp.net =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBCrFQeWJXB8AzGjMRAvC4AJ0ekTgMVJCoGGSun/PSQlMqOa/bgwCfXwP9 iTXWWNqBFgnv7gpyWhB5vK4=3D =3DE7YH =2D----END PGP SIGNATURE----- |
|
From: <jue...@we...> - 2004-07-30 20:12:13
|
Sorry, I don't understand: Do you suggest to make the examples work on = JDK 1.2? Spring officially requires JDK >=3D 1.3, consequently our = samples require JDK 1.3 too... =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von H=E1ber J=E1nos Gesendet: Fr 30.07.2004 21:56 An: spr...@li... Betreff: [Springframework-developer] Excample JDK 1.3 dependency Hi! Please remove from the examples ant build script jdk 1.3 requirements... Cow -- H=E1ber J=E1nos mailto:bo...@dr... ICQ Uin:73963523 http://boci.eminens.hu Fingerprint: EC31 2ABB 041F DA6C AE7C 6B45 7962 5707 C033 1A33 Public Key: http://boci.eminens.hu/boci.asc Key Identifier: 0xC0331A33 Key Server: wwwkeys.eu.pgp.net ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <bo...@dr...> - 2004-07-30 19:55:34
|
Hi! Please remove from the examples ant build script jdk 1.3 requirements... Cow =2D-=20 H=E1ber J=E1nos=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0mailto:boci@dravanet.= hu ICQ Uin:73963523=A0=A0=A0=A0=A0=A0=A0=A0http://boci.eminens.hu =46ingerprint: EC31 2ABB 041F DA6C AE7C 6B45 7962 5707 C033 1A33 Public Key: http://boci.eminens.hu/boci.asc Key Identifier: 0xC0331A33 Key Server: wwwkeys.eu.pgp.net |
|
From: Stefan D S. <ste...@us...> - 2004-07-30 18:02:39
|
BTW - Here is all I have for configuration:
dataAccesscontext-local.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
<bean id=3D"transactionManager" class=3D"org.springframework.jdbc.datasou=
rce.DataSourceTransactionManager">
<property name=3D"dataSource">
<ref local=3D"myDataSource"/>
</property>
</bean>
=
<bean id=3D"sqlMap" class=3D"org.springframework.orm.ibatis.SqlMapCli=
entFactoryBean">
<property name=3D"configLocation">
<value>/WEB-INF/sqlmapconfig.xml</value>
</property>
<property name=3D"dataSource">
<ref local=3D"myDataSource"/>
</property>
</bean>
=
<bean id=3D"genericDAOJdbc" class=3D"com.myproj.db.GenericDAOJdbc">
<property name=3D"dataSource">
<ref local=3D"myDataSource" />
</property>
<property name=3D"sqlMapClient">
<ref local=3D"sqlMap" />
</property>
=
</bean>
ApplicationContext.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
<bean id=3D"webTarget" class=3D"com.myproj.db.webDBFacadeImpl">
<property name=3D"genericDAO">
<ref bean=3D"genericDAOJdbc" />
</property>
</bean>
<bean id=3D"web" class=3D"org.springframework.transaction.interceptor.Tra=
nsactionProxyFactoryBean">
<property name=3D"transactionManager">
<ref bean=3D"transactionManager" />
</property>
<property name=3D"target">
<ref local=3D"webTarget" />
</property>
<property name=3D"transactionAttributes">
<props>
<prop key=3D"insert*">PROPAGATION_REQUIRED</prop>
<prop key=3D"update*">PROPAGATION_REQUIRED</prop>
<prop key=3D"*">PROPAGATION_REQUIRED,readOnly</prop>
</props>
</property>
</bean>
All,
Is there a good reference on using declarative transaction with Spring an=
d
iBatis? I know that setting up the transaction in Spring should be
transparent of the persisent implementation used in the case of iBatis, b=
ut
if I need several tables to be updated with several insert statement, a
failure to one does not appear to roll back the previous ones. Is there
something I failed to configure in the setup of either Spring or iBatis?
Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-user mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-user=
|
|
From: Colin S. <col...@ex...> - 2004-07-30 17:48:06
|
+1 Rod Johnson wrote: >I've just written something that I think is rather cool that allows a bean >to be written in Groovy yet configured via the full power of Spring >Dependency Injection. It also supports reloading if the script changes, >preserving existing references. > >I would like to check this into the sandbox. However, that would mean adding >the groovy jar. Personally I'm in favour of adding Groovy anyway, as I think >it would be good to be able to use it for tests, even before 1.1 final. > >Thoughts? > >R > > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Rod J. <rod...@in...> - 2004-07-30 17:38:43
|
I've just written something that I think is rather cool that allows a bean to be written in Groovy yet configured via the full power of Spring Dependency Injection. It also supports reloading if the script changes, preserving existing references. I would like to check this into the sandbox. However, that would mean adding the groovy jar. Personally I'm in favour of adding Groovy anyway, as I think it would be good to be able to use it for tests, even before 1.1 final. Thoughts? R |