Issues

Select view

Select search mode

 

getClassMetaData on ORMGetSessionFactory not found

Fixed

Description

Taken from https://luceeserver.atlassian.net/browse/LDEV-2665

On any persistent entity:

Throws:

No matching Method/Function for org.hibernate.impl.SessionFactoryImpl.getClassMetadata(string) found (expression)

this breaks CBORM from ORMSupportUtil.cfc.

Stack trace:

 

Environment

None

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 22 February 2020 at 01:28
Updated 4 June 2021 at 17:31
Resolved 20 March 2020 at 19:38

Activity

Show:

Samuel W. Knowlton18 March 2020 at 21:19

(comment deleted - false alarm)

Michael Offner17 March 2020 at 09:16

Michael Offner17 March 2020 at 09:12

we removed 2 “synchronised” blocks because we switched to ConcurrentHashMap that should be thread safe, but i assume that when 2 ore more threads adding a new class at the same time, we still somehow loosing entries. I added again a “sync“ block, but not a general as before, we only sync for classes, so 2 different classes still can be stored at the same time.

Michael Offner17 March 2020 at 08:39

most likely this change is causing it

Michael Offner17 March 2020 at 08:32

Flag notifications