com.google.cloud.sql.jdbc.internal.ClientSideClob 导致 500 错误,应用程序无法使用
com.google.cloud.sql.jdbc.internal.ClientSideClob causes 500 error, apps are unusable
今天早上醒来发现这个错误来自 google.cloud.sql.jdbc
我们几个月来一直在使用 OData 库 Oligno v2,但今天早上没有明显的原因它停止工作了。我们的应用程序和服务出现故障。
{"error":{"code":null,"message":{"lang":"en","value":"\"OData - JPA
Runtime: JPA query syntax is not correct\""},"innererror":"class
org.eclipse.persistence.exceptions.ConversionException : \nException
Description: The object [], of class [class
com.google.cloud.sql.jdbc.internal.ClientSideClob], could not be
converted to [class java.lang.String].\nInternal Exception: Exception
[EclipseLink-4002] (Eclipse Persistence Services -
2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.DatabaseException\nInternal
Exception: java.sql.SQLException: Invalid parameter for pos value
1\nError Code: 0"}}
设置:
- java google 应用引擎
- angular应用在前面
- Java 带有 oligno v2 库的 EE 后端 https://olingo.apache.org/doc/odata2/download.html
- 简单地调用类似http://app.server/odata.svc/Tasksreturns这个错误,就像oData库不再与GAE和Cloud兼容SQL
今天早上醒来发现这个错误来自 google.cloud.sql.jdbc
我们几个月来一直在使用 OData 库 Oligno v2,但今天早上没有明显的原因它停止工作了。我们的应用程序和服务出现故障。
{"error":{"code":null,"message":{"lang":"en","value":"\"OData - JPA Runtime: JPA query syntax is not correct\""},"innererror":"class org.eclipse.persistence.exceptions.ConversionException : \nException Description: The object [], of class [class com.google.cloud.sql.jdbc.internal.ClientSideClob], could not be converted to [class java.lang.String].\nInternal Exception: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.DatabaseException\nInternal Exception: java.sql.SQLException: Invalid parameter for pos value 1\nError Code: 0"}}
设置:
- java google 应用引擎
- angular应用在前面
- Java 带有 oligno v2 库的 EE 后端 https://olingo.apache.org/doc/odata2/download.html
- 简单地调用类似http://app.server/odata.svc/Tasksreturns这个错误,就像oData库不再与GAE和Cloud兼容SQL