| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
A DDL batch would refuse any query that would be executed during an active batch. This causes problems for frameworks, such as Hibernate, that might execute such queries during datamodel generation to check which database objects (tables, indices, ...) already exist in the database. This change will allow specifically internally generated metadata queries to be executed during a DDL batch. All other queries will still be refused. The metadata queries will be executed using a single use read-only transaction.
Codecov Report
@@ Coverage Diff @@
## master #6939 +/- ##
============================================
+ Coverage 41.04% 41.18% +0.13%
- Complexity 5289 5310 +21
============================================
Files 360 360
Lines 50413 50436 +23
Branches 6913 6918 +5
============================================
+ Hits 20692 20770 +78
+ Misses 28244 28182 -62
- Partials 1477 1484 +7
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Nice! Thank you, this is very helpful!
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
…oogleapis#6939) * Metadata queries should be allowed in a DDL batch A DDL batch would refuse any query that would be executed during an active batch. This causes problems for frameworks, such as Hibernate, that might execute such queries during datamodel generation to check which database objects (tables, indices, ...) already exist in the database. This change will allow specifically internally generated metadata queries to be executed during a DDL batch. All other queries will still be refused. The metadata queries will be executed using a single use read-only transaction. * ignore non-internal options * run code formatter
| Back | FazBrowse Home | New Git URL |
A DDL batch would refuse any query that would be executed during an active batch. This causes problems for frameworks, such as Hibernate, that might execute such queries during datamodel generation to check which database objects (tables, indices, ...) already exist in the database. This change will allow specifically internally generated metadata queries to be executed during a DDL batch. All other queries will still be refused. The metadata queries will be executed using a
single use read-only transaction.