---
title: "SQLGrammarException: could not execute query"
author: "wengsibo"
date: "2010-12-09T17:13:12Z"
tags: []
categories: ["企业架构"]
slug: "sqlgrammarexception-could-not-execute-query"
draft: false
lastmod: "2010-12-09T17:13:12Z"
id: 837822
url: "https://wengsb.iteye.com/blog/837822"
---

could not execute query; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
解决方法：一般是hibernate 配置文件的用户名与表的用户名不一致