-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle support #25
Comments
For example, Oracle not supported "CREATE IF NOT EXIST": TableUtils.createTableIfNotExists(cs, Account.class); this returns error: ORA-00955: name is already used by an existing object |
Oracle does not support keyword "LIMIT". Using "limit" method: limit(Integer maxRows) results in an error. select * from Accouns where ROWNUM <= 5 or FETCH select * from Accouns FETCH NEXT 5 ROWS ONLY; FETCH can be used in the "orderByRaw" method. orderByRaw("ID DESC FETCH NEXT 5 ROWS ONLY") ormlite does not take into account these differences. |
Sorry for the long delay on this. Thanks. I'll take a look. |
I coded this simple backup in the meantime : public class CustomOracleDatabaseType extends OracleDatabaseType {
@Override
public boolean isLimitSqlSupported() {
return false;
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You can try oracle support using Oracle XE under this page:
http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html
It is free of charge.
It runs in docker also, makes installation much easier:
https://hub.docker.com/r/wnameless/oracle-xe-11g/
Cheers,
Tamas
The text was updated successfully, but these errors were encountered: