Changeset 7654


Ignore:
Timestamp:
25/10/10 12:15:59 (9 years ago)
Author:
mnagni
Message:

Bug in coping the resultset Boolean in the internal document representation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • RevitalizationWS/ws/DiscoveryService/trunk/src/main/java/ndg/services/discovery/model/PresentAgent.java

    r7653 r7654  
    183183                                        } else if (Integer.class.isAssignableFrom(type)) { 
    184184                                                field.getWriteMethod().invoke(od, rs.getInt((order.fieldName()))); 
     185                                        } else if (Boolean.class.isAssignableFrom(type)) { 
     186                                                field.getWriteMethod().invoke(od, rs.getBoolean((order.fieldName()))); 
    185187                                        } 
    186188                                } catch (IllegalArgumentException e) { 
Note: See TracChangeset for help on using the changeset viewer.