[jbosstools-issues] [JBoss JIRA] (JBIDE-13302) Entities generation is running in UI thread and causes IDE freeze when it cannot connect to DB
Koen Aers (JIRA)
issues at jboss.org
Fri Aug 29 08:57:00 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-13302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996948#comment-12996948 ]
Koen Aers commented on JBIDE-13302:
-----------------------------------
Generation now runs as a workspace job that can be canceled/put in background by the user.
> Entities generation is running in UI thread and causes IDE freeze when it cannot connect to DB
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-13302
> URL: https://issues.jboss.org/browse/JBIDE-13302
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.0.0.Final
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> Connection is executed in UI thread which is blocking IDE mainly when connection cannot be established
> Steps:
> EXE: Create JPA project
> EXE: Stop database prepared for the project
> EXE: Run JPA Tools -> Generate Entities from tables
> ASSERT: UI should be responsive and it should be possible to cancel action
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list