relation "hibernate_sequence" does not exist
well, bascially, if we following the instruction to setup hibernate...most people will be just fine.
however, someone might have the exception
relation "hibernate_sequence" does not exist
this is just because hibernate assumes that we have a sequence in postgreSQL ....
therefore, it is the easiest way to solve if we give him a sequence...
create sequence 'hibernate_sequence'
and it's working....
转自:不好意思,一高兴忘记存地址。找到他的blog地址http://www.blogger.com/profile/5163131
本文介绍了解决在使用Hibernate框架时遇到的hibernate_sequence不存在的问题。通过在PostgreSQL数据库中创建一个名为hibernate_sequence的序列,可以轻松解决此异常。
1750





