`

Could not determine type for: String, for columns: [org.hibernate.mapping.Column

 
阅读更多

Could not determine type for: String, for columns: [org.hibernate.mapping.Column(CARDTYPE)]

 

在hibernate 框架启动时,提示如上信息,意思是说在hibernate配置文件中,字段cardtype的类型出错,

 

type指的是hibernate中的类型,不是java中的String类型,必须小写

在表的hbm.xml 中

由:

<property name="cardtype" column="CARDTYPE" type="String" not-null="false" length="11"  />

 

改成:

 

 

<property name="cardtype" column="CARDTYPE" type="string" not-null="false" length="11"  />

 

分享到:
评论

相关推荐

    Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for

    Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant:’ 解决方法: 确保在build.gradle文件中设置了applicationId ...

    Android Studio更新3.6.3之后出现Could not resolve all artifacts for configuration ‘:classpath’.问题

    Android Studio更新3.6.3之后出现Could not resolve all artifacts for configuration ‘:classpath’.问题你是否和我一样,只因在人群中多看了他一眼?![在这里插入图片描述]...

    unigui0.83.5.820

    - 0000720: Tag property for DBGrid Columns - 0000723: DBGrid: numeric column is not aligned to right - 0000722: Setting Align := alCenter on DBGridColumns does not work - 0000715: OmniHTTPD and ...

    Software Testing and Continuous Quality Improvement

    Plan for Implementation of the SQA Plan . . . . . . . . . . . . . 19 Step 5. Execute the SQA Plan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Quality Standards. . . . . . . . ...

    完美解决Jpush[获取sdk版本失败!]的问题

    错误日志如下: 5-31 12:47:40.088 ... W/System.err: java.lang.UnsatisfiedLinkError: Native method not found: cn.jiguang.service.Protocol.GetSdkVersion:()I 05-31 12:47:40.088 23896-23896/? W/System.err

    FlippableStackView.zip

    【标题】"FlippableStackView.zip"是一个包含Android开发相关源码的压缩包,主要涉及一个名为"FlippableStackView"的自定义视图组件。这个组件可能用于实现卡片堆叠翻转效果,常见于各种应用的交互设计中,如应用...

    php-8.0.3-Win32-vs16-x64.zip

    2. `icudt68.dll`、`icuin68.dll`和`icuuc68.dll`:这些是国际部件库(ICU,International Components for Unicode)的动态链接库,用于支持PHP中的国际化和本地化功能,如日期和时间格式,货币符号等。这里的68代表...

    Determine Drive Type

    标题“Determine Drive Type”指的是在计算机编程中识别或判断磁盘驱动器类型的技能。这通常涉及到使用操作系统提供的API函数或者编程语言中的特定库来获取有关驱动器的信息。在这个场景中,标签“另类其它”可能...

    Hibernate多表关联配置及错误解决方法

    当出现错误"Could not determine type for: java.util.Set"时,通常是因为缺少了关联配置或类型不匹配。确保在两个相关的类中都有相应的映射,并且类型与数据库字段类型一致。此外,注解的位置一致性也很重要,如...

    UE(官方下载)

    UltraEdit and UEStudio allow you to customize the word wrap and tab settings for any type of file. This power tip walks you through the steps to configure these customizations Versioned backup Set ...

    微软内部资料-SQL性能优化5

    The number of levels in an index will vary depending on the number of rows in the table and the size of the key column or columns for the index. If you create an index using a large key, fewer ...

    Android Studio出现Failed to pull selection: open failed: Permission denied的解决思路

    本篇文章给大家分享了Android Studio中导出数据库文件的方法以及出现Failed to pull selection: open failed: Permission denied的解决思路,有兴趣的学习下。

    stetho okhttp chrome 检测网络需要的jar包

    Stetho是一个强大的Android调试库,由Facebook开发并开源,它允许开发者在Chrome浏览器中对Android应用进行深度的网络检测、查看数据库以及检查Shared Preferences(SP)。这个工具极大地简化了开发者在开发过程中对...

    Dundas.Chart.for.Winform.Enterprise.v7.1.0.1812.for.VS2008

    Add advanced charting to your ASP.NET applications....Point and Figure Chart Type (Enterprise Edition only) - Point and Figure Chart uses a series of X's and O's to determine price trends. They show ...

    英语词组大全5.doc

    10. determine to do sth.:决心做某事 11. expect to do sth.:期待做某事 12. fear to do sth.:害怕做某事 13. help to do sth.:帮助做某事 14. hope to do sth.:希望做某事 15. learn to do sth.:学习做某事 ...

    Unitils-jar包

    Unitils 测试框架目的是让单元测试变得更加容易和可维护。Unitils 构建在DbUnit 与 ...进行测试并提供与Spring 和Hibernate 相集成。Unitils 设计成以一种高度可配置和松散耦 合的方式来添加这些服务到单元测试中

    Android重写Gallery

    // Probably need to make sure we are not allocating objects (strings, etc.) in loops public class MyGallery extends FrameLayout { // Constants private final int swipe_min_distance = 120; private...

    determine-a-specific-symbol-in-file.rar_C++中determine

    在C++编程中,"determine" 这个任务通常涉及到对文件内容的读取以及字符串处理。在这个场景中,我们需要实现一个功能:检查文件中的字符串是否包含特定的符号,并根据找到的符号输出对应的值(正1或负1)。下面我们...

    LuaUnicode icu-lua

    For example, you could use the following code snippet to count UTF-8 characters in a string you knew to be conforming (it will incorrectly count some invalid characters): local _, count = string....

Global site tag (gtag.js) - Google Analytics