reset password
Author Message
jrupal16
Posts: 3
Posted 20:13 Jan 25, 2016 |

 javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet

 
how to solve this error?
ajoshi6
Posts: 46
Posted 20:16 Jan 25, 2016 |
jrupal16 wrote:

 javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet

 
Your persistence.xml is not valid and the EntityManagerFactory can't get created
how to solve this error?

cysun
Posts: 2935
Posted 21:04 Jan 25, 2016 |

Read the error message carefully. There should be more in there.

pshah24
Posts: 1
Posted 14:25 Jan 26, 2016 |
jrupal16 wrote:

 javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet

 
how to solve this error?
Hi  jrupal16 ,
I am also facing the similar issue ,  where you able to resolve this issue yesterday?
 
Following is error on console : 
FAILED: getUser
org.springframework.orm.jpa.JpaSystemException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
    at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:415)
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:418)