Torque generated code in a separate jar?

Raj <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <[email protected]>
Greetings All,

We currently have the torque generated code in
the same eclipse java project as rest of the business layer code. The
torque code (BaseXxx, XxxMapBuilder) sits in a separate package 'com.company.project.base'and gets compiled into a jar along with rest of the application code.

We
are looking into creating a separate (persistence) project for the
generated code and generate a jar that can be used in the business tier
code in a different (business) project. The business project will also
have the XxxPeer & Xxx classes that gets generated by torque but
is  modified. This way there will a lot fewer java files to work with while searching, checkin , checkouts etc.

Please let me know if you see any issues with this approach? Or is it something that we should have done in the first place? :)

Cheers,
Raj
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.