-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
SQLite dialect #1865
SQLite dialect #1865
Conversation
Thanks @luca-vercelli. I'll review on Monday. |
@luca-vercelli Did you sign the CLA? |
You have a merge commit which prevents me from rebasing your work on top of master. Try squashing all your changes and submit it as one commit so that I can integrate it. We never issue any merge between branches. We always rebase. |
|
||
@Override | ||
public boolean hasAlterTable() { | ||
// As specified in NHibernate dialect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this imported from NHibernate? Can we check it how it works there too?
@Override | ||
public boolean hasDataTypeInIdentityColumn() { | ||
// As specified in NHibernate dialect | ||
// FIXME true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How should this be fixed in future. Is this also something related to NHibernate?
build.gradle
Outdated
@@ -169,6 +169,12 @@ subprojects { subProject -> | |||
testRuntime( libraries.mssql ) | |||
testRuntime( libraries.informix ) | |||
|
|||
if (db.equalsIgnoreCase("sqlite")) { | |||
dependencies { | |||
testRuntime( libraries.sqlite ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not providing it by default? The Oracle is a special case because it's not available on Maven Central.
@luca-vercelli I see you committed on master on your fork. This is not usually a good thing to do since it restricts you to fetching the latest changes from upstream. What you can do to easily fix the merge commit problem is to follow these steps:
Then you should have all changes in the The master branch should be reset so that all extra commits you've done are removed. Then you can merge from upstream/master, assuming you added the upstream mirror, and then you can also rebase the |
@vladmihalcea, yes, I just begun to work on this. I will create a new branch ASAP. |
@luca-vercelli Thanks |
Dear @vladmihalcea your suggestion does not work. I did:
|
Maybe I could just drop completely my repository, then create a new one again and put all gwenn's modified files as they were mine... I don't like that so much... |
You can also use |
You should find a new branch sqlite. I have git cherry-picked all commits but merge commits into that branch. |
Thanks. I'll check it out on Monday. |
Replaced by this PR. |
As discussed here, I have updated gradle configuration for including SQLite dialect.
Out of 369 tests, 28 fails and 42 are ignored, with a 91% of success. I guess tests fail due to JDBC limitations. Here is the list of failing tests: