[
https://jira.jboss.org/browse/JBIDE-6103?page=com.atlassian.jira.plugin.s...
]
Jiri Peterka commented on JBIDE-6103:
-------------------------------------
Vtali, possibly simple and effective solution would be additional "Check
configuration" button on "Hibernate Configuration File (cfg.xml) wizard
page". After filling configuration, user can click on it before finishing and check
that configuration is working (it means check instantiating driver and connect to db). If
anything failes, warning in in header of wizard page and what is wrong can be highlighted
(either missing driver, connection url or user credentials). The same button can be
Hibernate configuration editor triggering the same action. I don't want to block user
if there is something what he could fix later. Just provide check actions for him and let
him know properly (no raw exceptions).
Hibernate console performs check for defined JDBC library
---------------------------------------------------------
Key: JBIDE-6103
URL:
https://jira.jboss.org/browse/JBIDE-6103
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.1.0.GA
Reporter: Jiri Peterka
Assignee: Vitali Yemialyanchyk
Fix For: 3.2.next
Hibernate console should perform check for available JDBC Library, not throw an exception
when user clicks on hibernate console configuration. For example when there is
org.hsqldb.jdbcDriver defined in hibernate.cfg.xml which is set in hibernate console, it
should report missing library in classpath tab which would be more comfortable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira