On Tue, 2002-08-27 at 14:17, Russell Smyth wrote: > Nothing wrong with it, I just didnt think of / see that! However, I still > stick > to my original assertion that the field getters should return the proper > types, > not the "key" types - this creates an unnecessary conversion, plus > additional > awareness of torque's workings are necessary for this conversion. >
I have similar problems, I'm using Struts and have a framework (based on Torque) that turns XML schemas in to FormBeans. Then I can copy data from a form bean to a torque object or vice versa using BeanUtils. However I had to modify my framework to support NumberKey, StringKey, etc so that BeanUtils could copy back and forth. I'd much rather have all the *Key stuff out of site. I'd be in favor of changing this before Torque gets out of beta, but it's probably too late for that. -james -- [] James A. Hillyerd <[EMAIL PROTECTED]> - Java Software Engineer [] PGP 1024D/D31BC40D F87B 7906 C0DA 32E8 B8F6 DE23 FBF6 4712 D31B C40D -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
