1. hibernate SchemaExport help coderanch.comI'm moving an app off of a self done persistance layer to hibernate. I have the POJO's created, a class.hbm.xml file for each of my classes, and a hibernate.cfg.xml file with all the properties and mappings in it. I am trying to run the SchemaExport tool, but am having no luck at all. I have tried from the comand line C:\>java ... |
2. Creating a SchemaExport for MS Access: problems forum.hibernate.orgHi all, I'm trying to export a HSQL database to an MS Access database from scratch. Since I can't create the MDB file from scratch, I copy an empty file to the desired location, connect to it. My plan is to go through the records from one DB and replicate them in the other. Up to the connection, everything is fine. ... |
3. Where's SchemaExport? forum.hibernate.org |
4. Is schemaexport documented somewhere? forum.hibernate.org |
5. Is it possible to create a database with |
6. Problem with SchemaExport forum.hibernate.orgAuthor Message jpratt Post subject: Problem with SchemaExport Posted: Sun Jan 04, 2004 8:47 pm Beginner Joined: Tue Dec 30, 2003 1:51 pm Posts: 49 Location: Michigan, USA Hello - I am new to hibernate and have been working through the docs and trying things as I go. I have gotten hibernate 2.1 setup with jBoss 3.2.2 as in ... |
7. SchemaExport does not pay attention to default schema? forum.hibernate.orgHi All, I am busily generating some DDL and am finding SchemaExport quite handy. I need to generate several versions of the DDL that differ mostly only by the schema name for the tables. I have multiple config files that use the 'hibernate.default_schema' property and it all seems to work when I configure my various SessionFactory objects in code, but when ... |
8. SchemaExport, what directory? forum.hibernate.org |
9. How to make schemaexport not actually talk to DB? forum.hibernate.org |
10. changing schemaexport default forum.hibernate.org |
11. NamingStrategy and SchemaExport? forum.hibernate.org |
12. SchemaExport forum.hibernate.org |
13. Problem in schemaExport forum.hibernate.orgRead the rules before posting! http://www.hibernate.org/ForumMailingli ... AskForHelp Hi, am getting the following error while doing an schemaexport. Here are my part of my code : /** * Get a set of parameters for this Application * @hibernate.set * inverse = "true" * order-by = "application_id" * @hibernate.collection-one-to-many * class = "com.gloptv.Parameter" */ public Set getParameters() { return this.parameters; } And ... |
14. schemaexport Problems forum.hibernate.orgAuthor Message tezem Post subject: schemaexport Problems Posted: Tue May 17, 2005 3:15 am Newbie Joined: Sat May 07, 2005 12:16 pm Posts: 3 I try to get my db schema exported but I get: Quote: BUILD FAILED: /home/tezem/workspace/ExamProj/src/build.xml:49: Schema text failed: net.sf.hibernate.MappingException: persistent class [core.Answer] not found Everything I tried was not working. Here you get my build.xml: ... |
15. SchemaExport forum.hibernate.orgHello all! I try to get database schema by using hibernate SchemaExport class at runtime. I have following questions about this. 1. I need a constraint in my table " CONSTRAINT `FK_CODES_CREATED_BY` FOREIGN KEY (`CREATED_BY`) REFERENCES `users` (`USER_ID`) ON DELETE SET NULL ON UPDATE CASCADE," Is there any way to explain hibernate "ON DELETE" and "ON UPDATE" statements. I found only ... |
16. SchemaExport not formatting properly in 3.1rc3 forum.hibernate.org |
17. schemaexport problem forum.hibernate.orgNewbie Joined: Thu Nov 23, 2006 1:46 am Posts: 8 Location: Brussels Hey Can someone help me with this error i'm trying to create the tables using ANT schemaexport here are the details Hibernate version:3.1 Mapping documents: Event.hbm.xml Code: |
18. help! about schemaexport @hibernate3.2.5 forum.hibernate.orgenvironment: hibernate:3.2.5 _____________________________ ant:1.6 _______________________________ java: java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode) ________________________________________________________ Example used is the tutorial in hibernate3.2.5 package. _________________________________________________________ problem: BUILD FAILED E:\hibernate-3.2\doc\tutorial\build.xml:67: Schema text failed: Could not parse mapping document from file E:\hibernate-3.2\doc\tutorial\bin\events\Event.class at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask. java:151) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces ... |
19. SchemaExport breaks TableHiLoGenerator forum.hibernate.org |
20. ordinal position in schemaExport forum.hibernate.orgIs there any possibility to influence the indices of the table columns while generating the table via Hibernate? Because of a layout error by my university I need to create a table with the fields e.g. A-B-C and not A-C-B. I want to code it in the annotations mapping. I found that the index is called ordinal position in a mySQL ... |