Comments (5)
From [email protected] on March 29, 2011 00:45:16
I've made a change on my repo clone regarding Spring context scanning. However, I think that I've got somewhere into the chicken-egg problem, because I was trying to use my application's DAO objects inside a migration, but they depend on the EntityManager, which must be build against the updated schema.
from flyway.
From [email protected] on March 29, 2011 07:27:31
Yes, this definitely makes sense. The context usually contains many beans which depend on Flyway having performed the DB migrations.
This feature was originally intended for cases where one would like to reuse some logic available through some other beans.
However, I must say that part of the reason why no work has been done towards this so far, is that it's a need that hasn't materialized on the projects I work on.
from flyway.
From [email protected] on March 30, 2011 21:38:07
Anyway, it's commited on my clone.
from flyway.
From [email protected] on April 03, 2011 21:52:37
What is your use case for this?
from flyway.
From [email protected] on September 28, 2011 05:05:01
Closing due to lack of interest/need. Workaround: access beans of spring context through singleton context reference.
from flyway.
Related Issues (20)
- Remove java.desktop module dependency HOT 1
- Documentation for Flyway Python Migration HOT 6
- SQL Flyway parse error caused by comment block containing flyway configuration items HOT 6
- Flyway BigQuer migration synchronisation issues
- Support PostgreSQL Dialect Cloud Spanner Database
- Flyway Migration error flyway 4 to flyway 9.10.0 Unable to decrease block depth below throwing while script excution
- ClassCastException HOT 6
- Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Receiver class org.flywaydb.database.postgresql.PostgreSQLDatabase does not define or inherit an implementation of the resolved method 'abstract void ensureSupported()' of abstract class org.flywaydb.core.internal.database.base.Database. HOT 2
- Document Error HOT 3
- RegexRulesEngine Code analysis will detect default code 'violations' even when the text is within block comments or embedded in a string HOT 3
- Oracle: Flyway parsing bug: unable to decrease block depth below 0
- Migration fails for Derby databases created with collation=TERRITORY_BASED
- Parser Limitation - Incomplete statement at line 1 col 1 HOT 1
- Flyway command line FIPS enable & compliant changes ?
- Flyway command line FIPS enable & compliant changes ? HOT 1
- null string exception when executing Flyway command on Spanner database after upgrading from 8.0.0 to 10.1.0
- Strangely missing options for "migrate" command?
- Support for Amazon Aurora databases is missing HOT 1
- Migration error: Expected command status BEGIN, got SET
- ignoreMissingPatterns not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyway.