Comments (8)
Now, scalar provider is the only one choice.
The sqlType
of @column is very youg feature which is only used by in-list predicate optimization for H2 and PG. it is not common&old feature for everything include scalar provider guessing.
Next, the @Column.sqlTypes
can become bigger so that it can be used by more other features. But now, the most important job is save command reactor, please wait
from jimmer.
Try 0.8.132
from jimmer.
@babyfish-ct Doesn't work.
Your patch applies on properties, not types.
from jimmer.
Of course, it can only be guessed for the metadata of property which tells the UUID is binary of text.
from jimmer.
Please specify the @Column.sqlType
explicitly, No metadata, no guessing.
from jimmer.
This is my execution stack. When rendering variables, it looks up the scalar provider by type:
ScalarProvider<Object, Object> scalarProvider =
ctx.getSqlClient().getScalarProvider((Class<Object>) value.getClass());
from jimmer.
I write simple test to reproduce the issue
from jimmer.
Currently, Jimmer is undergoing a major refactor, so the problem that can be solved by one statement code will be delayed.
from jimmer.
Related Issues (20)
- [bug] Failed to append an entity HOT 1
- [BUG] 多层级联删除时多对多属性校验出错 HOT 1
- 计算属性通过DTO View抓取时出现 `UnloadedException` 异常
- [BUG] batch日志循环节重复 HOT 1
- [BUG] batchDelete sql 字段名问题 HOT 3
- [Bug] 批量关联删除存在顺序问题导致外键报错 HOT 1
- [Feature Request] Add Upsert Support for Entities with Only ID and No Key Definitions HOT 1
- [BUG] Not possible to set the key field for the entity via the interceptor HOT 2
- [bug] SaveException.NotUnique not working with postgres HOT 1
- [Feature Request] Option to Enable/Disable Identification of Error Points Using SavePoint Mechanism for SQL Updates in PostgreSQL HOT 1
- [FR]Optimize the position of the select statement for post-facto investigations to avoid confusion HOT 1
- [BUG] When there is a nullable BigInteger type in the entity, an error occurs stating 'Cannot invoke "java.math.BigDecimal.toBigInteger()" because "decimal" is null' HOT 1
- KAssociationIntegrityAssuranceFilter 不检查关联属性为null的情况 HOT 1
- [Bug]多数据源本地事务模式,指明TransactionManager后依然报错 HOT 1
- [Bug,version:0.8.176] ksp 编译 input dto,#allScalars(this)宏生成的类中会包含父接口属性
- [Feature Request] 当mysql表名命中的数据库关键字时(例如group表名),生成的sql执行报错 HOT 2
- [Feature Request]当前dto语言是否支持字段复合ID平铺? HOT 1
- [Bug] Deserialisation error using FetcherCompiler HOT 1
- [BUG]逻辑删除默认情况下中间表的数据被删除了 HOT 1
- 查询时,为过滤器 kotlin DSL 增加局部删除控制
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 jimmer.