[JBoss JIRA] (JBIDE-26698) Hibernate 3.5 - Can’t open connection
by Juan Marchionatto (Jira)
[ https://issues.jboss.org/browse/JBIDE-26698?page=com.atlassian.jira.plugi... ]
Juan Marchionatto updated JBIDE-26698:
--------------------------------------
Attachment: missed_dependency.png
> Hibernate 3.5 - Can’t open connection
> -------------------------------------
>
> Key: JBIDE-26698
> URL: https://issues.jboss.org/browse/JBIDE-26698
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.12.0.Final
> Reporter: Josef Kopriva
> Assignee: Koen Aers
> Priority: Major
> Attachments: missed_dependency.png
>
>
> From https://developer.jboss.org/people/jrmarchio from thread https://developer.jboss.org/message/989820?et=watches.email.thread#989820
> {code:java}
> Hi, I have a problem with Hibernate Tools 5.4.4.v20190328-1505
>
> I am trying to make Hibernate Console work on my new eclipse installation (Version: 2019-03 (4.11.0)).
>
> Exception is: org.hibernate.exception.JDBCConnectionException: Cannot open connection
> …
> Caused by: java.sql.SQLException: No suitable driver found for jdbc:jtds:sqlserver://hidden-hostname:1433/hidden-db-name
>
>
> Now, the driver is in the connection classpath, and I know it is OK, because if I only change the hibernate version to 4.3 or later, it works. With 4.0 or less, same exception.
>
> I can’t just use it with version 4.3, because in my real configuration (many more mappings) I have all mapping files with 3.5 DTD and other characteristics not supported after 3.5 (LONG definitions, etc).
>
> I have used hibernate console since long ago. I have had little struggle to make configuration work on other plugin installations, but this time I am getting out of ideas..
>
> Previous working combination was not much older: eclipse Mars. 2 Release (4.5.2), same hibernate (3.5) Hibernate tools 5.0.1.Final-v20160331-1852-B88
>
> Can anybody help me to find out what could be generating the problem?
>
> Any information about some important changes between 5.0.1 and 5.0.4?
>
> Thank you in advance
> ---
> Juan
> {code}
> {code:java}
> Trying to debug the code, I found that no matter which hibernate target version is selected, code always calls a SessionFactoryImpl from hibernate 4.0-Final, which could be the reason why queries start working selecting hibernate version 4.3 or higher (4.3 is the lowest selectable version higher than 4.0).
>
> Could anybody who knows this project check this?
>
> Thank you
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBDS-4765) UnknownHostException: download.jboss.org after installation of software from central to devstudio
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBDS-4765?page=com.atlassian.jira.plugin.... ]
Jeff MAURY updated JBDS-4765:
-----------------------------
Fix Version/s: 12.13.0.AM1
(was: 12.12.0.GA)
> UnknownHostException: download.jboss.org after installation of software from central to devstudio
> -------------------------------------------------------------------------------------------------
>
> Key: JBDS-4765
> URL: https://issues.jboss.org/browse/JBDS-4765
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: central
> Affects Versions: 12.11.0.GA
> Reporter: Ondrej Dockal
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.13.0.AM1
>
>
> {code}
> eclipse.buildId=12.11.0.GA-v20190321-1925-B4244
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.equinox.p2.transport.ecf
> Error
> Tue Mar 26 21:50:38 CET 2019
> Unknown Host: http://download.jboss.org/jbosstools/usage/installs/central-site/4.10.0-S...
> java.net.UnknownHostException: download.jboss.org
> at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
> at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:883)
> at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298)
> at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
> at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
> at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
> at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
> at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
> at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months