tracker issue : CF-4199484

select a category, or use search below
(searches all categories and all time range)
Title:

saveMapping=true logs WARN messages

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mingo Hagen / Mingo Hagen ()

Created: 08/15/2017

Components: ORM Support

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: 2016.0.04.302561 / 305863

Priority/Frequency: Normal /

Locale/System: / Windows 10 64 bit

Vote Count: 0

Problem Description:
The hbmxml files seem to be generated with an out of date DTD reference:

WARN  HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

Should be: http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd

Steps to Reproduce:
Have an ORM app with this.saveMapping=true to see the warning messages in coldfusion-out.

Attachments:

  1. September 14, 2017 00:00:00: acf-4199484.rar

Comments:

Hi Mingo, I have tried but unable to repro this issue. Please share the repro case and the name of DB server being used.
Comment by Nimit S.
418 | August 22, 2017 11:49:15 AM GMT
Hi Mingo, Can you please provide the required information asked in the previous comment?
Comment by Nimit S.
419 | September 04, 2017 05:22:39 AM GMT
Hi Mingo, Can you please provide the required information to proceed further?
Comment by Nimit S.
420 | September 11, 2017 05:48:05 AM GMT
@nimit see attached file. It includes the generated hbmxml, but if you remove that and re-run it, it'll generate a new hbmxml file with the wrong DTD link.
Comment by Mingo H.
421 | September 14, 2017 09:49:55 AM GMT