/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_unit_descriptor_name) %>;

public final class <%= repository.jpa.unit_descriptor_name %>
{
  public static final String NAME = "<%= repository.jpa.unit_name %>";
  public static final String RESOURCE_NAME = "<%= repository.jpa.data_source %>";

<% repository.data_modules.each do |data_module| %>
  public static Class[] get<%= data_module.name %>Models()
  {
    return new Class[]
    {
<%= data_module.entities.select {|entity| entity.jpa? }.collect {|entity| "      #{entity.jpa.qualified_name}.class" }.join(",\n") %>
    };
  }
<% end %>

  private <%= repository.jpa.unit_descriptor_name %>()
  {
  }
}

/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_unit_descriptor_name) %>;

public final class <%= repository.jpa.unit_descriptor_name %>
{
  public static final String NAME = "<%= repository.jpa.unit_name %>";
  public static final String RESOURCE_NAME = "<%= repository.jpa.data_source %>";

  private <%= repository.jpa.unit_descriptor_name %>()
  {
  }
}

Remove generate catalog of entity classes that no longer used
Remove generate catalog of entity classes that no longer used
