Felix Sima wrote: > > Hello. > > 1. Can I set up the IDBroker service to generate unique Ids over an entire > database ? If yes, please give me some hints.
With the cvs version of torque you can use <id-method-parameter value="foo"/> to specify that the IDBroker use the ID_TABLE row with tablename=foo to get ids. You can get this behavior by updating the template src/templates/om/MapBuilder.vm, if you want to minimize the needed changes. Otherwise, you can go through your MapBuilder classes and make the substitution. look for setPrimaryKeyMethodInfo. I recommend the first approach. john mcnally -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
