[
https://issues.jboss.org/browse/JBIDE-23995?page=com.atlassian.jira.plugi...
]
Adam J. Griff, PhD commented on JBIDE-23995:
--------------------------------------------
Problem solved but not exactly sure of the fix.
Recap of the issue:
Running the Hibernate Reverse Code Generation works.
Then something happens and the hibernate.connection.password in the properties window
shows it is replaced with 4 stars (****).
Then I could not get it to work again.
Fix:
Created a new Database Connection.
In Hibernate perspective, right-clicked in the Hibernate Configurations pane on my
Configuration and selected "edit configuration".
Then changed Database Connection to my new DB connection and saved.
Right-clicked on the configuration and selected "Rebuild configuration"
Now the password is no longer **** but the actual password and things work.
The issue can't be fixed by anything in the persistence.xml, hibernate.properties, or
hibernate.cfg.xml files.
So, there is some issue but think the solution is documentation on how to avoid this issue
or configure correctly so this does not happen.
Eclipse Hibernate Connection Password Issue Reverse Code Generation
--------------------------------------------------------------------
Key: JBIDE-23995
URL:
https://issues.jboss.org/browse/JBIDE-23995
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 4.4.2.Final
Environment: Eclipse is Neon.2
MySQL is 5.6.35
Connector/J is 5.1.40
Hibernate Tools 5.1.2.v20161121-1143 org.hibernate.eclipse.feature.feature.group JBoss by
Red Hat
Reporter: Adam J. Griff, PhD
Assignee: Koen Aers
Priority: Blocker
Fix For: 4.4.4.AM1
Attachments: hibernate_1.png, hibernate_2.png
Password is corrupted resulting in a password error when attempting to connect to the
database to perform Reverse Code Generation POJO
[Here is a link to the description on the Hibernate
Forum|https://forum.hibernate.org/viewtopic.php?f=1&t=1044013&p=2...]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)