Technically two separate lines of thought.
The SQL Generation, and the improvement of field mapping.
My codebase just happens to be merged at the moment.
I can drop it to one issue if that would be better....
On Jan 13, 2004, at 2:42 PM, Cabrera, Alan wrote:
Cool.
Why two issues instead of one?
Regards, Alan
-----Original Message----- From: Brendan W.McAdams [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 2:39 PM To: [EMAIL PROTECTED] Subject: Patch for simplifying CMP deployment Available
I've added a patch to Jira Issue GERONIMO-143 (http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=GERON IMO-143) that is a first draft of my code to automatically generate the deployment SQL for CMP EJBs.
Previously, testing deployment of CMPs required the coder to write the SQL himself, based on his knowledge of the methods. Now you simply define the java types that are being input/output, and the field names that are being input/output (and map fields to columns), and the SQL is written for you automatically, as well as the SimpleCommandFactory.defineQuery invocation being done behind the scenese.
This is a rough cut, but it does the job; there is a full jUnit regression test included.
This should help move forward with writing more of the CMP Deployment code; it includes some of the stuff I'm working on to simplify slot/field map lookups.
Please let me know if anyone has any issues (or successes!)
-Brendan
---------------------------------------------------------------- Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more information and to register, visit <http://www.reuters.com/messaging>
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of The
Reuters Group.
