(int i, String s)
| 236 | } // end of SetTimestampParm |
| 237 | |
| 238 | public void SetUuidParm(int i, String s) { |
| 239 | try { |
| 240 | UUID uuid; |
| 241 | |
| 242 | if (s == null) |
| 243 | uuid = null; |
| 244 | else if (s.isEmpty()) |
| 245 | uuid = UUID.randomUUID(); |
| 246 | else |
| 247 | uuid = UUID.fromString(s); |
| 248 | |
| 249 | pstmt.setObject(i, uuid); |
| 250 | } catch (Exception e) { |
| 251 | SetErrmsg(e); |
| 252 | } // end try/catch |
| 253 | |
| 254 | } // end of SetUuidParm |
| 255 | |
| 256 | public int SetNullParm(int i, int typ) { |
| 257 | int rc = 0; |