SAP Knowledge Base Article - Preview

1876918 - SQL exception is raised by JAVA application when Java Persistence Query Language (JPQL) is used

Symptom

Exception occurs during processing SQL query of JAVA application:

"[EXCEPTION] javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: com.want/stand~util~ear) Exception raised from invocation of public java.util.List com.want.data.ejb.UtilSessionBean.getLevel1ByType (java.lang.String) method on bean instance com.want.data.ejb.UtilSessionBean@5ded6859 for bean com.want/stand~util~ear*annotation com.want~stand~util~ejb.jar*annotation UtilSessionBean in application com.want/stand~util~ear.; nested
exception is: javax.persistence.PersistenceException: SQLException occurred executing a query, SQL: <The Query> at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.executeQuery(PersistenceContextImpl.java:1039) at com.sap.engine.services.orpersistence.core.MonitoredPersistenceContextImpl.executeQuery"


Read more...

Environment

SAP Netweaver AS JAVA release independent 

Product

SAP NetWeaver Application Server for Java all versions

Keywords

KBA , BC-JAS-PER-SQL , Relational Persistence: Open SQLJ, Open JDBC , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.