xml - what's the difference between hibernate-mapping PUBLIC and hibernate-configuration PUBLIC in hibernate configuration file? -
in eclipse produce hbm.xml file automatically using db browser. when deploy project there following exception printed on console:
could not parse mapping document resource. hbm.xml.
when modified hibernate-configuration public in hbm.xml hibernate-mapping public there no exception. why? what's difference between two?
hibernate-mapping public( domain object mapping files only) the mapping document xml document having root element which contains elements,those creates tables domain objects
hibernate-configuration public(for configuration file ) is used provide information which necessary making database connections. mapping details mapping domain objects database tables part of hibernate configuration file.
Comments
Post a Comment