3.3.1 to 4.0 migration
Helge Weissig <[email protected]> Wed, 1 Jul 2015 09:51:34 -0700
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_67109A58-D10A-4FB1-8E5D-2636A600B2DD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Our code base is heavily invested in some of the functionality removed = from torque 4.0 and I was wondering if any one had some advice on a = migration path: We make extensive use of village records obtained via = BasePeer.doSelect(Criteria), for example. Those results could probably = be considered a view of the data and I am wondering if that would be the = correct/recommended/best approach. We have added our own caching implementation (configurable via the = schema definition) to the Object.vm and Peer.vm templates. I have read = through the new generator documentation and the customization part of = the OR Mapping Reference = (https://db.apache.org/torque/torque-4.0/documentation/orm-reference/custo= mizing-generation.html = <https://db.apache.org/torque/torque-4.0/documentation/orm-reference/custo= mizing-generation.html>) but I don=E2=80=99t seem to be able to find the = relevant information to put it all together. Basically, I would like to = override one or more templates. I think I know how to specify that in an = outlet, but do I also need the control configuration in the conf = directory? The maven plugin (we use maven) has configuration parameters = for overrideConfigDir and overrideConfigPackage=E2=80=A6 do I need to = set those? This is more of a maven question, maybe, alas I have the feeling it = isn=E2=80=99t actually possible to implement through it, but is there a = way to skip the code generation steps if the schema sources have not = changed? I know how to configure logging for the generator, but the switch = between loglevel WARN and INFO is quite severe. Is there a way to log at = INFO level but only to a file, not to the console? We use log4j = throughout our project. Thanks very much in advance for any advice and pointers! cheers, h. Helge Weissig, Ph.D. Director, Bioinformatics & IT ActivX Biosciences, Inc. www.activx.com <http://www.activx.com/> www.kinativ.com <http://www.kinativ.com/>= --Apple-Mail=_67109A58-D10A-4FB1-8E5D-2636A600B2DD--