ERROR: column "..." does not exist(postgre--hibernate)
2009-04-21 17:57
906 查看
1:原因:在为库表中新增字段时,用了大写;
而hibernate中使用时,会自动把所有字段转化主小写。所以表中有此字段。
也会因为大小不匹配而不能识别;
2:postgre大小写敏感,查看建表语句,如果字段名用引号括起来,说明里面有大小写敏感字母;
使用hibernate时一定注意;
3:其它原因,链接自网络:
http://blog.csdn.net/shuaiwang/archive/2007/09/30/1807421.aspx
而hibernate中使用时,会自动把所有字段转化主小写。所以表中有此字段。
也会因为大小不匹配而不能识别;
2:postgre大小写敏感,查看建表语句,如果字段名用引号括起来,说明里面有大小写敏感字母;
使用hibernate时一定注意;
3:其它原因,链接自网络:
http://blog.csdn.net/shuaiwang/archive/2007/09/30/1807421.aspx
相关文章推荐
- ERROR: column "..." does not exist
- org.postgresql.util.PSQLException: ERROR: column "loginid" of relation "userinfo" does not exist
- ERROR:column "rolcatupdate" does not exist
- ERROR:column "rolcatupdate" does not exist
- xcrun: error: active developer path ("..") does not exist, use `xcode-select --switch path/to/Xcode.
- 关于PostgreSQL数据库的 ERROR: relation "tableName" does not exist
- MySQL编译安装的CMake Error: The source directory "/root/mysql-5.6.10/-with-ssl" does not exist.
- PostgreSql问题:ERROR: column "1" does not exist
- ERROR: relation "public.userinfo" does not exist
- About Derby "ERROR 42X51: The class '***' does not exist or is inaccessible. This can hap pen if the class is not public."
- relation "hibernate_sequence" does not exist
- ERROR:column "datconfig " does not exist character
- 设计表时 error: column"spclocation" does not exist
- ERROR:column "rolcatupdate" does not exist
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- ERROR 1449 (HY000): The user specified as a definer ('root'@'%') does not exist
- svn 提交报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
- navicat premium出现PostgreSQL: column “rolcatupdate” does not exist error?
- navicat premium出现PostgreSQL: column “rolcatupdate” does not exist error?
- navicat premium出现PostgreSQL: column “rolcatupdate” does not exist error?