Comments (6)
I have same problem. Does anybody solved it?
from scheme2ddl.
@dvsidamore I'll try to fix in near future (probably, on weekend). Thanks for reminding.
from scheme2ddl.
The root cause: DBMS_METADATA.GET_DEPENDENT_DDL
return CREATE (UNIQUE|BITMAP)? INDEX
statements sorted by creation date.
I decided to parse DBMS_METADATA.GET_DEPENDENT_DDL
on separateCREATE (UNIQUE|BITMAP)? INDEX
statements and sort these alphanumerically in DDLFormatter
class.
So order for 3 indexes UNIQUE INDEX a
, INDEX b
, BITMAP INDEX c
will be:
CREATE BITMAP INDEX c...
CREATE INDEX b ..
CREATE UNIQUE INDEX a..
Fixed in PR #53
New parameter of DDLFormatter sortCreateIndexStatements
with default value true
added.
from scheme2ddl.
fixed in v2.4.2
from scheme2ddl.
After implementing this, I found, that possibly it should be implemented in other way as proposed in #20 (comment)
from scheme2ddl.
thanks a lot!
from scheme2ddl.
Related Issues (20)
- Enhancement - Export grants and received grants HOT 12
- No Primary keys info in produced ddl HOT 1
- applyTransformParameters not set for jobs and dblinks
- SCHEDULER PROGRAMS not exported HOT 7
- fix travis build HOT 1
- Add Integration Tests with Oracle Database Express Edition on Travis CI HOT 1
- Advanced queue export error HOT 1
- Make fully executable jar for Unix systems with spring boot or other maven plugins HOT 1
- Rewrite with Spring Boot HOT 2
- Add code coverage metrics
- Reduce distributive size HOT 1
- add integration test for "Export refresh groups even without select_catalog_role" HOT 1
- Error exporting dblink object HOT 1
- Exported file contains CRLF as line endings HOT 2
- Avoid EDITIONABLE keyword on package definition extraction HOT 1
- Move out of bintray
- Project still active ? Accepting PR ? HOT 2
- Support for Oracle 19c HOT 1
- When I export the procedure with Chinese, the Chinese in file can not read. HOT 1
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 scheme2ddl.