Comments (4)
- Why is the Expected behavior "return json"? You need to provide unit tests.
Under normal circumstances, my API returns JSON, after introducing shardingsphere, because it contains jackson-dataformat-XML, Springboot will support returning XML-type content, the browser's accept content-type XML is higher than JSON, and the, this results in a preference for XML output, with the expectation of JSON, and my current solution is to change the default MediaType and skip the accept content-type detection to return the JSON format by default
from shardingsphere.
- Why is the Expected behavior "return json"? You need to provide unit tests.
from shardingsphere.
- This is essentially one of the automatic configurations that spring boot does, and I recommend that you look for ways to define spring beans in the github issue area of spring boot to change the default configuration. The ShardingSphere uses jackson to parse xml for historical reasons, involving both spring boot and graalvm native image. Reference #29384 .
from shardingsphere.
- By the way, the current issue appears to be a copy of both spring-projects/spring-boot#32494 and spring-projects/spring-boot#32647 , and neither of them has provided unit tests.
from shardingsphere.
Related Issues (20)
- `shardingsphere-logging-core` should not set the scope of `logback-classic` to `compile` HOT 3
- `snowflake` algorithm does not exist in database `logic_db`. HOT 1
- mybatisplus+sqlserver route to default db HOT 1
- Add like support for DistSQL `show storage units`
- slow sql HOT 3
- 5.3.1 select sql when order by throw NPE HOT 6
- 请问我用shardingsphere-jdbc-core-spring-boot-starter-5.1.2遇见一个奇怪的问题,有些mysql select 语句在mybatis 的xml传入的入参偶尔会莫名奇妙自动多出一个入参,导致比实际参数值多,导致参数越界的报错,下图这个10对应limit后面的?,5这个值是多出的,请问这个问题怎么解决 HOT 2
- May I ask if I encountered a strange problem when using shardingsphere jdbc core spring boot starter 5.1.2? Some MySQL select statements occasionally inexplicably add an extra parameter to the input parameters passed in MyBatis' XML, resulting in more parameter values than the actual ones and causing an error message when the parameters exceed the limit. The 10 corresponding to the limit in the following figure?, The value of 5 is excessive, and the error query exception is Error querying database Cause: java.sql.SQLException: Parameter index out of bounds. 11 is not between valid values of 1 and 9, May I ask how to solve this problem HOT 2
- In the newly added tables in the source database, zk does not synchronize the information. HOT 5
- The collected system metadata is not cleared when database is droped
- Error occurs after using shardingsphere jdbc 5.5.0 Error querying database. Cause: com.github.pagehelper.PageException: When you use the PageHelper pagination plugin, you must set the helper property HOT 2
- The SQL query for a single projection column with a result being null cannot be executed.
- shardingsphere-jdbc-core integration druid error HOT 2
- This issue does not occur frequently in the testing environment, but occasionally occurs: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. HOT 2
- Table name pattern can not be NULL or empty HOT 1
- Loosen the database type validation logic supported by DatabaseTypeChecker. HOT 1
- Loosen the database type validation logic supported by DatabaseTypeChecker.
- Why are methods not replayed on the PreparedStatement object in batch executor scenarios? HOT 3
- select count(distinct column) + limit has bug HOT 2
- After creating a shadow rule, an exception occurs when loading single table
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 shardingsphere.