Saturday, December 28, 2013
org.hibernate.MappingException: Unknown entity:
Related Posts:
java.lang.UnsupportedOperationException: The application must supply JDBC connections.Exception in thread "main" java.lang.UnsupportedOperationException: The application must supply JDBC connections.Problem: while setting jdbc connection property by using annotation configuration we need to add hib… Read More
org.hibernate.MappingException: Unknown entity:org.hibernate.MappingException: Unknown entity: com.ranga.mapping.StudentProblem: In configuration file you are not added Student class or wrong path.Solution: Add the proper Mapping file in configuration.… Read More
org.hibernate.MappingException: Could not determine type for: String, at table: Persons, for columns: [org.hibernate.mapping.Column(FirstName)]org.hibernate.MappingException: Could not determine type for: String, at table: Persons, for columns: [org.hibernate.mapping.Column(FirstName)]Problem: In Mapping, the type what you specified that the first character wi… Read More
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheExceptionException in thread "main" java.lang.NoClassDefFoundError: net/sf/ehcache/CacheExceptionProblem: You need to add ehcache*.jar(for example ehcache.2.7.4.jar) file into your classpath.Solution: Add the ehcache… Read More
Exception in thread "main" java.lang.ExceptionInInitializerErrorCould not parse mapping document from resource com/ranga/Person.hbm.xmlException in thread "main" java.lang.ExceptionInInitializerErrorProblem: In Mapping file DTD information is not added or wrong DTD information… Read More
0 comments:
Post a Comment