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: <al...@in...> - 2005-10-13 22:33:17
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20051014001557Lbuild.356 |
|
From: Suria, L. (393) <liz...@rh...> - 2005-10-13 16:12:05
|
I am looking for a developer to work on a 2 month contract in the Nashville area. Spring experience is REQUIRED. If you or anyone you know is interested please contact me ASAP. =20 Thanks. =20 =20 |
|
From: <al...@in...> - 2005-10-12 22:35:09
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20051013001632Lbuild.355 |
|
From: Edgar A. C. C. <edc...@ho...> - 2005-10-12 18:57:08
|
<html><div style='background-color:'><DIV class=RTE><FONT color=#0000ff></FONT></DIV></div></html> |
|
From: Bijl, S. v. d. <sil...@lo...> - 2005-10-12 07:41:17
|
Hi,
=20
I currently don't have access to the code, but this is wat I recalled.
I'll take a look when I get back home.
=20
Silvester
=20
________________________________
From: spr...@li...
[mailto:spr...@li...] On Behalf
Of Achmad Arif Rachim
Sent: woensdag 12 oktober 2005 6:59
To: spr...@li...
Subject: Re: [Springframework-developer] How create Generic DAO pattern
in tiger
=20
=20
On 10/11/05, Achmad Arif Rachim <a.a...@gm...> wrote:
Hi silvester,
getActualTypeArguments are instance of TypeVariableImpl, and we cannot
cast it into Class. Am I missing something ?
thnx
=20
On 10/10/05, Bijl, Silvester van der <
sil...@lo...
<mailto:sil...@lo...> > wrote:=20
Hi,
I've been playing around with this. I came up with the following code:
public class AbstractBaseHibernateDao<ObjectType, IdType extends
Serializable> extends
HibernateDaoSupport implements BaseDao<ObjectType, IdType> {
// JDK 5.0 trickery to retrieve the object class=20
private Class ourClass =3D
(Class)((ParameterizedType)getClass().getGenericSuperclass()).getActualT
ypeArguments()[0];
/*
* Retrieve object from db.
*/
@SuppressWarnings("unchecked")
public ObjectType get(IdType id) throws DataAccessException {=20
return (ObjectType) getHibernateTemplate().load(ourClass, id);
}
}
I declared the interface similiar to your code. Hope this helps.
Silvester
________________________________
Van: spr...@li... namens Achmad
Arif Rachim=20
Verzonden: di 11-10-2005 6:33
Aan: spr...@li...;
jug...@ya...
Onderwerp: [Springframework-developer] How create Generic DAO pattern in
tiger=20
How to read Inherit Generic Type class ?
Guys I've been googling all week but couldn't find solution.
Id like to create Generic DAO pattern. So here's what i do
public interface Dao<E extends Entity, I extends Serializable>{=20
public I create(E entity);
public E read(I id);
public void update(E entity);
public E delete(I id);
}
concrete class would be like this
public class DaoBean implements Dao{
public Serializable create(Entity entity){
getHibernateTemplate.save(entity);
return entity.getId();
}
public void update(Entity entity){
getHibernateTemplate.update(entity);=20
}
public Entity read(Serializable id){
return (Entity)getHibernateTemplate.load(getClass(),id);
}
public Entity delete(Serializable id){
Entity entity =3D read(id);
getHibernateTemplate.delete(entity);
return entity;
}
public Class getEntityClass(){
// now ... how to get Dao E class ????
return E.class;
}
}
The millon dollar* question is how to get Dao Generic E type class ???=20
(* million asked question)
Thanx
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
=20
|
|
From: Achmad A. R. <a.a...@gm...> - 2005-10-12 05:02:56
|
CMIIW there is no use declaring generic in concrete DaoBean, Spring hasnt
support this yet.
On 10/11/05, Achmad Arif Rachim <a.a...@gm...> wrote:
>
>
>
> On 10/11/05, Achmad Arif Rachim <a.a...@gm...> wrote:
> >
> > Hi silvester,
> >
> > getActualTypeArguments are instance of TypeVariableImpl, and we cannot
> > cast it into Class. Am I missing something ?
> >
> > thnx
> >
> > On 10/10/05, Bijl, Silvester van der <silvester.van.der.bijl@logicacmg.=
com>
> > wrote:
> > >
> > > Hi,
> > >
> > > I've been playing around with this. I came up with the following code=
:
> > >
> > >
> > > public class AbstractBaseHibernateDao<ObjectType, IdType extends
> > > Serializable> extends
> > > HibernateDaoSupport implements BaseDao<ObjectType, IdType> {
> > >
> > > // JDK 5.0 trickery to retrieve the object class
> > > private Class ourClass =3D
> > > (Class)((ParameterizedType)getClass().getGenericSuperclass()).getActu=
alTypeArguments()[0];
> > >
> > > /*
> > > * Retrieve object from db.
> > > */
> > > @SuppressWarnings("unchecked")
> > > public ObjectType get(IdType id) throws DataAccessException {
> > > return (ObjectType) getHibernateTemplate().load(ourClass, id);
> > > }
> > >
> > > }
> > >
> > > I declared the interface similiar to your code. Hope this helps.
> > >
> > > Silvester
> > >
> > > ________________________________
> > >
> > > Van: spr...@li... namens
> > > Achmad Arif Rachim
> > > Verzonden: di 11-10-2005 6:33
> > > Aan: spr...@li...;
> > > jug...@ya...
> > > Onderwerp: [Springframework-developer] How create Generic DAO pattern
> > > in tiger
> > >
> > >
> > > How to read Inherit Generic Type class ?
> > >
> > > Guys I've been googling all week but couldn't find solution.
> > >
> > > Id like to create Generic DAO pattern. So here's what i do
> > >
> > > public interface Dao<E extends Entity, I extends Serializable>{
> > > public I create(E entity);
> > > public E read(I id);
> > > public void update(E entity);
> > > public E delete(I id);
> > > }
> > >
> > > concrete class would be like this
> > >
> > > public class DaoBean implements Dao{
> > > public Serializable create(Entity entity){
> > > getHibernateTemplate.save(entity);
> > > return entity.getId();
> > > }
> > > public void update(Entity entity){
> > > getHibernateTemplate.update(entity);
> > > }
> > > public Entity read(Serializable id){
> > > return (Entity)getHibernateTemplate.load(getClass(),id);
> > > }
> > > public Entity delete(Serializable id){
> > > Entity entity =3D read(id);
> > > getHibernateTemplate.delete(entity);
> > > return entity;
> > > }
> > >
> > > public Class getEntityClass(){
> > > // now ... how to get Dao E class ????
> > > return E.class;
> > > }
> > > }
> > >
> > > The millon dollar* question is how to get Dao Generic E type class ??=
?
> > >
> > > (* million asked question)
> > >
> > > Thanx
> > >
> > >
> > > This e-mail and any attachment is for authorised use by the intended
> > > recipient(s) only. It may contain proprietary material, confidential
> > > information and/or be subject to legal privilege. It should not be co=
pied,
> > > disclosed to, retained or used by, any other party. If you are not an
> > > intended recipient then please promptly delete this e-mail and any
> > > attachment and all copies and inform the sender. Thank you.
> > >
> > >
> >
>
|
|
From: Achmad A. R. <a.a...@gm...> - 2005-10-12 04:59:21
|
Hi sivester,
getActualTypeArguments are instance of TypeVariableImpl, and we cannot cast
it into Class. Am I missing something ?
thnx
On 10/10/05, Bijl, Silvester van der <sil...@lo...>
wrote:
>
> Hi,
>
> I've been playing around with this. I came up with the following code:
>
>
> public class AbstractBaseHibernateDao<ObjectType, IdType extends
> Serializable> extends
> HibernateDaoSupport implements BaseDao<ObjectType, IdType> {
>
> // JDK 5.0 trickery to retrieve the object class
> private Class ourClass =3D
> (Class)((ParameterizedType)getClass().getGenericSuperclass()).getActualTy=
peArguments()[0];
>
> /*
> * Retrieve object from db.
> */
> @SuppressWarnings("unchecked")
> public ObjectType get(IdType id) throws DataAccessException {
> return (ObjectType) getHibernateTemplate().load(ourClass, id);
> }
>
> }
>
> I declared the interface similiar to your code. Hope this helps.
>
> Silvester
>
> ________________________________
>
> Van: spr...@li... namens Achmad
> Arif Rachim
> Verzonden: di 11-10-2005 6:33
> Aan: spr...@li...;
> jug...@ya...
> Onderwerp: [Springframework-developer] How create Generic DAO pattern in
> tiger
>
>
> How to read Inherit Generic Type class ?
>
> Guys I've been googling all week but couldn't find solution.
>
> Id like to create Generic DAO pattern. So here's what i do
>
> public interface Dao<E extends Entity, I extends Serializable>{
> public I create(E entity);
> public E read(I id);
> public void update(E entity);
> public E delete(I id);
> }
>
> concrete class would be like this
>
> public class DaoBean implements Dao{
> public Serializable create(Entity entity){
> getHibernateTemplate.save(entity);
> return entity.getId();
> }
> public void update(Entity entity){
> getHibernateTemplate.update(entity);
> }
> public Entity read(Serializable id){
> return (Entity)getHibernateTemplate.load(getClass(),id);
> }
> public Entity delete(Serializable id){
> Entity entity =3D read(id);
> getHibernateTemplate.delete(entity);
> return entity;
> }
>
> public Class getEntityClass(){
> // now ... how to get Dao E class ????
> return E.class;
> }
> }
>
> The millon dollar* question is how to get Dao Generic E type class ???
> (* million asked question)
>
> Thanx
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied=
,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>
|
|
From: Achmad A. R. <a.a...@gm...> - 2005-10-12 04:59:20
|
On 10/11/05, Achmad Arif Rachim <a.a...@gm...> wrote:
>
> Hi silvester,
>
> getActualTypeArguments are instance of TypeVariableImpl, and we cannot
> cast it into Class. Am I missing something ?
>
> thnx
>
> On 10/10/05, Bijl, Silvester van der <sil...@lo...=
m>
> wrote:
> >
> > Hi,
> >
> > I've been playing around with this. I came up with the following code:
> >
> >
> > public class AbstractBaseHibernateDao<ObjectType, IdType extends
> > Serializable> extends
> > HibernateDaoSupport implements BaseDao<ObjectType, IdType> {
> >
> > // JDK 5.0 trickery to retrieve the object class
> > private Class ourClass =3D
> > (Class)((ParameterizedType)getClass().getGenericSuperclass()).getActual=
TypeArguments()[0];
> >
> > /*
> > * Retrieve object from db.
> > */
> > @SuppressWarnings("unchecked")
> > public ObjectType get(IdType id) throws DataAccessException {
> > return (ObjectType) getHibernateTemplate().load(ourClass, id);
> > }
> >
> > }
> >
> > I declared the interface similiar to your code. Hope this helps.
> >
> > Silvester
> >
> > ________________________________
> >
> > Van: spr...@li... namens Achma=
d
> > Arif Rachim
> > Verzonden: di 11-10-2005 6:33
> > Aan: spr...@li...;
> > jug...@ya...
> > Onderwerp: [Springframework-developer] How create Generic DAO pattern i=
n
> > tiger
> >
> >
> > How to read Inherit Generic Type class ?
> >
> > Guys I've been googling all week but couldn't find solution.
> >
> > Id like to create Generic DAO pattern. So here's what i do
> >
> > public interface Dao<E extends Entity, I extends Serializable>{
> > public I create(E entity);
> > public E read(I id);
> > public void update(E entity);
> > public E delete(I id);
> > }
> >
> > concrete class would be like this
> >
> > public class DaoBean implements Dao{
> > public Serializable create(Entity entity){
> > getHibernateTemplate.save(entity);
> > return entity.getId();
> > }
> > public void update(Entity entity){
> > getHibernateTemplate.update(entity);
> > }
> > public Entity read(Serializable id){
> > return (Entity)getHibernateTemplate.load(getClass(),id);
> > }
> > public Entity delete(Serializable id){
> > Entity entity =3D read(id);
> > getHibernateTemplate.delete(entity);
> > return entity;
> > }
> >
> > public Class getEntityClass(){
> > // now ... how to get Dao E class ????
> > return E.class;
> > }
> > }
> >
> > The millon dollar* question is how to get Dao Generic E type class ???
> > (* million asked question)
> >
> > Thanx
> >
> >
> > This e-mail and any attachment is for authorised use by the intended
> > recipient(s) only. It may contain proprietary material, confidential
> > information and/or be subject to legal privilege. It should not be copi=
ed,
> > disclosed to, retained or used by, any other party. If you are not an
> > intended recipient then please promptly delete this e-mail and any
> > attachment and all copies and inform the sender. Thank you.
> >
> >
>
|
|
From: Darren D. <da...@da...> - 2005-10-12 01:09:33
|
On Tue, 2005-10-11 at 17:45 -0700, Michael E. Moores wrote: > sorry, my inner beans are being documented just fine.. >=20 > but what about the <description> elements being put into the BeanDoc? Hi Michael, It certainly seems to work OK for me. The samples at http://springframework.sourceforge.net/beandoc/jpetstore/ also show descriptions working for both <beans> and <bean> elements (I just checked with 0.6.3 on the same JPetStore configs locally to make sure nothing had broken in a recent release). Are you able to send me your config files and beandoc.properties and I can take a look (or post a short snippet here if not sensitive). Cheers, --=20 Darren Davison Public Key: 0xDD356B0D |
|
From: Michael E. M. <mm...@re...> - 2005-10-12 00:46:02
|
sorry, my inner beans are being documented just fine.. but what about the <description> elements being put into the BeanDoc? Michael E. Moores wrote: > I got <description></description> entries specified on all > my spring beans and at the top of each spring config file.. > yet the beandoc output has no descriptions in the output. > Is that supposed to be working? > > Also- how difficult would it be to drive into the "target" property > of the > org.springframework.transaction.interceptor.TransactionProxyFactoryBean > <http://www.springframework.org/docs/api/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.html> > > and point to the inner bean? > I have most of my targets specified inline.. > > Thanks, and great work.. The BeanDoc is helping to sell the benefits of > Spring IoC. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Michael E. M. <mm...@re...> - 2005-10-12 00:40:44
|
nevermind on the <second> question.. i'm getting tired.. Michael E. Moores wrote: > I got <description></description> entries specified on all > my spring beans and at the top of each spring config file.. > yet the beandoc output has no descriptions in the output. > Is that supposed to be working? > > Also- how difficult would it be to drive into the "target" property > of the > org.springframework.transaction.interceptor.TransactionProxyFactoryBean > <http://www.springframework.org/docs/api/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.html> > > and point to the inner bean? > I have most of my targets specified inline.. > > Thanks, and great work.. The BeanDoc is helping to sell the benefits of > Spring IoC. > > > > |
|
From: Michael E. M. <mm...@re...> - 2005-10-12 00:37:07
|
I got <description></description> entries specified on all my spring beans and at the top of each spring config file.. yet the beandoc output has no descriptions in the output. Is that supposed to be working? Also- how difficult would it be to drive into the "target" property of the org.springframework.transaction.interceptor.TransactionProxyFactoryBean <http://www.springframework.org/docs/api/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.html> and point to the inner bean? I have most of my targets specified inline.. Thanks, and great work.. The BeanDoc is helping to sell the benefits of Spring IoC. |
|
From: <Con...@se...> - 2005-10-11 21:58:16
|
Build statistics: State: Unknown project state '0' Previous State: Error Started at: Wed, 31 Dec 1969 18:00:00 -0600 Finished at: Wed, 31 Dec 1969 18:00:00 -0600 Total time: 0s Build Trigger: Schedule Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) **************************************************************************** Output: **************************************************************************** There was no output. **************************************************************************** |
|
From: <Con...@se...> - 2005-10-11 20:58:23
|
Build statistics: State: Unknown project state '0' Previous State: Error Started at: Wed, 31 Dec 1969 18:00:00 -0600 Finished at: Wed, 31 Dec 1969 18:00:00 -0600 Total time: 0s Build Trigger: Schedule Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) **************************************************************************** Output: **************************************************************************** There was no output. **************************************************************************** |
|
From: <Con...@se...> - 2005-10-11 18:59:55
|
Build statistics: State: Unknown project state '0' Previous State: Error Started at: Wed, 31 Dec 1969 18:00:00 -0600 Finished at: Wed, 31 Dec 1969 18:00:00 -0600 Total time: 0s Build Trigger: Schedule Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) **************************************************************************** Output: **************************************************************************** There was no output. **************************************************************************** |
|
From: <Con...@se...> - 2005-10-11 17:48:16
|
Build statistics: State: Error Previous State: Error Started at: Tue, 11 Oct 2005 12:51:43 -0500 Finished at: Tue, 11 Oct 2005 12:51:43 -0500 Total time: 0s Build Trigger: Forced Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) Changes **************************************************************************** Build Error: **************************************************************************** org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while executing shell command. The most common error is that 'maven' is not in your path. at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:191) at org.apache.maven.continuum.execution.maven.m1.MavenOneBuildExecutor.build(MavenOneBuildExecutor.java:69) at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:122) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:679) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:69) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:56) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:92) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:53) at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:182) ... 6 more Caused by: java.io.IOException: java.io.IOException: maven: not found at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at java.lang.Runtime.exec(Runtime.java:591) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:674) ... 11 more |
|
From: <Con...@se...> - 2005-10-11 16:59:49
|
Build statistics: State: Unknown project state '0' Previous State: Error Started at: Wed, 31 Dec 1969 18:00:00 -0600 Finished at: Wed, 31 Dec 1969 18:00:00 -0600 Total time: 0s Build Trigger: Schedule Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) **************************************************************************** Output: **************************************************************************** There was no output. **************************************************************************** |
|
From: <Con...@se...> - 2005-10-11 16:33:23
|
Build statistics: State: Error Previous State: Error Started at: Tue, 11 Oct 2005 11:36:08 -0500 Finished at: Tue, 11 Oct 2005 11:36:35 -0500 Total time: 27s Build Trigger: Forced Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) Changes **************************************************************************** Build Error: **************************************************************************** org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while executing shell command. The most common error is that 'maven' is not in your path. at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:191) at org.apache.maven.continuum.execution.maven.m1.MavenOneBuildExecutor.build(MavenOneBuildExecutor.java:69) at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:122) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:679) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:69) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:56) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:92) at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:53) at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:182) ... 6 more Caused by: java.io.IOException: java.io.IOException: maven: not found at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at java.lang.Runtime.exec(Runtime.java:591) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:674) ... 11 more |
|
From: <Con...@se...> - 2005-10-11 16:14:43
|
Build statistics: State: Unknown project state '0' Previous Build: No previous build. Started at: Wed, 31 Dec 1969 18:00:00 -0600 Finished at: Wed, 31 Dec 1969 18:00:00 -0600 Total time: 0s Build Trigger: Schedule Exit code: 0 Building machine hostname: server2.mhuot.net Operating system : Linux(unknown) Java version : 1.5.0_05(Sun Microsystems Inc.) **************************************************************************** Output: **************************************************************************** There was no output. **************************************************************************** |
|
From: Bijl, S. v. d. <sil...@lo...> - 2005-10-11 06:35:41
|
Hi,
=20
I've been playing around with this. I came up with the following code:
=20
=20
public class AbstractBaseHibernateDao<ObjectType, IdType extends Serializab=
le> extends
HibernateDaoSupport implements BaseDao<ObjectType, IdType> {
=20
// JDK 5.0 trickery to retrieve the object class
private Class ourClass =3D (Class)((ParameterizedType)getClass().getGeneri=
cSuperclass()).getActualTypeArguments()[0];
/*=20
* Retrieve object from db.=20
*/
@SuppressWarnings("unchecked")
public ObjectType get(IdType id) throws DataAccessException {=20=20
return (ObjectType) getHibernateTemplate().load(ourClass, id);
}
=20
}
I declared the interface similiar to your code. Hope this helps.=20
=20
Silvester
=20
________________________________
Van: spr...@li... namens Achmad Ar=
if Rachim
Verzonden: di 11-10-2005 6:33
Aan: spr...@li...; jug-indonesia@yahoogr=
oups.com
Onderwerp: [Springframework-developer] How create Generic DAO pattern in ti=
ger
How to read Inherit Generic Type class ?
Guys I've been googling all week but couldn't find solution.
Id like to create Generic DAO pattern. So here's what i do
public interface Dao<E extends Entity, I extends Serializable>{
public I create(E entity);
public E read(I id);
public void update(E entity);
public E delete(I id);
}
concrete class would be like this
public class DaoBean implements Dao{
public Serializable create(Entity entity){
getHibernateTemplate.save(entity);
return entity.getId();
}
public void update(Entity entity){
getHibernateTemplate.update(entity);
}
public Entity read(Serializable id){
return (Entity)getHibernateTemplate.load(getClass(),id);
}
public Entity delete(Serializable id){
Entity entity =3D read(id);
getHibernateTemplate.delete(entity);
return entity;
}
public Class getEntityClass(){
// now ... how to get Dao E class ????
return E.class;
}
}
The millon dollar* question is how to get Dao Generic E type class ???
(* million asked question)
Thanx=20
This e-mail and any attachment is for authorised use by the intended recipi=
ent(s) only. It may contain proprietary material, confidential information =
and/or be subject to legal privilege. It should not be copied, disclosed to=
, retained or used by, any other party. If you are not an intended recipien=
t then please promptly delete this e-mail and any attachment and all copies=
and inform the sender. Thank you.
|
|
From: Achmad A. R. <a.a...@gm...> - 2005-10-11 04:33:58
|
How to read Inherit Generic Type class ?
Guys I've been googling all week but couldn't find solution.
Id like to create Generic DAO pattern. So here's what i do
public interface Dao<E extends Entity, I extends Serializable>{
public I create(E entity);
public E read(I id);
public void update(E entity);
public E delete(I id);
}
concrete class would be like this
public class DaoBean implements Dao{
public Serializable create(Entity entity){
getHibernateTemplate.save(entity);
return entity.getId();
}
public void update(Entity entity){
getHibernateTemplate.update(entity);
}
public Entity read(Serializable id){
return (Entity)getHibernateTemplate.load(getClass(),id);
}
public Entity delete(Serializable id){
Entity entity =3D read(id);
getHibernateTemplate.delete(entity);
return entity;
}
public Class getEntityClass(){
// now ... how to get Dao E class ????
return E.class;
}
}
The millon dollar* question is how to get Dao Generic E type class ???
(* million asked question)
Thanx
|
|
From: Darren D. <da...@sh...> - 2005-10-10 04:34:23
|
1128918866 FAILED This is an automated mail from one of the SF Compile Farm machines. The machine name noted in the subject encountered a failure building or running the Spring test suite. The last few lines of the output were included for info. NB: No further mail will be sent from this machine until a manual reset occurs on the cf-shell machine, although builds will continue as scheduled. See http://springframework.sourceforge.net/test/ for further information. |
|
From: <al...@in...> - 2005-10-09 22:30:57
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20051010001640Lbuild.354 |
|
From: Darren D. <da...@sh...> - 2005-10-09 06:25:34
|
1128839105
FAILED
[junit] Tests run: 17, Failures: 1, Errors: 0, Time elapsed: 52.608 sec
[junit] Testsuite: org.springframework.aop.framework.CglibProxyTests
[junit] Tests run: 17, Failures: 1, Errors: 0, Time elapsed: 52.608 sec
[junit] ------------- Standard Output ---------------
[junit] StopWatch '': running time (millis) = 30183
[junit] [class org.springframework.aop.framework.CglibProxyTests.testManyProxies: create 10000 proxies] took 30183=100%
[junit] ------------- ---------------- ---------------
[junit] Testcase: testNullConfig took 0.095 sec
[junit] Testcase: testNoTarget took 0.361 sec
[junit] Testcase: testProtectedMethodInvocation took 3.541 sec
[junit] Testcase: testProxyCanBeClassNotInterface took 2.941 sec
[junit] Testcase: testCglibProxyingGivesMeaningfulExceptionIfAskedToProxyNonvisibleClass took 0.051 sec
[junit] Testcase: testMethodInvocationDuringConstructor took 0.904 sec
[junit] Testcase: testUnadvisedProxyCreationWithCallDuringConstructor took 0.534 sec
[junit] Testcase: testMultipleProxies took 1.981 sec
[junit] Testcase: testWithNoArgConstructor took 0.666 sec
[junit] Testcase: testProxyAProxy took 1.848 sec
[junit] Testcase: testExceptionHandling took 0.514 sec
[junit] Testcase: testWithDependencyChecking took 6.607 sec
[junit] Testcase: testAddAdviceAtRuntime took 0.997 sec
[junit] Testcase: testProxyClassWithFinalMethods took 1.222 sec
[junit] Testcase: testNoInterceptorsAndNoTarget took 0.001 sec
[junit] Testcase: testValuesStick took 0.044 sec
[junit] Testcase: testManyProxies took 30.235 sec
[junit] FAILED
[junit] Proxy creation was too slow
[junit] junit.framework.AssertionFailedError: Proxy creation was too slow
[junit] at org.springframework.aop.framework.AbstractAopProxyTests.testManyProxies(AbstractAopProxyTests.java:151)
This is an automated mail from one of the SF Compile Farm machines.
The machine name noted in the subject encountered a failure building
or running the Spring test suite. The last few lines of the output
were included for info.
NB: No further mail will be sent from this machine until a
manual reset occurs on the cf-shell machine, although builds will
continue as scheduled.
See http://springframework.sourceforge.net/test/ for further
information.
|
|
From: <al...@in...> - 2005-10-08 22:34:34
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20051009001708Lbuild.353 |