[jbosstools-issues] [JBoss JIRA] (JBIDE-11564) No quickfix for import @Parameter in @Typedef
Dmitry Geraskov (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 07:54:17 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Geraskov resolved JBIDE-11564.
-------------------------------------
Fix Version/s: 3.3.0.Beta3
(was: 3.3.0.CR1)
Resolution: Rejected
This is related to all internal annotations (not hibernate specific). We don't manage import quickfixes for anotations-some of the Eclipse java plugins do this.
> No quickfix for import @Parameter in @Typedef
> ---------------------------------------------
>
> Key: JBIDE-11564
> URL: https://issues.jboss.org/browse/JBIDE-11564
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 3.3.0.Beta3
> Environment: JBT 3.3.0.beta3-trunk, L64
> Reporter: Jiri Peterka
> Assignee: Dmitry Geraskov
> Fix For: 3.3.0.Beta3
>
> Attachments: missing-import-proposal.png
>
>
> Use this code:
> package org.jira;
> import javax.persistence.Entity;
> import javax.persistence.Id;
> import org.hibernate.annotations.Index;
> //import org.hibernate.annotations.Parameter;
> import org.hibernate.annotations.Type;
> import org.hibernate.annotations.TypeDef;
> @Entity(name="EntityWithType")
> @TypeDef(name="encryptedPasswor", typeClass=org.jira.EncryptedStringType.class,
> parameters = {
> @Parameter(name="password", value="blah blah blah.")
> })
> public class EntityWithType {
>
> @Id
> private int id;
>
> @Index(name = "rrr")
> @Type(type = "encryptedPasswor")
> private StringBuilder typeClass;
> }
> There is no quick fix import for @Parameter. I assue this scenario doesn't work also for other inner Hibernate annotations
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list