jhipster/jhipster-loaded — pull request #22 by BhawaniSingh (2014-09-16 06:15:25+00:00)
Title: Fixed All Issues Related To Liquiubase

@jdubois i fixed all the issues related to Liquibase. I tested myself this time. :)

To use jar generated by this. update the version of jhipster-loaded in generated app from "0.11" to "0.12-SNAPSHOT".

Sorry for removing "@override" annotation :P

Here is the log file :

[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Clear cache org.springframework.core.LocalVariableTableParameterNameDiscoverer
[INFO] a.b.c.Application - Starting Application on ------------ with PID 2572 (C:\Users\*********\*******\***********\testapp\target\classes started by ADMIN in C:\Users\*********\*******\***********\testapp)
[DEBUG] a.b.c.Application - Running with Spring Boot v1.1.6.RELEASE, Spring v4.0.7.RELEASE
[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Rewrite org.springframework.aop.framework.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice() method
[DEBUG] org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
[DEBUG] a.b.c.config.AsyncConfiguration - Creating Async Task Executor
[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Rewrite org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory() method
[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Rewrite org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource.getAttributes() method
[DEBUG] a.b.c.config.DatabaseConfiguration - Configuring Datasource
[DEBUG] a.b.c.config.DatabaseConfiguration - Configuring Liquibase
[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Rewrite liquibase.ext.hibernate.snapshot.TableSnapshotGenerator.snapshotObject() method
[WARN] org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [a.b.c.domain.Foo2]; using defaults.
[WARN] org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [a.b.c.domain.Foo3]; using defaults.
[WARN] org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [a.b.c.domain.Foo]; using defaults.
[WARN] org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [a.b.c.domain.Foo1]; using defaults.
[DEBUG] a.b.c.config.MetricsConfiguration - Registering JVM gauges
[INFO] a.b.c.config.MetricsConfiguration - Initializing Metrics JMX reporting
[DEBUG] a.b.c.config.CacheConfiguration - Starting Ehcache
[DEBUG] a.b.c.config.CacheConfiguration - Registering Ehcache Metrics gauges
[DEBUG] io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin - Patch - Make org.springframework.data.repository.core.support.TransactionalRepositoryProxyPostProcessor class PUBLIC
[DEBUG] a.b.c.config.MailConfiguration - Configuring mail server
[INFO] a.b.c.config.WebConfigurer - Web application configuration, using profiles: [dev]
[DEBUG] a.b.c.config.WebConfigurer - Initializing Metrics registries
[DEBUG] a.b.c.config.WebConfigurer - Registering Metrics Filter
[DEBUG] a.b.c.config.WebConfigurer - Registering Metrics Servlet
[DEBUG] a.b.c.config.WebConfigurer - Registering GZip Filter
[DEBUG] a.b.c.config.WebConfigurer - Initialize H2 console
[INFO] a.b.c.config.WebConfigurer - Web application fully configured
[INFO] a.b.c.Application - Running with Spring profile(s) : [dev]
[INFO] a.b.c.config.ThymeleafConfiguration - loading non-reloadable mail messages resources
[DEBUG] a.b.c.aop.logging.LoggingAspect - Enter: a.b.c.repository.CustomAuditEventRepository.auditEventRepository() with argument[s] = []
[DEBUG] a.b.c.aop.logging.LoggingAspect - Exit: a.b.c.repository.CustomAuditEventRepository.auditEventRepository() with result = a.b.c.repository.CustomAuditEventRepository$1@345d3a37
[INFO] io.github.jhipster.loaded.JHipsterReloaderAutoConfiguration - Spring Loaded is running, registering hot reloading features
[DEBUG] io.github.jhipster.loaded.reloader.JacksonReloader - Hot reloading Jackson enabled
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - Hot reloading JPA & Liquibase enabled
[DEBUG] io.github.jhipster.loaded.reloader.SpringReloader - Hot reloading Spring Beans enabled
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\aop' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\aop\logging' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\async' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\config' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\config\apidoc' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\config\audit' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\config\locale' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\config\metrics' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\domain' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\domain\util' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\repository' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\security' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\service' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\service\util' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web\filter' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web\filter\gzip' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web\propertyeditors' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web\rest' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\a\b\c\web\rest\dto' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\config' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\config\liquibase' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\config\liquibase\changelog' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\i18n' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\mails' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target\classes\templates' will be monitored for changes
[INFO] a.b.c.Application - Started Application in 27.623 seconds (JVM running for 28.766)
[DEBUG] io.github.jhipster.loaded.listener.filewatcher.NewClassLoaderListener - JHipster reload - Start to reload the new class 'C:\Users\*********\*******\***********\testapp\target\classes\a\b\c\domain\Foo4.class'
[DEBUG] io.github.jhipster.loaded.listener.filewatcher.NewClassLoaderListener - JHipster reload - Start to reload the new class 'C:\Users\*********\*******\***********\testapp\target\classes\a\b\c\repository\Foo4Repository.class'
[DEBUG] io.github.jhipster.loaded.listener.filewatcher.NewClassLoaderListener - JHipster reload - Start to reload the new class 'C:\Users\*********\*******\***********\testapp\target\classes\a\b\c\web\rest\Foo4Resource.class'
[INFO] io.github.jhipster.loaded.JHipsterReloaderThread - Batch reload has been triggered, waiting for new classes for 250 ms
[INFO] io.github.jhipster.loaded.JHipsterReloaderThread - Batch reload in progress...
[DEBUG] io.github.jhipster.loaded.JHipsterReloaderThread - There are 1 Spring entities updated, adding them to be reloaded
[DEBUG] io.github.jhipster.loaded.reloader.JacksonReloader - Hot reloading Jackson classes
[DEBUG] io.github.jhipster.loaded.JHipsterReloaderThread - There are 1 Spring entities updated, adding them to be reloaded
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - Hot reloading JPA & Liquibase classes
[INFO] liquibase-hibernate - Reading hibernate configuration hibernate:spring:a.b.c.domain?dialect=org.hibernate.dialect.H2Dialect
[INFO] io.github.jhipster.loaded.patch.liquibase.JhipsterHibernateSpringDatabase - Found package a.b.c.domain
[INFO] io.github.jhipster.loaded.patch.liquibase.JhipsterHibernateSpringDatabase - Found dialect org.hibernate.dialect.H2Dialect
[INFO] liquibase-hibernate - Using dialect org.hibernate.dialect.H2Dialect
[INFO] liquibase-hibernate - Found table T_AUTHORITY
[INFO] liquibase-hibernate - Found table T_FOO
[INFO] liquibase-hibernate - Found table T_FOO1
[INFO] liquibase-hibernate - Found table T_FOO2
[INFO] liquibase-hibernate - Found table T_FOO3
[INFO] liquibase-hibernate - Found table T_FOO4
[INFO] liquibase-hibernate - Found table T_PERSISTENT_AUDIT_EVENT
[INFO] liquibase-hibernate - Found table T_PERSISTENT_AUDIT_EVENT_DATA
[INFO] liquibase-hibernate - Found table T_PERSISTENT_TOKEN
[INFO] liquibase-hibernate - Found table T_USER
[INFO] liquibase-hibernate - Found table T_USER_AUTHORITY
[INFO] liquibase-hibernate - Found table T_PERSISTENT_AUDIT_EVENT
[INFO] liquibase-hibernate - Found column event_id bigint
[INFO] liquibase-hibernate - Found column event_date timestamp
[INFO] liquibase-hibernate - Found column event_type varchar(255)
[INFO] liquibase-hibernate - Found column principal varchar(255)
[INFO] liquibase-hibernate - Found primary key T_PERSISTENT_PK
[INFO] liquibase-hibernate - Found table T_FOO
[INFO] liquibase-hibernate - Found column id bigint
[INFO] liquibase-hibernate - Found column sample_date_attribute date
[INFO] liquibase-hibernate - Found column sample_text_attribute varchar(50)
[INFO] liquibase-hibernate - Found primary key T_FOOPK
[INFO] liquibase-hibernate - Found table T_USER
[INFO] liquibase-hibernate - Found column login varchar(50)
[INFO] liquibase-hibernate - Found column created_by varchar(50)
[INFO] liquibase-hibernate - Found column created_date timestamp
[INFO] liquibase-hibernate - Found column last_modified_by varchar(50)
[INFO] liquibase-hibernate - Found column last_modified_date timestamp
[INFO] liquibase-hibernate - Found column activated boolean
[INFO] liquibase-hibernate - Found column activation_key varchar(20)
[INFO] liquibase-hibernate - Found column email varchar(100)
[INFO] liquibase-hibernate - Found column first_name varchar(50)
[INFO] liquibase-hibernate - Found column lang_key varchar(5)
[INFO] liquibase-hibernate - Found column last_name varchar(50)
[INFO] liquibase-hibernate - Found column password varchar(100)
[INFO] liquibase-hibernate - Found primary key T_USERPK
[INFO] liquibase-hibernate - Found table T_FOO2
[INFO] liquibase-hibernate - Found column id bigint
[INFO] liquibase-hibernate - Found column sample_date_attribute date
[INFO] liquibase-hibernate - Found column sample_text_attribute varchar(50)
[INFO] liquibase-hibernate - Found primary key T_FOO2PK
[INFO] liquibase-hibernate - Found table T_FOO1
[INFO] liquibase-hibernate - Found column id bigint
[INFO] liquibase-hibernate - Found column sample_date_attribute date
[INFO] liquibase-hibernate - Found column sample_text_attribute varchar(50)
[INFO] liquibase-hibernate - Found primary key T_FOO1PK
[INFO] liquibase-hibernate - Found table T_AUTHORITY
[INFO] liquibase-hibernate - Found column name varchar(50)
[INFO] liquibase-hibernate - Found primary key T_AUTHORITYPK
[INFO] liquibase-hibernate - Found table T_PERSISTENT_AUDIT_EVENT_DATA
[INFO] liquibase-hibernate - Found column event_id bigint
[INFO] liquibase-hibernate - Found column value varchar(255)
[INFO] liquibase-hibernate - Found column name varchar(255)
[INFO] liquibase-hibernate - Found primary key null
[INFO] liquibase-hibernate - Found table T_FOO4
[INFO] liquibase-hibernate - Found column id bigint
[INFO] liquibase-hibernate - Found column sample_date_attribute date
[INFO] liquibase-hibernate - Found column sample_text_attribute varchar(50)
[INFO] liquibase-hibernate - Found primary key T_FOO4PK
[INFO] liquibase-hibernate - Found table T_FOO3
[INFO] liquibase-hibernate - Found column id bigint
[INFO] liquibase-hibernate - Found column sample_date_attribute date
[INFO] liquibase-hibernate - Found column sample_text_attribute varchar(50)
[INFO] liquibase-hibernate - Found primary key T_FOO3PK
[INFO] liquibase-hibernate - Found table T_PERSISTENT_TOKEN
[INFO] liquibase-hibernate - Found column series varchar(255)
[INFO] liquibase-hibernate - Found column ip_address varchar(39)
[INFO] liquibase-hibernate - Found column token_date date
[INFO] liquibase-hibernate - Found column token_value varchar(255)
[INFO] liquibase-hibernate - Found column user_agent varchar(255)
[INFO] liquibase-hibernate - Found column user_login varchar(50)
[INFO] liquibase-hibernate - Found primary key T_PERSISTENT_PK
[INFO] liquibase-hibernate - Found table T_USER_AUTHORITY
[INFO] liquibase-hibernate - Found column login varchar(50)
[INFO] liquibase-hibernate - Found column name varchar(50)
[INFO] liquibase-hibernate - Found primary key null
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - JHipster reload - the db-changelog file 'C:\Users\*********\*******\***********\testapp\src\main\resources\config\liquibase\changelog\db-changelog-003.xml' has been generated
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - The file 'src/main/resources/config/liquibase/master.xml' has been updated
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - JHipster reload - Successful database update
[WARN] org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory - HHH020003: Could not find a specific ehcache configuration for cache named [a.b.c.domain.Foo4]; using defaults.
[WARN] org.hibernate.jpa.internal.EntityManagerFactoryRegistry - HHH000436: Entity manager factory name (default) is already registered. If entity manager will be clustered or passivated, specify a unique value for property 'hibernate.ejb.entitymanager_factory_name'
[DEBUG] io.github.jhipster.loaded.JHipsterReloaderThread - There are 1 Spring entities updated, adding them to be reloaded
[DEBUG] io.github.jhipster.loaded.JHipsterReloaderThread - There are 1 Spring repositories updated, adding them to be reloaded
[DEBUG] io.github.jhipster.loaded.JHipsterReloaderThread - There are 1 Spring controllers updated, adding them to be reloaded
[INFO] io.github.jhipster.loaded.reloader.SpringReloader - JHipster reload - New Spring bean 'interface a.b.c.repository.Foo4Repository' has been reloaded.
[INFO] io.github.jhipster.loaded.reloader.SpringReloader - JHipster reload - New Spring bean 'class a.b.c.web.rest.Foo4Resource' has been reloaded.
[INFO] io.github.jhipster.loaded.reloader.listener.JHipsterHandlerMappingListener - Mapped "{[/app/rest/foo4s],methods=[POST],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public void a.b.c.web.rest.Foo4Resource.create(a.b.c.domain.Foo4)
[INFO] io.github.jhipster.loaded.reloader.listener.JHipsterHandlerMappingListener - Mapped "{[/app/rest/foo4s],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public java.util.List a.b.c.web.rest.Foo4Resource.getAll()
[INFO] io.github.jhipster.loaded.reloader.listener.JHipsterHandlerMappingListener - Mapped "{[/app/rest/foo4s/{id}],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public org.springframework.http.ResponseEntity a.b.c.web.rest.Foo4Resource.get(java.lang.Long,javax.servlet.http.HttpServletResponse)
[INFO] io.github.jhipster.loaded.reloader.listener.JHipsterHandlerMappingListener - Mapped "{[/app/rest/foo4s/{id}],methods=[DELETE],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}" onto public void a.b.c.web.rest.Foo4Resource.delete(java.lang.Long)

![hip](https://cloud.githubusercontent.com/assets/2702715/4283100/7873cfae-3d68-11e4-87de-805cde90c104.png)