Hibernate执行自带的Update,效率很低..
而直接用hql语句,速度会快很多..
求解决方案.. (还是想借助hibernate来实现的..)
问题补充:
Hibernate中执行语句:
UPDATE PP_PRODUCT SET PRODUCTIONID = :p0, METERNO = :p1, FIRSTPRODUCEID = :p2, ORDERID = :p3, ORDERITEMID = :p4, VOLTAGE = :p5, METERCURRENT = :p6, FREQUENCY = :p7, METERCLASS = :p8, METERCONSTANT = :p9, TECHNICSFLOW = :p10, FUNPLANID1 = :p11, FUNPLANID2 = :p12, PRODUCESTATE = :p13 WHERE BARCODE = :p14; :p0 = '1006', :p1 = '', :p2 = '100002', :p3 = '148', :p4 = '172', :p5 = '01', :p6 = '01', :p7 = '01', :p8 = '01', :p9 = '1000', :p10 = '168', :p11 = '4924', :p12 = '255', :p13 = '04', :p14 = '10002'