---
title: "hibernate生成表时，有的表可以生成，有的却不可以"
author: "TrueBrian"
date: "2014-03-21T21:28:00Z"
tags: []
slug: "hibernate"
draft: false
lastmod: "2015-03-11T09:47:24Z"
id: 2191278
url: "https://truebrian.iteye.com/blog/2191278"
---

hibernate生成表时，有的表可以生成，有的却不可以。

原因：不能生成的表中有字段“desc”或“describe”等和hibernate关键字冲突的字段，因此不能生成，只要换个字段名就好了。