Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Update records based on QueryBuilder result set for ClusterJ (no replies)

$
0
0
I am willing to implement a batch update feature by using QueryBuilder to get a result set from database, then change the in the result set and update to database again. However, I get null exception when trying to set value to the result data. Is it not possible to set value in the result set of QueryBuilder?

Exception in thread "main" com.mysql.clusterj.ClusterJDatastoreException: For field data column data valueDelegate object String, error executing objectSetValue. Caused by java.lang.NullPointerException:null
at com.mysql.clusterj.core.metadata.AbstractDomainFieldHandlerImpl.objectSetValue(AbstractDomainFieldHandlerImpl.java:289)
at com.mysql.clusterj.tie.NdbRecordSmartValueHandlerImpl.set(NdbRecordSmartValueHandlerImpl.java:696)
at com.mysql.clusterj.tie.NdbRecordSmartValueHandlerImpl.invoke(NdbRecordSmartValueHandlerImpl.java:722)
at com.sun.proxy.$Proxy0.setData(Unknown Source)
at com.syniverse.mysql.interfaceApp.MysqlInterface.query(MysqlInterface.java:296)
at com.syniverse.mysql.interfaceApp.MysqlInterface.main(MysqlInterface.java:547)

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>