@ -62,15 +64,11 @@ public class EmbeddedDatabaseBeanDefinitionParser extends AbstractBeanDefinition
@@ -62,15 +64,11 @@ public class EmbeddedDatabaseBeanDefinitionParser extends AbstractBeanDefinition
@ -79,11 +77,11 @@ public class EmbeddedDatabaseBeanDefinitionParser extends AbstractBeanDefinition
@@ -79,11 +77,11 @@ public class EmbeddedDatabaseBeanDefinitionParser extends AbstractBeanDefinition
@ -53,23 +56,24 @@ public class SortedResourcesFactoryBean implements FactoryBean<Resource[]> {
@@ -53,23 +56,24 @@ public class SortedResourcesFactoryBean implements FactoryBean<Resource[]> {
@ -54,14 +58,13 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -54,14 +58,13 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
privatebooleanignoreFailedDrops=false;
privatestaticStringCOMMENT_PREFIX="--";
/**
*Addascripttoexecutetopopulatethedatabase.
*@paramscriptthepathtoaSQLscript
*/
publicvoidaddScript(Resourcescript){
scripts.add(script);
this.scripts.add(script);
}
/**
@ -100,7 +103,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -100,7 +103,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@ -110,7 +114,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -110,7 +114,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@ -134,8 +139,9 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -134,8 +139,9 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@ -152,21 +158,25 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -152,21 +158,25 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
if(logger.isDebugEnabled()){
logger.debug(rowsAffected+" rows affected by SQL: "+statement);
logger.debug("Could not close JDBC Statement",ex);
}
}
@ -237,7 +247,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
@@ -237,7 +247,8 @@ public class ResourceDatabasePopulator implements DatabasePopulator {