Giter VIP home page Giter VIP logo

Comments (6)

yuxicun avatar yuxicun commented on June 14, 2024 1

image
image
我改写了此类,使之能支持下划线自助转驼峰

from fenix.

pengten avatar pengten commented on June 14, 2024

什么bug?现有的issue吗?

from fenix.

blinkfox avatar blinkfox commented on June 14, 2024

@yuxicun SpringData JPA 每一版都发布,我都会进行测试的,你 issue 中说的问题,是使用上的问题,我们诸多项目中都一直在用的,真有 bug 会及时修复的。

from fenix.

yuxicun avatar yuxicun commented on June 14, 2024

当使用了resultType时,此类必须指向一个vo类,如果指向了一个实体类,将导致查询结果无法映射到实体字段中

from fenix.

blinkfox avatar blinkfox commented on June 14, 2024

新版本开启了,我周末晚上抽空开发此功能,会默认附带一些常用的 Bean 转换器,尝试利用上 @Column 注解,也允许在 @QueryFenix 注解中自定义自己的 Bean 转换器。

from fenix.

blinkfox avatar blinkfox commented on June 14, 2024

新版本 v2.7.0 已发布,将关闭此 issue

新版本变更记录如下:

  • 新增了 ActiveRecord 模式,简单场景的“增删改查”或动态查询更加方便、优雅;
  • 新增了多种可自定义的查询结果列转换为对象实体的转换策略,包括"基于 as 别名转换"(默认)、"下换线转驼峰"、"去除前缀的下划线转驼峰"和"基于 Column 注解转换"等;
  • 新增了 @QueryFenix 注解中的 resultType 的结果实体类型属性,跟 XML 中的 resultType 同义,后续推荐使用注解标注结果类型,重构代码时,能更好的利用上的 Java 的静态编译检查。
  • 新增了 NanoId 的主键生成策略和 Java API 调用方式;
  • 新增和改进了部分文档中的内容,添加了 IDEA 插件地址和其他贡献者的列表;

from fenix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.