Giter VIP home page Giter VIP logo

Comments (8)

j256 avatar j256 commented on September 28, 2024

This is for oracle? Can you try overriding the default OracleDatabaseType and the following method. You can then pass the custom database type to the JdbcConnectionSource constructor. Does that work? If it does I will make the change in trunk and it will be in the next release. Unfortunately I don't have access to an Oracle database to test ORMLite. :-(

public boolean isLimitAfterSelect() {
    return true;
}

from ormlite-jdbc.

wenerme avatar wenerme commented on September 28, 2024

Use H2 now, can not make a test, sorry.Love OrmLite, simple and easy. :)

from ormlite-jdbc.

j256 avatar j256 commented on September 28, 2024

H2 doesn't work with limit? I'm very surprised since it is my test DB and I have a ton of test coverage around limit. Can you write a small unit test that fails for you?

from ormlite-jdbc.

wenerme avatar wenerme commented on September 28, 2024

No, I mean H2 is ok . everything is fine when I switch to H2.

from ormlite-jdbc.

wenerme avatar wenerme commented on September 28, 2024

This still an Issue under odbc, should keep open ?

from ormlite-jdbc.

j256 avatar j256 commented on September 28, 2024

Oh, ok. Yeah, let's leave it open.

from ormlite-jdbc.

j256 avatar j256 commented on September 28, 2024

I'm going to close this because I can't figure out what the appropriate Oracle fu is. Someone is free to reopen if they have more information.

from ormlite-jdbc.

martinbaste avatar martinbaste commented on September 28, 2024

Hi! I'm having this exact same problem. The exception after the change is the following:
java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
before the change it was:
java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended

Any other suggestions?

Thanks!

from ormlite-jdbc.

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.