When migrating projects from version 3.x to 4.x or 5.x some APIs has changed and calls has to be rewritten. In versions > 4.x most APIs returns List, however similar APIs in 3.x returns Recordsets. Therefore, what is the easiest way to convert a List (of a specific type) to a Recordset, so that I only has to change the calls and I do not have to touch the existing process? asked 31.10.2013 at 14:30 Flavio Sadeghi ♦♦ |
An easy way is to create a utility method, directly in java. The method takes a List and returns the analogue Recordset. The java implementation could look as follows:
The call of the utility-method in a process-step could look as follows:
answered 31.10.2013 at 14:32 Flavio Sadeghi ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 31.10.2013 at 14:30
Seen: 3,702 times
Last updated: 31.10.2013 at 14:35