Kurang di coba kaliii... Bisa kok...
Kalo di iBatis namanya Partial Update... Cuma concept ajah sih... Tapi sebelom lanjut... Lu pake apa? Hibernate? iBatis? JDBC? Ato SQL doang? Kalo iBatis ... coba pake gini... <isNotNull property="bean.fieldName"> Kalo pake Hibernate ya lebih mudah... di load... di edit salah satu nya ajah... di save... Kalo pake jdbc... pake if-if-an... If (variable1 != null) sqlQuery.append(""); Kalo pake sql doang... Aneh... Hahahah Pake eval gitu.. build sql query nya dari sql juga.. lalu di run.. more like a procedure sih... Ato bisa pake decode... Decode(:param1, null, fieldValue, :param1) --> fiel value nya ituh value awal nya.. jadi di update.. dengan nilai nya sendiri... Banyak banget caranya... See which one works for you... Adelwin Handoyo | Senior Consultant - Wholesale Bank Standard Chartered Bank Plaza By The Park #06-00, 51 Bras Basah Road. Singapore (189554) T : (65) 655 72432 | E adelwin.adel...@sc.com ________________________________ From: jug-indonesia@yahoogroups.com [mailto:jug-indone...@yahoogroups.com] On Behalf Of NoNaMe Sent: Thursday, March 18, 2010 11:42 AM To: jug-indonesia@yahoogroups.com Subject: [JUG-Indonesia] ada yg bisa bantu ???? ada yg bisa bantu gw ga? gw da buntu bgt nih. gw pgn buat query update dimana kdng gw hrz update 3 field sekaligus dalam 1 query tp dg query yg sama jg gw jg hrz update 1 field aja. intinya dalam sekali query gw bs update 1 field aja tp gw jg bs update 3 atau lebih fieldnya ada yg bsa bantu This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic. Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB. Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18. The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276. If you are receiving this email from SCB outside the UK, please click http://www.standardchartered.com/global/email_disclaimer.html to refer to the information on other jurisdictions.