Conversation
Signed-off-by: Aaron Young <aaron.young@gmail.com>
e520b79 to
e9b91d0
Compare
|
It just occurred to me that we need to do more work on this. This is because the lookup query will end up generating What we can do is convert nulls to In other words, there's no clean way to support null as first class value, but the above solution seems to be a decent compromise. |
|
The |
|
Why don't we just generate |
|
This was what I was going to originally propose until I realized that inserts with null values will anyway fail because of primary key constraints. |
|
The thing about null primary keys is they don't really matter for our use case because we use Hibernate. I'm also kind of of the mind that if you allow nulls in your primary key you deserve all the trouble you're asking for :) |
Signed-off-by: Aaron Young aaron.young@gmail.com