GithubHelp home page GithubHelp logo

Comments (5)

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

Hi @18356555003

Oracle Database is reporting that it can not recognize the following as valid SQL:

未找到要求的 FROM 关键字

I only know English, so I can't discern much of the non-English characters. Regardless, I think these should serve as valid names for columns and tables.

I believe there should be SELECT or DELETE keyword at the beginning. If we don't have that, then the database will report ORA-00923.

It looks like you are using Spring to generate this SQL. I think you may want to check with that team about this case.

I hope this helps!

from oracle-r2dbc.

18356555003 avatar 18356555003 commented on June 9, 2024

Thanks @Michael-A-McMahon
The characters is Chinese...
The same code run success with MySQL ,but fail with oracle.
My project : Spring-r2dbc + oracle-r2dbc

from oracle-r2dbc.

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

Have you checked with the Spring R2DBC team?

I think the SQL should be:

SELECT 未找到要求的 FROM 关键字

But Spring is generating SQL without the SELECT:

未找到要求的 FROM 关键字

@mp911de: Any idea about this?

from oracle-r2dbc.

mp911de avatar mp911de commented on June 9, 2024

I'm actually wondering where this problem comes from. In any case, this is the wrong issue tracker when it comes to SQL generation, @18356555003 please file a bug report in https://github.com/spring-projects/spring-data-relational along with a complete reproducer (entity, repository). It would be helpful to also enable debug logging for the org.springframework.r2dbc category to see what SQL is being executed.

from oracle-r2dbc.

Michael-A-McMahon avatar Michael-A-McMahon commented on June 9, 2024

Thanks for the assist, @mp911de!
I'll close this issue as it does not seem to be caused by Oracle R2DBC.

from oracle-r2dbc.

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.