[hibernate-issues] [JIRA] (HBX-2026) <jdbcconfiguration> task ignores configurationFile property

Andreas Siemer (JIRA) jira at hibernate.atlassian.net
Tue May 5 09:24:09 EDT 2020


Andreas Siemer ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5eb161de5862510b79402b05 ) *created* an issue

Hibernate Tools ( https://hibernate.atlassian.net/browse/HBX?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HBX-2026?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 ) HBX-2026 ( https://hibernate.atlassian.net/browse/HBX-2026?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 ) <jdbcconfiguration> task ignores configurationFile property ( https://hibernate.atlassian.net/browse/HBX-2026?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.4.14.Final, 5.4.15.Final Assignee: Koen Aers ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A926ec7e6-0515-4337-a65b-32fd943f79ca ) Components: ant Created: 05/May/2020 06:24 AM Priority: Major Reporter: Andreas Siemer ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5eb161de5862510b79402b05 )

The <jdbcconfiguration> tag does not support the configurationFile property any more.
With hibernate-tools 5.2.12 this is still working, but not with 5.4.12.

Apparently the code has been restructured. configurationFile is evaluated in the ConfigurationTask.createMetadataDescriptor (or rather forwarded to the respective factory).
But JDBCConfigurationTask overrides the createMetadataDescriptor method and only explicitly handles the propertyFile property via loadPropertiesFile().
configurationFile is completely ignored.

Please reenable configuring the <jdbcconfiguration> task with an XML configuration.

( https://hibernate.atlassian.net/browse/HBX-2026#add-comment?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HBX-2026#add-comment?atlOrigin=eyJpIjoiZGFhNWRjNWIwZDIwNGVkOGI1NDc0YTgxNjYyNWMxZjEiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:bfbb988 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200505/4b7c1576/attachment.html 


More information about the hibernate-issues mailing list