Giter Club home page Giter Club logo

Comments (5)

easybest avatar easybest commented on July 20, 2024

I have found the reason.

you can use 1.0.8.BUILD-SNAPSHOT and have a try again.

from spring-data-mybatis.

kopax avatar kopax commented on July 20, 2024

Strange, I've build from master a 1.0.8 snapshot, I've checked before if the build contains that modification

builder.append(dialect.wrapColumnName(association.getJoinColumnName())).append(",");

and I still have this error :

### Error updating database.  Cause: org.postgresql.util.PSQLException: ERROR: column "company_ID" of relation "CUSTOMER" does not exist
  Position: 150
### The error may involve com.domain.customerManagement.Customer._insert-Inline
### The error occurred while setting parameters
### SQL: insert into "CUSTOMER"("ACTIVE","CREATION_DATETIME","FIRST_NAME","LAST_NAME","MODIFICATION_DATETIME","PRINCIPAL_PHONE","PRINCIPAL_ADDRESS","VERSION","company_ID") values(?,?,?,?,?,?,?,?,?)

So now it is escaped with double quote, but the table table name is still a lower case

from spring-data-mybatis.

easybest avatar easybest commented on July 20, 2024
@JdbcType(BIGINT)
@OneToOne(referencedColumnName = "COMPANY_ID")
@NotNull
private Company company;

change to :

@OneToOne
@JoinColumn(name = "COMPANY_ID")
@NotNull
private Company company;

from spring-data-mybatis.

easybest avatar easybest commented on July 20, 2024

Is it OK now ? @kopax

from spring-data-mybatis.

kopax avatar kopax commented on July 20, 2024

I've just tested out but not in depth, It is now working without any hassle.

Thank you for that,

At the mean time, merry x-mas && happy new year

from spring-data-mybatis.

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.