X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Ftest%2Fspring%2FHibernateUpdater.java;h=f986cace59c2c7f34730811d931373ddd8aa7006;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=87219de06910bcf95eaeee380097efb39bb6d291;hpb=9eb5f75e0b29316c584935e6170e375ccf89bf95;p=utils diff --git a/support/spring/src/test/java/org/wamblee/test/spring/HibernateUpdater.java b/support/spring/src/test/java/org/wamblee/test/spring/HibernateUpdater.java index 87219de0..f986cace 100644 --- a/support/spring/src/test/java/org/wamblee/test/spring/HibernateUpdater.java +++ b/support/spring/src/test/java/org/wamblee/test/spring/HibernateUpdater.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,28 +12,27 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - + */ package org.wamblee.test.spring; -import java.io.File; -import java.io.IOException; - import org.hibernate.cfg.Configuration; + import org.hibernate.tool.hbm2ddl.SchemaUpdate; +import java.io.File; +import java.io.IOException; + /** * Exporting the hibernate mapping. - * + * * @author Erik Brakkee */ public final class HibernateUpdater { - /** * Disabled constructor. - * + * */ - private HibernateUpdater() { + private HibernateUpdater() { // Empty } @@ -46,5 +45,4 @@ public final class HibernateUpdater { SchemaUpdate lSchemaUpdate = new SchemaUpdate(conf); lSchemaUpdate.execute(true, true); } - }