Giter Club home page Giter Club logo

mybatis-mate-examples's People

Contributors

qmdx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mybatis-mate-examples's Issues

insert/update之后对象变成了加密后对象

问题:执行完insert/update语句之后,对象中属性被加密,如果后续需要获取对象里面的值,还需要重新查询一遍数据库。
思考:如果加密前将参数对象copy为新对象是否更好一点,还是说这样没有必要?是否因为考虑性能问题没有加拷贝对象的处理?毕竟正常开发过程中很少会在插入数据库之后再去处理原对象。如果想这样,如执行insert/update语句后打印日志,有没有比较好的方式处理。
当前处理方式:Class.newInstance()然后BeanUtils.copyProperties();JSON.parseObject(JSON.toJsonString(),class)。

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.