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] When using annotations on prop in a dto file, if the parameter type of the annotation is class and 'Xxx.class' is used, it will result in a dto generation error HOT 1
- [bug] 升级kotlin与ksp2.0.0之后实体使用default注解编译报错,切换回1.9.23之后正常。 HOT 1
- [Bug] Boolean name starting with 'is' in Entity HOT 1
- [Bug] jackson序列化实体异常 HOT 1
- [BUG] After annotating the documentation for entity-associated property, the dto language generates a class with incorrect documentation for the flat-associated property. HOT 2
- [BUG] In the dto language, after adding document annotations to property, the property document annotations are incorrect in the generated class. HOT 1
- [BUG] The DTO definition uses Jackson's PropertyNamingStrategies, but this annotation is not carried to the generated DTO's internal Builder class
- [BUG] When the document comment of a property in an entity contains something like '@see', the comment in the generated DTO class is missing
- Logical deletion on @OneToMany association HOT 1
- Nullability on logical deletion HOT 4
- Race condition during client initialization HOT 2
- 官方文档中的计算属性-依赖关联属性例子无法通过编译 HOT 1
- [fr] Support fetchers for embeddables HOT 1
- [bug] IndexOutOfBoundsException for embeddable property valueIn HOT 1
- jimmer bug HOT 1
- 【集合关联】使用TableEx进行集合关联查询时where联表主外键字段拼接错乱 HOT 5
- [fr] Support strong consistency while using a cache with some kind of locks HOT 1
- JdbcTypes.toJdbcType ignores dialect types for null values HOT 1
- [BUG] Associating Formula Properties with List<String> in the DTO language express an unexpected result HOT 1
- [Feature Request] 增加对逻辑删除的精细控制`setBehavior(Class<?> entityType, LogicalDeletionBehavior behavior)` 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 jimmer.