1. Can not load the hbm file in hiberante stackoverflow.comI am trying to do the Hibernate tutotial from JBoss web site. Basically it is a very simple application that adds an Event to the DB. There is an org.hibernate.tutorial.domain.Event and an ... |
2. problem with loading the XXX.hbm.xml files forum.hibernate.orgin dir: \com\hibernate\trial\ place files: People.hbm.xml , People.class Try.class(main class) when i run Try class err shows: Feb 15, 2004 5:53:03 PM net.sf.hibernate.cfg.Configuration addFile SEVERE: Could not configure datastore from file: People.hbm.xml java.net.MalformedURLException: People.hbm.xml (The system cannot find the file specified) at org.dom4j.io.SAXReader.read(SAXReader.java:221) at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:169) at com.hibernate.trial.Try.main(Try.java:12) Exception in thread "main" net.sf.hibernate.MappingException: java.net.Malformed URLException: People.hbm.xml (The system cannot find the file ... |
3. hbm.xml loading struck up...InvocationTargetException forum.hibernate.org |
4. Problem while loading hbm.xml forum.hibernate.orgBeginner Joined: Fri Dec 23, 2005 3:26 am Posts: 21 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hi, Hibernate version: using with spring Mapping documents: |
5. problem coming while loading hbm.xml forum.hibernate.orgBeginner Joined: Fri Dec 23, 2005 3:26 am Posts: 21 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hi, I am having this code in Order.java(bean) private List lineItems = new ArrayList(); public void setLineItems(List lineItems) { logger.info("In Order.setLineItems:::: "+lineItems); this.lineItems = lineItems; } public List getLineItems() { logger.info("In Order.getLineItems:::: "+lineItems); return lineItems; } But In orders table I ... |
6. How to load hbm in runtime? forum.hibernate.org |
7. Want to load *.hbm.xml file in memory forum.hibernate.orgHi, I want to load *.hbm.xml file in memory to check for the file programmatically. I got hibernate-mapping-3.0.xsd and tried to generate code for objects by JAXB using command xjc hibernate-mapping-3.0.xsd I am getting the following error. parsing a schema... [ERROR] Property "Type" is already defined. line 791 of file:/F:/Java/jaxb/hibernate-mapping-3.0.xsd [ERROR] The following location is relevant to the above error line ... |