`

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. . . . . . . . ...

    java环境变量之JDK的配置

    java的环境变量,关于JDK的配置,对于学习java的人有较好的帮助

    完美解决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,太多无法一一验证是否可用,程序如果跑不起来需要自调,部分代码功能进行参考学习。

    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 ...

    Determine Drive Type

    Determine Drive Type

    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 ...

    php-8.0.3-Win32-vs16-x64.zip

    windows下的php-8.0.3,线程安全,64位操作系统。

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

    安卓手机在查看数据库,网络请求,sp等文件时,手机需要root,stetho可以直接在chrome里面查看到这些东西,不需要root,这里是相关的一些jar文件,针对于eclipse使用者

    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...

    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....

    OracleApplicationExpressInstallationGuideForOracleDatabase12.pdf 英文原版

    Oracle Application Express Installation Guide For Oracle Database 12

    ssd5 ex4 给需要帮助的人。这是ssd5 ex4

    virtual Listing sort(string field); This is a new method. This method returns a copy of the ... Regardless of the STL functions used, a solution should not use any for-loops or while-loops. Files

    apktool documentation

    compressionType - Used to determine the compression that resources.arsc had on the original apk in order to replicate during [b]uild unknownFiles - Used to record name/location of non-standard files...

    Chinese Entity Linking Comprehensive

    equivalence class clusters for NIL entities (those that could not be linked to an entity in the knowledge base), and entity type information for each of the queries. The data included in this ...

Global site tag (gtag.js) - Google Analytics