We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2b1160 commit 5e1d16dCopy full SHA for 5e1d16d
.gitignore
@@ -24,3 +24,4 @@
24
local.properties
25
/mysrc
26
*.iml
27
+/local_conf
src/org/nutz/dao/impl/EntityOperator.java
@@ -40,7 +40,12 @@ public class EntityOperator {
40
private int updateCount;
41
42
public void setMyObj(Object obj) {
43
- this.myObj = Lang.first(obj);
+ if (obj.getClass().isArray()) {
44
+ this.myObj = Lang.array2list((Object[]) obj);
45
+ } else {
46
+ this.myObj = obj;
47
+ }
48
+
49
}
50
51
/**
0 commit comments