You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Johan Andries <ja...@schaubroeck.be> on 2005/01/31 14:59:00 UTC

torque and spring

Hello,

Has anyone ever done a successful attempt on integrating the generated 
Torque Java classes in the Spring framework? I've searched the mailing 
list archive and found no references to this.

Kind regards,
Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: torque and spring

Posted by Brent Atkins <br...@pro-sys.biz>.
The difference between Hibernate and Torque is a matter of where you are 
starting your project.  If you are starting a project from scratch, and 
the format of the project is pretty much based upon the database schema, 
then Torque will do quite nicely.

If you are taking an existing project, or a project where the business 
model is more important than the database model, then Hibernate would do 
better.  Basically it boils down to how you program.

For a nice comparison of the different persistence layers, you can look 
here...
http://www.rollerweblogger.org/page/roller/20021013

For an example that shows the different tools in action (like AppFuse 
for ORMT) you can check out...
http://ortools.warneronstine.com/

How this all applies to Spring, I'm not too sure - but Torque's classes 
are independent of any framework so I don't see where you would have any 
problem.

Robert Bowen wrote:

>I would be interested in this as well. It seems that
>the "latest and greatest" data object mapping +
>framework solution is Hibernate + Spring.
>
>... which begs the question(s) - what does Hibernate
>do better than Torque? I am going to buy the new
>Manning book "Spring in Action" which talks a lot
>about Hibernate and Spring but I thought I might ask
>the list as well ...
>
>syg
>
>--- Johan Andries <ja...@schaubroeck.be> wrote:
>
>  
>
>>Hello,
>>
>>Has anyone ever done a successful attempt on
>>integrating the generated 
>>Torque Java classes in the Spring framework? I've
>>searched the mailing 
>>list archive and found no references to this.
>>
>>Kind regards,
>>Johan
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>torque-user-unsubscribe@db.apache.org
>>For additional commands, e-mail:
>>torque-user-help@db.apache.org
>>
>>
>>    
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: torque and spring

Posted by Robert Bowen <sy...@yahoo.com>.
I would be interested in this as well. It seems that
the "latest and greatest" data object mapping +
framework solution is Hibernate + Spring.

... which begs the question(s) - what does Hibernate
do better than Torque? I am going to buy the new
Manning book "Spring in Action" which talks a lot
about Hibernate and Spring but I thought I might ask
the list as well ...

syg

--- Johan Andries <ja...@schaubroeck.be> wrote:

> Hello,
> 
> Has anyone ever done a successful attempt on
> integrating the generated 
> Torque Java classes in the Spring framework? I've
> searched the mailing 
> list archive and found no references to this.
> 
> Kind regards,
> Johan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail:
> torque-user-help@db.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org