[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1420) Hibernate Configuration Wizard: add "Test Connection" button and validate driver class, URL, user, pwd etc.

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Jan 16 15:24:19 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1420?page=comments#action_12395389 ] 
            
Max Andersen commented on JBIDE-1420:
-------------------------------------

You can't really use known configurations since a cfg.xml (or similar) is what is the basis of the Console configurations. Thus there wont be a console configuration that matches.

What you could do is when you test the connection to take the default java classpath of the current project (where the file is about to be created) and test it with that.

That would be the simplest. 

As an enhancement you could provide a way to specify another classpath to use for the lookup if the above fails/is not enough.




> Hibernate Configuration Wizard: add "Test Connection" button and validate driver class, URL, user, pwd etc.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1420
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1420
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>    Affects Versions: 2.0.0.GA
>            Reporter: Alexander Chabatar
>         Assigned To: Vitali Yemialyanchyk
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: dialog - screenshot.jpg, ecxeption - screenshot.jpg
>
>
> 1) add Test Connection button - should be helpful.
> 2) Finish button is always enabled. For example if Database dialect is selected but no driver class, no URL, user.  Validation might show a warning.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list