Hibernate 4.1Final alternative for Hibernate.STRING

Type fields in org.hibernate.Hibernate are deprecated (and actually removed) as result of HHH-5196

Now different Hibernate types can be found from javadocs for Type. In your case following should work:

    .addScalar("UNAME", StringType.INSTANCE)
    .addScalar("COM", StringType.INSTANCE)
    .addScalar("COM_DATE", DateType.INSTANCE) 

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)