I would rather add an additional static run method[1] that has an additional parameter to the existing parameter list and that can be used for output.
http://pastebin.com/jZ7vUtM8 Thanks, Rick On Mon, Dec 9, 2013 at 4:29 PM, Aron L <a.lurie+o...@gmail.com> wrote: > Rick, > > That could work but I would end up using JDBCConfiguration in an unusual > way > to get the result I want, something like this: > > http://pastebin.com/Uqngcuaj > > I'm not sure if this would be a lasting fix; there's nothing in the method > contract that ensures the added value will be propagated through the other > run methods. > > An easier (for me) way to do this might be adding a flag of type Map to > ReverseMappingTool.Flags, and if that flag is not null, calling > tool.recordCode(Map) instead of tool.recordCode() where I linked before. > However, I could see where this might be an issue as the flag wouldn't > really be usable from the command line. > > Thanks, > Aron > > > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Using-ReverseMappingTool-run-to-generate-Java-strings-tp7585730p7585750.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. > -- *Rick Curtis*