[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-708) Seam gen->Generate Entities action is always use default connection parameters

Denis Golovin (JIRA) jira-events at lists.jboss.org
Tue Aug 14 01:03:01 EDT 2007


Seam gen->Generate Entities action is always use default connection parameters
------------------------------------------------------------------------------

                 Key: JBIDE-708
                 URL: http://jira.jboss.com/jira/browse/JBIDE-708
             Project: JBoss Tools
          Issue Type: Bug
          Components: Seam
            Reporter: Denis Golovin
         Assigned To: Max Andersen
             Fix For: 2.0.0.Beta3


No matter where build.properties is placed: source folder, root project folder. 
No matter if there are connection parameters in hibernate-console.properties or hibernate.properties.
It always says.

[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: Hibernate 3.2.0.cr5
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: hibernate.properties not found
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.cfg.Environment buildBytecodeProvider
[hibernate] INFO: Bytecode provider name : cglib
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernate] INFO: Using Hibernate built-in connection pool (not for production use!)
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernate] INFO: Hibernate connection pool size: 20
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernate] INFO: autocommit mode: false
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernate] INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost:1701
[hibernate] Aug 13, 2007 9:54:11 PM org.hibernate.connection.DriverManagerConnectionProvider configure
[hibernate] INFO: connection properties: {user=sa, password=****}
[hibernate] Aug 13, 2007 9:54:12 PM org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] WARNING: Could not obtain connection metadata
[hibernate] java.sql.SQLException: socket creation error

It looks like it tries to load hibernate.properties from resources available for ClassLoader.

-- 
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