[
http://jira.jboss.com/jira/browse/JBIDE-719?page=comments#action_12421111 ]
Dima Geraskov commented on JBIDE-719:
-------------------------------------
Patch is not comlete. In some cases (like code generation) hibernate demand that hibernate
dialect was set. As connection profile haven't dialect property we can use the code
snippet from SettingsFactory to calculate it. See method buildSettings(Properties props).
If "hibernate.temp.use_jdbc_metadata_defaults" set to "true" the
dialect will be calculated automatically.
Not shure that we can simply add property
"hibernate.temp.use_jdbc_metadata_defaults" =true to console configuration
properties (if it works with connection profile) to resolving the problem.
Am I miss something?
Hibernate Tools should be able to use a named Eclipse provided
connection
-------------------------------------------------------------------------
Key: JBIDE-719
URL:
http://jira.jboss.com/jira/browse/JBIDE-719
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Reporter: Max Rydahl Andersen
Assigned To: Max Rydahl Andersen
Priority: Critical
Fix For: 3.0.0.alpha
Attachments: EditConsolleConfig.JPG, EditConsolleConfig_Res1.jpg,
EditConsolleConfig_Res2.jpg, EditConsolleConfigNew2.JPG, JBIDE-719.zip, NewSeamProj.JPG
Original Estimate: 4 days
Remaining Estimate: 4 days
currently we use the settings specified in hibernate.properties/cfg.xml/persistence.xml
Users should be able to say to use a named WTP provided database connection.
--
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