[
https://issues.apache.org/jira/browse/SQOOP-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abraham Elmahrek updated SQOOP-1351:
------------------------------------
Description:
Had the following in mind:
{code}
@FormClass
public class ConnectionForm {
@Input(size = 128) public String jdbcDriver;
...
}
{code}
to
{code}
@FormClass
public class ConnectionForm {
@Any(group="mygroup")
@Input(size = 128, required = true)
public String jdbcDriver;
...
}
{code}
was:
Had the following in mind:
{code}
@FormClass
public class ConnectionForm {
@Input(size = 128) public String jdbcDriver;
...
}
{code}
to
{code}
@FormClass
public class ConnectionForm {
@Required(message="...")
@Input(size = 128)
public String jdbcDriver;
...
}
{code}
> Sqoop2: Annotation based Configuration object validation
> --------------------------------------------------------
>
> Key: SQOOP-1351
> URL: https://issues.apache.org/jira/browse/SQOOP-1351
> Project: Sqoop
> Issue Type: Bug
> Reporter: Abraham Elmahrek
>
> Had the following in mind:
> {code}
> @FormClass
> public class ConnectionForm {
> @Input(size = 128) public String jdbcDriver;
> ...
> }
> {code}
> to
> {code}
> @FormClass
> public class ConnectionForm {
> @Any(group="mygroup")
> @Input(size = 128, required = true)
> public String jdbcDriver;
> ...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)