document « Schema « JPA Q&A





1. Help designing a mapping document for schema    forum.hibernate.org

Hibernate version : 3 Database: MySQL 4.1 Problem: Hi I am new to using Hibernate and I am not able to design a mapping document for the following scenario. Facility_Table: FacilityID, primary key other fields StateFields_Table: FieldID, primary key FieldName, varchar Facility_State_Fields_Table (Association table) FacilityID, primary key StateFieldID, primary key FieldValue, varchar How should I create a mapping document to relate ...

2. SchemaExportTask cannot read document from file.    forum.hibernate.org

I'm upgrading from Hibernate 3.0.5 to Hibernate 3.1 and am unable to generate my schema script. The SchemaExportTask prints an error: Schema text failed: Could not read mapping document from file: /home/dhicks/workspace/ems/build/webapp/WEB-INF/classes/Event.hbm.xml There is no other text to the message. This is, of course, in an Ant build script. This also all worked fine with Hibernate 3.0.5. Any clues to help ...

3. SchemaExport : Could not read mapping document from file    forum.hibernate.org

Author Message Elizabeth Lima Post subject: SchemaExport : Could not read mapping document from file Posted: Wed Aug 30, 2006 1:04 am Newbie Joined: Mon Jun 05, 2006 9:48 am Posts: 3 Hi All, I'm trying inheritance OR mapping and following table per class hierarchy. While trying to create ddl using schema export I'm getting this [schemaexport] Aug 29, ...

4. Schema text failed:Could not read mapping document from file    forum.hibernate.org

I am a newbie to Hibernate and using one of the tutorials. My version of Hibernate is 3.1 and I use ant to try to generate the sql from a .hbm file (below). Mapping documents: ...