[hibernate-issues] [JIRA] (HHH-14101) Invalid format specifier in debug logging

Tom Prodehl (JIRA) jira at hibernate.atlassian.net
Tue Jul 7 18:50:52 EDT 2020


Tom Prodehl ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5b27c2dfe478c9080efac4a2 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-14101?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 ) HHH-14101 ( https://hibernate.atlassian.net/browse/HHH-14101?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 ) Invalid format specifier in debug logging ( https://hibernate.atlassian.net/browse/HHH-14101?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.4.18 Assignee: Unassigned Components: hibernate-core Created: 07/Jul/2020 15:50 PM Priority: Minor Reporter: Tom Prodehl ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5b27c2dfe478c9080efac4a2 )

public Settings(SessionFactoryOptions sessionFactoryOptions, String defaultCatalogName, String defaultSchemaName) {
this.sessionFactoryOptions = sessionFactoryOptions;
this.defaultCatalogName = defaultCatalogName;
this.defaultSchemaName = defaultSchemaName;
if (LOG.isDebugEnabled()) {
LOG.debugf("SessionFactory name : %s", sessionFactoryOptions.getSessionFactoryName());
.......
Line 59-> naked % raises exception
*LOG.debugf("Using BatchFetchStyle : %", sessionFactoryOptions.getBatchFetchStyle().name());*
LOG.debugf("Default batch fetch size: %s", sessionFactoryOptions.getDefaultBatchFetchSize());

( https://hibernate.atlassian.net/browse/HHH-14101#add-comment?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14101#add-comment?atlOrigin=eyJpIjoiYmMzNDE4OTZlM2IyNDAzNGI0MDViZmVkOGM3NmQ0Y2QiLCJwIjoiaiJ9 )

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#100131- sha1:f392e80 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200707/7c84364d/attachment.html 


More information about the hibernate-issues mailing list