db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Hopf <h...@synyx.de>
Subject Re: Disabling generation of org.apache.torque.linkage.MyDBMapInit
Date Tue, 19 Feb 2008 20:12:17 GMT
Thomas Fischer schrieb:
> On Tue, 19 Feb 2008, Florian Hopf wrote:
>> we are using Torque to generate our OM-classes for several submodules in
>> a Maven2 multiproject structure. Everything works fine so far, but as we
>> keep the schema code for the domain classes  in the different
>> submodules, several instances of org.apache.torque.linkage.MyDBMapInit
>> are created (one for every subpackage that contains a Torque schema).
> The use of the class is to load all TableMap classes at once via
> DatabaseMap.initialize(). If you do not call DatabaseMap.initialize()
> (which is the "standard" way), the TableMaps are loaded the first time
> the corresponding Peer class is loaded. So if you do not call
> DatabaseMap.initialize() manually, you can ignore the classes.
Thanks for the quick reply, now I can be sure that we can silently
ignore these files.


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

View raw message