Coder Social home page Coder Social logo

pot-mot / jimmer-code-gen-kotlin Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.39 MB

Jimmer Code Gen 旨在快捷创建 Jimmer 下实体与关联。此处为后端仓库,基于 Kotlin + Gradle 编写。

Home Page: https://pot-mot.github.io/jimmer-code-gen-doc/

License: GNU General Public License v3.0

PLpgSQL 5.50% Kotlin 94.50%
jimmer kotlin java jimmer-code-gen

jimmer-code-gen-kotlin's People

Contributors

pot-mot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

jimmer-code-gen-kotlin's Issues

[TODO] 支持 embedded

计划以一种新 association type + 新 table type 进行控制。
考虑到目前table type的命名歧义(隶属于数据库的表类型如VIEW,隶属于实体的mappedSuperclass),未来可能会考虑进一步调整目前对table的定位。

[BUG] 继承映射 TableDefine 的外键存在问题

在继承表上的外键实际需要被映射到其他表上,需要调整 outAssociation 和 inAssociation 中的外键名称。
此时还需要考虑两个抽象表间的关联(可能需要被排除)。
以及前端生成的默认名称可能重复,需要补充校验。

[BUG] schemacrawler 库 ColumnReference.getPrimaryKeyColumn().getFullName() 方法返回带引号的值

jimmer-code-gen 版本:0.0.9
数据库版本:Mysql8.0

当表名为 user 时 getPrimaryKeyColumn().getFullName() 返回的值包含引号例如 xxx."user".xxx
似乎是因为 user 为 MySQL 的保留字

出现问题的位置

val targetNameList = primaryKeyColumn.fullName.split(".").reversed()

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.