Dear Jugger's,

saya buat kelas seperti ini

pubilc class AbsMasterDataApplication<T extends GeneralEntity, E extends 
GeneralVO>{

 public synchronized void updateEntity(T p_entity) {
        m_hibernateConnection.merge(p_entity);
    }


    public void saveViewCurrency(List<vcurrency> p_viewCurrency, 
UserDimensionVO p_userDimVO)throws 
            UpdateDataException, 
            DeleteDataException, 
            SavingDataException,
            GeneralException{
        List<md_currency> l_mdCurrencyEntityList = 
Collections.synchronizedList(new ArrayList<md_currency>());
        for(vcurrency viewCurrency : p_viewCurrency){
            md_currency l_currencyEntity = 
m_hibernateConnection.find(md_currency.class, viewCurrency.getPrimaryKey());
            GeneralFacility.copyPropertiesJustValuesNonNull(l_currencyEntity, 
viewCurrency);
            //di update table masternya
            try{
                updateEntity(l_currencyEntity);  //????
            }catch(Exception ex){
                throw new UpdateDataException(ex);
            }
        }        
    }



Itu koq jadi error yah ? 

Terima Kasih atas bantuannya.


 Best Regards,


Andi Kusnadi,Skom
0813 1883 92 37
programmer .net, java, streamezzo



      

Kirim email ke