0 Replies Latest reply on Sep 14, 2006 1:27 PM by mitchell ackerman

    Run SchemaExport does nothing

    mitchell ackerman Newbie

      hi, i have a very simple scenario to try an generate a schema from a pojo. i have a Java Project with hibernate builder enabled. the project has a number of classes, but only one has a annotated java class (see below). i have a console configuration for HSQL (see below). when i try to generate a schema with the "Run SchemaExport" nothing is generated, either as a DDL or in the database. am i missing a step? the doc talks about using an Ant script, but i am assuming that this is not necessary for "Run SchemaExport"

      if i run SchemaExport without the database running i do get a socket creation error, so it is doing something, just not generating the DDL or table.

      any help would be much appreciated. thanks, Mitchell

      package domain.persistent;

      import javax.persistence.Entity;
      import javax.persistence.Table;

      public class License
      private String id;

      public String getId() {
      return id;

      public void setId(String id) {
      this.id = id;

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE hibernate-configuration PUBLIC
      "-//Hibernate/Hibernate Configuration DTD 3.0//EN"

      OS - XP
      Eclipse version Version: 3.2.0
      Build id: M20060628-1325
      Hibernate tools: 3.2.0.beta7
      JDK: 1.5.0_07