From 23794bf294f7a3676c6de6ea712c98ba6c5d8818 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 12 May 2015 23:09:58 -0500 Subject: [PATCH] HHH-9792 - Clean up missed Configuration methods --- .../java/org/hibernate/cfg/Configuration.java | 61 ------------------- 1 file changed, 61 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java index 4e201515a4..609167698d 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java @@ -287,28 +287,6 @@ public class Configuration { return standardServiceRegistryBuilder; } - // private void doConfigure(JaxbHibernateConfiguration jaxbHibernateConfiguration) { -// standardServiceRegistryBuilder.configure( jaxbHibernateConfiguration ); -// -// for ( JaxbMapping jaxbMapping : jaxbHibernateConfiguration.getSessionFactory().getMapping() ) { -// if ( StringHelper.isNotEmpty( jaxbMapping.getClazz() ) ) { -// addResource( jaxbMapping.getClazz().replace( '.', '/' ) + ".hbm.xml" ); -// } -// else if ( StringHelper.isNotEmpty( jaxbMapping.getFile() ) ) { -// addFile( jaxbMapping.getFile() ); -// } -// else if ( StringHelper.isNotEmpty( jaxbMapping.getJar() ) ) { -// addJar( new File( jaxbMapping.getJar() ) ); -// } -// else if ( StringHelper.isNotEmpty( jaxbMapping.getPackage() ) ) { -// addPackage( jaxbMapping.getPackage() ); -// } -// else if ( StringHelper.isNotEmpty( jaxbMapping.getResource() ) ) { -// addResource( jaxbMapping.getResource() ); -// } -// } -// } - /** * Use the mappings and properties specified in the given document. The format of the document is defined in * hibernate-configuration-3.0.dtd. @@ -880,45 +858,6 @@ public class Configuration { public void buildMappings() { } - - - - - - - - - - - /** - * Generate DDL for dropping tables - * - * @param dialect The dialect for which to generate the drop script - - * @return The sequence of DDL commands to drop the schema objects - - * @throws HibernateException Generally indicates a problem calling {@link #buildMappings()} - - * @see org.hibernate.tool.hbm2ddl.SchemaExport - */ - public String[] generateDropSchemaScript(Dialect dialect) throws HibernateException { - return new String[0]; - } - - /** - * @param dialect The dialect for which to generate the creation script - * - * @return The sequence of DDL commands to create the schema objects - * - * @throws HibernateException Generally indicates a problem calling {@link #buildMappings()} - * - * @see org.hibernate.tool.hbm2ddl.SchemaExport - */ - @SuppressWarnings({ "unchecked" }) - public String[] generateSchemaCreationScript(Dialect dialect) throws HibernateException { - return new String[0]; - } - /** * Adds the incoming properties to the internal properties structure, as long as the internal structure does not * already contain an entry for the given key.