Hi,
Sorry I did not respond to your first message, but I was quite busy at
work and doing the 3.2 release for Torque.
I do not have sufficient knowledge (i.e. basically no knowledge) about
spring to judge whether the integration is complete, but the API you
describe below does look reasonable to me. Sorry I do not have the time
and energy to delve further into your work.
Please feel free to advertise your integration also at the Torque users
list. Thinking about it, we should add a link at the Torque home page,
too. Keep nagging me about this if I forget it.
Thomas
On Mon, 28 Nov 2005 [EMAIL PROTECTED] wrote:
We have developed a simple wrapper for Torque that allows integration with
the Spring Framework. By using it, you get some support for Generics.
https://torque-spring.dev.java.net/
Currently we support a simple set of methods.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package org.springmodules.orm.torque;
import java.util.List;
import org.apache.torque.om.BaseObject;
public interface TorqueExternalOperations extends TorqueOperations {
<T extends BaseObject> T create(Class<T> torqueObjectClass) throws
TorqueSpringException;
<T extends BaseObject> List<T> find(Class<T> torqueObjectClass, int[]
ids) throws TorqueSpringException;
<T extends BaseObject> T find(Class<T> torqueObjectClass, int id) throws
TorqueSpringException;
<T extends BaseObject> void remove(T persistableObject) throws
TorqueSpringException;
<T extends BaseObject> void save(T persistableObject) throws
TorqueSpringException;
<T extends BaseObject> T copy(final T object) throws
TorqueSpringException;
}
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Note this framework it is not replacement for torque
it is just adds extra functionality typical for springframework.
We are looking for reviews/suggestions for expansion/improvement any peer
review would be appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]