-
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
HHH-10668 - Add SQL dialect for SQLite 3 #1874
Conversation
@luca-vercelli I fixed the tests in the documentation folder. However, there are several issues that prevent us for integrating it:
Until a fix is proposed at least for the FK issue, we should postpone this integration. |
Yes, I know that ALTER TABLE ADD FK is not supported. Foreign keys must be declared during table definition, see https://sqlite.org/foreignkeys.html. A possible solution for 1. is not to declare at all foreign keys. |
@luca-vercelli Take a look on The Dialect already provides a way to customize them via the:
methods. We need to a way to export the FK in the Table exporter and just have a no-op For 2. We just need to exclude the tests that are causing failures, like |
I have big problems here... I cannot even compile hibernate anymore. The JVM hangs after a random number of tests.
I don't know what is changed, when I sent my previous PR I had not so many tests. there were 369 tests and they worked. |
Maybe it's an OpenJDK bug. I'm using Oracle JDK and it's working just fine. |
Same problem with Oracle JDK. |
Would love to see official SQLite support in Hibernate |
hey, guys, how much time need to allow this merge request? |
We are discussing the way forward for new Dialects in #3783 When we reach a conclusion, we might pick up this Dialect again. |
https://hibernate.atlassian.net/browse/HHH-10668