Comments (8)
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.
Use H2 now, can not make a test, sorry.Love OrmLite, simple and easy. :)
from ormlite-jdbc.
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.
No, I mean H2 is ok . everything is fine when I switch to H2.
from ormlite-jdbc.
This still an Issue under odbc, should keep open ?
from ormlite-jdbc.
Oh, ok. Yeah, let's leave it open.
from ormlite-jdbc.
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.
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)
- Column Sizes Shrinking HOT 5
- Succeed use for SQLite in Windows, but failed in Mac. HOT 3
- Compatibility with Java 9. HOT 7
- UnsatisfiedLinkError: couldn't find "libsqlitejdbc.so" HOT 4
- SQLCipher in Ormlite SQLITE DB JDBC
- The ODBC database type should be deprecated/removed
- How to connect two entities in different tables HOT 6
- `DATABASE_URL == null` should throw an exception HOT 1
- Asynchronous JDBC HOT 5
- Duplicate package names in core and jdbc jars HOT 1
- Update not null columns HOT 4
- broken links in ยง7 (example code) of documentation HOT 1
- NullPointerException when use JdbcSingleConnectionSource HOT 1
- @DatabaseField(foreign = true) doesn't generate foreign key constraints HOT 3
- [MariaDbDatabaseType] isCreateIndexIfNotExistsSupported returns false although the feature is supported
- Problems to detect existing tables with mariadb-java-client 3.x.y
- Support for SQL query index hints. HOT 1
- Statement getGeneratedKeys HOT 6
- `generatedId` field not supported since Xerial SQLite driver 3.43.0.0 HOT 1
- Security vulnerability - SQL injection #147
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ormlite-jdbc.