Changeset 35 for trunk/fmgVen/src


Ignore:
Timestamp:
Nov 5, 2011, 4:47:44 AM (12 years ago)
Author:
fmguler
Message:

BeanWrapper?.getWrappedInstance is deprecated and does not exist in spring 2.5, using BeanWrapperImpl? instead.
If it also gets removed, create a new beanwrapper as in objectIdEquals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fmgVen/src/com/fmguler/ven/QueryMapper.java

    r32 r35  
    9393 
    9494            //create bean wrapper for the object class 
    95             BeanWrapper wr = new BeanWrapperImpl(objectClass); //already caches class introspection (CachedIntrospectionResults.forClass()) 
     95            BeanWrapperImpl wr = new BeanWrapperImpl(objectClass); //already caches class introspection (CachedIntrospectionResults.forClass()) 
    9696            wr.setPropertyValue("id", id); //set the id property 
    9797            Object object = wr.getWrappedInstance(); 
Note: See TracChangeset for help on using the changeset viewer.