[jbosstools-issues] [JBoss JIRA] (JBIDE-11438) Length import is not correct when using AS71 and HB4 seam generating entity
Jiri Peterka (JIRA)
issues at jboss.org
Tue Jul 15 05:58:31 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-11438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985091#comment-12985091 ]
Jiri Peterka commented on JBIDE-11438:
--------------------------------------
[~koen.aers], this one seems to me like not to be fixed ever. Is that correct? If yes, please resolve - rejected.
> Length import is not correct when using AS71 and HB4 seam generating entity
> -----------------------------------------------------------------------------
>
> Key: JBIDE-11438
> URL: https://issues.jboss.org/browse/JBIDE-11438
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate, seam2
> Affects Versions: 3.3.0.Beta2
> Environment: JBDS 5.0, Beta2, L64,HSQLDB 1.8
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Fix For: LATER
>
> Attachments: length-annotation.png
>
>
> While generating entities (HB40,AS71), Length should be imported from:
> import org.hibernate.validator.constraints.Length;
> but it's imported non existing package:
> import org.hibernate.validator.Length;
> @Length(max = 200)
> public String getSurname() {
> return this.surname;
> }
> public void setSurname(String surname) {
> this.surname = surname;
> }
> Generated classes should lib according to defined runtime I guess
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list