Dinesh Madhav

Greenhorn
+ Follow
since Aug 20, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dinesh Madhav

May 20, 2008 10:53:12 AM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.6
May 20, 2008 10:53:12 AM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 20, 2008 10:53:12 AM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 20, 2008 10:53:12 AM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 20, 2008 10:53:12 AM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 20, 2008 10:53:12 AM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 20, 2008 10:53:12 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : populate_menu/MenuMaster.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: populate_menu.Menu_populate -> menu_master
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : submenu/SubmenuMaster.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: submenu.submenu -> submenu_master
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : sidemenus/TreeMenuMaster.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: sidemenus.TreeGen -> tree_menu_master
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : roles/RoleMapMaster.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: sidemenus.role_Master -> role_map_master
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : role_submenu/RoleMenuSubid.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: role_submenu.roleSubmenu -> role_menu
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : roleMenu/RoleMenu.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: roleMenu.roleMenu -> role_menu
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Main_Sub_menu/MenuSubmenu.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Main_menu.MainMenu -> menu_submenu
May 20, 2008 10:53:13 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : RoleTreeMenuId/RoleTreeMenuid.hbm.xml
May 20, 2008 10:53:13 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: RoleTreeMenuId.TreeMenu -> role_tree_menuid
org.hibernate.InvalidMappingException: Could not parse mapping document from resource RoleTreeMenuId/RoleTreeMenuid.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:575)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1593)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1561)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1540)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1514)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
at populate_menu.testSample.main(testSample.java:31)
Caused by: org.hibernate.MappingException: must specify an identifier type: RoleTreeMenuId.TreeMenu
at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:396)
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:334)
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)
at org.hibernate.cfg.Configuration.add(Configuration.java:675)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:510)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:572)
... 6 more
i am trying to get data from multiple tables so i created multiple hbm file kindly help me in this regad
May 20, 2008 10:20:51 AM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.6
May 20, 2008 10:20:51 AM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 20, 2008 10:20:51 AM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 20, 2008 10:20:51 AM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 20, 2008 10:20:51 AM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 20, 2008 10:20:51 AM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 20, 2008 10:20:51 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : populate_menu/MenuMaster.hbm.xml
May 20, 2008 10:20:51 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: populate_menu.Menu_populate -> menu_master
May 20, 2008 10:20:51 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : submenu/SubmenuMaster.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: submenu.submenu -> submenu_master
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : sidemenus/TreeMenuMaster.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: sidemenus.TreeGen -> tree_menu_master
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : roles/RoleMapMaster.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: sidemenus.role_Master -> role_map_master
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : role_submenu/RoleMenuSubid.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: role_submenu.roleSubmenu -> role_menu
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : roleMenu/RoleMenu.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: roleMenu.roleMenu -> role_menu
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Main_Sub_menu/MenuSubmenu.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Main_menu.MainMenu -> menu_submenu
May 20, 2008 10:20:52 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : RoleTreeMenuId/RoleTreeMenuid.hbm.xml
May 20, 2008 10:20:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: RoleTreeMenuId.RoleTreeMenuid -> role_tree_menuid
org.hibernate.InvalidMappingException: Could not parse mapping document from resource RoleTreeMenuId/RoleTreeMenuid.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:575)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1593)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1561)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1540)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1514)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
at populate_menu.testSample.main(testSample.java:31)
Caused by: org.hibernate.MappingException: must specify an identifier type: RoleTreeMenuId.RoleTreeMenuid
at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:396)
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:334)
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)
at org.hibernate.cfg.Configuration.add(Configuration.java:675)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:510)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:572)
... 6 more
15 years ago