tracker issue : CF-4108519

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

Trying to load an ORM enabled entity with relations into a flex client results in error

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Daniel Steinemann / Daniel Steinemann (Daniel Steinemann)

Created: 01/19/2016

Components: Flex/Flash

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: ALL / Linux

Vote Count: 0

Listed in the version 2016.0.03.300466 Issues Fixed doc
Problem Description: 
The following error occurs when trying to load an entity with relations to a flex client:

[BlazeDS] Exception occurred during serialization: org.hibernate.exception.GenericJDBCException: This connection either has timed out or has been closed and has returned to its pool. You must re-acquire the connection.
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)
        at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
        at com.sun.proxy.$Proxy34.prepareStatement(Unknown Source)

Trying the same code on Coldfusion 10 works without any errors.

Steps to Reproduce:

I attached a small demo with 2 entities (Order and Item) and the corresponding cf-service and flex demo client.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4108519

External Customer Info:
External Company:  
External Customer Name: Daniel Steinemann
External Customer Email:  
External Test Config: Coldfusion 11 update 7 with internal webserver, 

Flex client using sdk 4.14.1, 

Database MS SQL 2008 R2

Attachments:

  1. January 19, 2016 00:00:00: 1_bug.zip

Comments:

I am having similar problem. Could you please send me the solution. Thank you,
Comment by External U.
4879 | August 18, 2016 03:46:34 PM GMT
This is fixed and would be available in ColdFusion 2016 HF3. It will get merged to ColdFusion 11 HF11
Comment by HariKrishna K.
4880 | August 22, 2016 10:49:57 PM GMT
After Migration from Coldfusion 10 to Coldfusion 2016 I have this issue. M;y CF2016 Server has installed all available hotfixes (Hotfix 5). Did I missed something or is there any other solution available ?
Comment by Christian K.
4881 | December 29, 2017 08:42:41 AM GMT