apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hsy541@gmail.com" <hsy...@gmail.com>
Subject Questions about dag validation
Date Wed, 06 Jul 2016 17:17:30 GMT
Hey guys,

I've a problem using jdbc output operator. It is same as
http://stackoverflow.com/questions/37887390/datatorrent-jdbcoperator-not-workiing

After trouble shooting, I found there might be some validation issue here
that prerun validation for dag won't work in some special case

Here is an example, let's say we have an Operator

class MyOperator<B extends MyBean> implements Operator {

   B b;

}

class MyBean {
 @NotNull
 cantBeNullProp

 setCan...

 getCan...

...
}

If user forget to set the cantBeNullProp Property, prerun validation won't
pick it.

Is it a limitation of javax validation or we can do better to support this
kind of validation?

Regards,
Siyuan

Mime
View raw message