failed.org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(db col name)
I am using Net Beans IDE , When i start to deploy my web project it shows me at the console output an error says: failed.org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(db col name) From the message it can not convert types ; I tried to check the types in my files .hbm and .java but no luck so far . The property for which this error is being thrown is defined as <property name="exemptionOwnerName1" type="String"> The reason is , hibernate tries to convert the types but one of them was in compatible my code was string like this