[jbosstools-issues] [JBoss JIRA] (JBIDE-8849) JPA project revalidation after export to db

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Aug 10 19:29:06 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-8849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBIDE-8849:
---------------------------------

    Description: 
1. Create datasource and open it
2. Let's have JPA Project referenced datasource from step above
3. Create entity M with table name Z, you'll get Table "Z" cannot be resolved
4. Project -> JPA Tools -> Generate Tables from Entities with "Check Export to database" selected
5. Finish

After doing this project entity is not yet valid

It would be nice, if connection could be refreshed and code revalidated automatically after export to db (it could be also configurable if desired)

  was:
Let's have JPA Project 
Create entity M, you'll get Table "Z" cannot be resolved
Project -> JPA Tools -> Generate Tables from Entities
Check Export to database
Finish
After doing this project entity is not yet valid

It would be nice, if connection could be refreshed and code revalidated automatically after export to db (it could be also configurable if desired)


    
> JPA project revalidation after export to db
> -------------------------------------------
>
>                 Key: JBIDE-8849
>                 URL: https://issues.jboss.org/browse/JBIDE-8849
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: hibernate, UpStream
>    Affects Versions: 3.2.1.M1
>         Environment: JBDS 4.1.0 m1  H359
>            Reporter: Jiri Peterka
>              Labels: jpa
>             Fix For: 3.3.x
>
>
> 1. Create datasource and open it
> 2. Let's have JPA Project referenced datasource from step above
> 3. Create entity M with table name Z, you'll get Table "Z" cannot be resolved
> 4. Project -> JPA Tools -> Generate Tables from Entities with "Check Export to database" selected
> 5. Finish
> After doing this project entity is not yet valid
> It would be nice, if connection could be refreshed and code revalidated automatically after export to db (it could be also configurable if desired)

--
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