removed funny main method
package won.protocol.model;
-import org.hibernate.cfg.Configuration;
-import org.hibernate.tool.hbm2ddl.SchemaExport;
import won.protocol.model.parentaware.VersionedEntity;
import javax.persistence.*;
@@ -231,14 +229,6 @@ public class Need implements VersionedEntity {
return result;
}
- public static void main(String args[]) {
- Configuration config =
- new Configuration();
- config.addAnnotatedClass(Need.class);
- config.configure();
- new SchemaExport(config).create(true, true);
- }
-
public List<OwnerApplication> getAuthorizedApplications() {
return authorizedApplications;
