We're updating the issue view to help you get more done. 

Metadata properties contain null types with hibernate.hbm2ddl.auto=validate

Description

Using an Integrator as described exactly in this post to pull the Metadata from a PostgreSQL database. Most of the requested data is returned, such as column name.

With hibernate.hbm2ddl.auto=validate set in the properties file, the metadata types (ex. column.getSqlType()) are all null.

With hibernate.hbm2ddl.auto=create set in the properties file, the metadata types (ex. column.getSqlType()) are returned as expected.

Environment

Hibernate: 5.4.2
JVM: jdk 1.8.0_192
OS: Windows 10
Platform: PostgreSQL 10.8
Dialect: org.hibernate.dialect.PostgreSQL95Dialect

Status

Assignee

Unassigned

Reporter

Daniel Scalzi

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.4.2

Priority

Minor