Mark, I ran into the same problem working with forms in core.  I didn't
know about casting to Number ... instead, I used Long.intValue() but I
worried about whether that would be good enough.  We should have a strategy
that we use in core and for modules to implement.  Casting to Number seems
to be solid enough.

Jeremy Keiper
OpenMRS Core Developer
AMPATH / IU-Kenya Support


On Wed, Jan 4, 2012 at 3:34 PM, Mark Goodrich <[email protected]> wrote:

> Fyi, I just tested the Address Hierarchy module against the 1.9-beta and
> ran into some failing unit tests that appear to be caused by the upgrade to
> Hibernate 3.5.****
>
> ** **
>
> The issue is described here:****
>
> ** **
>
> https://forum.hibernate.org/viewtopic.php?f=1&t=1005071&view=next****
>
> ** **
>
> The fix seems easy—cast the return values from criteria.list() to Number
> instead of Integer—but thought I’d post it here just in case anyone else
> runs into the same issue.****
>
> ** **
>
> Mark****
>
> ** **
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to