jimmer icon indicating copy to clipboard operation
jimmer copied to clipboard

A revolutionary ORM framework for both java and kotlin.

Results 84 jimmer issues
Sort by recently updated
recently updated
newest added

![f9eba97ae3c9e313000eef8f79afdc73](https://github.com/babyfish-ct/jimmer/assets/28248888/8681f74d-7347-42d2-9c78-042760234641) ![c98a4c351a972a8d547021add9c4da95](https://github.com/babyfish-ct/jimmer/assets/28248888/6ede3b24-91ca-4476-907c-7d989cf8cfe3)

Hibernate Validator是为pojo设计的,无法很好地处理unloaded,我发现了 org.hibernate.validator.engine.HibernateValidatorEnhancedBean这个接口: Hibernate Validator specific marker interface. Beans implementing this interface would use corresponding $$_hibernateValidator_getFieldValue(String) and $$_hibernateValidator_getGetterValue(String) methods to retrieve bean property values instead of using reflection or any...

当接口被上游转发时,会导致openapi.html找不到openapi.yml,请考虑生产环境下路径会被转的场景 ![LT%6ST_U@50URL36UDD}(YI](https://github.com/babyfish-ct/jimmer/assets/108124249/22cd549f-9aa5-42e1-8a79-8428e7883fae)

递归查询时,`FETCHER`中指定`createTime`字段不进行查询输出 ```kotlin val RECURSIVE_FETCHER = newFetcher(SystemPermission::class).by { allScalarFields() createTime(false) updateTime(false) `children*` { depth(10) recursive { entity.enabled } } } ``` 期望结果:所有元素均不输出`createTime` 实际结果:只有根元素不输出`createTime`,但是递归`children`时输出`createTime` ```diff [ { "id": 3, "name": "系统管理", "permission":...

将 RestController 和ResponseBody 的Dto写在一个文件中,会导致这个接口不在openApi上展示出来 ![image](https://github.com/babyfish-ct/jimmer/assets/108124249/7b2abad7-fc31-441c-91fb-5a93714fb86a)

设置字段的`ScalarProvider` ![图片](https://user-images.githubusercontent.com/18047536/233920293-a8447a82-936f-41d8-89be-862ffa2c86cf.png) 以表为单位查询时,是正常的 ```kotlin fun findParamsById(id: Int): List { return sql .createQuery(ScanDimension::class) { where(table.id eq id) select(table) // table.fetchBy { params() } } .fetchOne() .params } ``` 直接以字段为单位查询,就会报错“找不到`ScanDimension.params`对应的`ScalarProvider`” ```kotlin fun...

pending

Was checking for a different library to start a `GraphQL` project and avoid the usual over-fetching / under-fetching problem at the database layer, and I found `Jimmer`. Looks like there...

pending

jimmer client现在不支持文件下载希望支持,有个注意点:业务上可能需要取得后台返回的文件名(通常在相应头中设置,考虑下怎么处理)

pending

如:在保存bookstore时,会把其他bookstore相同name、edition相同的book抢夺过来。 1.长关联保存的子对象,一般是不可移交的 2.开发人员可能疏忽,忘记在多对一的关联上加@Key会导致此问题 3.此问题发生全程无感,难以察觉

pending

如官网文档中的例子: ```kotlin @Embeddable interface FullName { val firstName: String val lastName: String } ``` ```kotlin @Entity interface Author { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long val name: FullName }...

pending