Giter Site home page Giter Site logo

Comments (4)

Heeexy avatar Heeexy commented on May 18, 2024

One2Many其实就是个HashMap
查询出了什么错误呢

from springboot-shiro-vue.

simonwangtx avatar simonwangtx commented on May 18, 2024

如果直接在数据库里执行mybatis生成的sql,是正常的。因此应该是mybatis查询完毕之后,映射到OneToMany时出的错。Spring报错截图如下:
github-issue

from springboot-shiro-vue.

simonwangtx avatar simonwangtx commented on May 18, 2024

完整点的log:
github-issue

from springboot-shiro-vue.

simonwangtx avatar simonwangtx commented on May 18, 2024

找到问题了,我单步了一下,发现传入dao接口的参数是"USERNAME"不是"username",所以mybatis读取参数的时候报错了。应该是和我用的oracle数据库有关系,所有数据库字段名称都自动大写了。

from springboot-shiro-vue.

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.