[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15367845#comment-15367845
]
Craig L Russell commented on JDO-751:
-
I'm still not convinced that optionalPC.orElse(anything) has value
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15367840#comment-15367840
]
Craig L Russell commented on JDO-751:
-
Starting to work on the specification:
Persistent Object Model
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15346784#comment-15346784
]
Andy Jefferson commented on JDO-751:
1. I said DN equates a transient to null (nothing else reasonable to
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15346743#comment-15346743
]
Tilmann Zäschke commented on JDO-751:
-
1. About not being able to handle transient PCs, what about the
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15338646#comment-15338646
]
Tilmann Zäschke commented on JDO-751:
-
Thanks for the feedback.
1. Yes, you are right, and I do not
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15337814#comment-15337814
]
Andy Jefferson commented on JDO-751:
Comments from cursory scan of the patch
1. You use a transient PC
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15315498#comment-15315498
]
Tilmann Zäschke commented on JDO-751:
-
As mentioned in the telecon, I found that the query
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244689#comment-15244689
]
Tilmann Zäschke commented on JDO-751:
-
Interesting. I had tried it with variables, but they only gave me
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243188#comment-15243188
]
Craig L Russell commented on JDO-751:
-
Just looked again at the class file metadata available at
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243176#comment-15243176
]
Craig L Russell commented on JDO-751:
-
Tilmann: It might make more sense simply to say that the behavior
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15224000#comment-15224000
]
Tilmann Zäschke commented on JDO-751:
-
I just realise that throwing an exception during enhancement
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15221921#comment-15221921
]
Craig L Russell commented on JDO-751:
-
Regarding Optional
I think we should throw
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15170485#comment-15170485
]
Tilmann Zäschke commented on JDO-751:
-
The argument or supporting {{orElse()}} would be that these are
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15155124#comment-15155124
]
Renato Garcia commented on JDO-751:
---
{quote}
MemberMetadata.getFieldType should return "Optional". I don't
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15155121#comment-15155121
]
Renato Garcia commented on JDO-751:
---
{quote}
I also think (as I mentioned earlier) properties of the
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15154475#comment-15154475
]
Craig L Russell commented on JDO-751:
-
I'd like to think how to accommodate object databases, where the
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15154457#comment-15154457
]
Craig L Russell commented on JDO-751:
-
Having begun to work with JavaScript over the last few years, I
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15153925#comment-15153925
]
Tilmann Zäschke commented on JDO-751:
-
{quote}
{{Optional.get}} will never give you back a {{null}}, it
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15153660#comment-15153660
]
Renato Garcia commented on JDO-751:
---
{quote}
I still don't get the difference between empty and null.
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15152861#comment-15152861
]
Craig L Russell commented on JDO-751:
-
Here's another try at a solution.
Optional is a Java domain
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15152197#comment-15152197
]
Tilmann Zäschke commented on JDO-751:
-
@Craig
Sorry, I think overlooked your post.
You raised an
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15152165#comment-15152165
]
Tilmann Zäschke commented on JDO-751:
-
I still don't get the difference between empty and null.
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15146397#comment-15146397
]
Renato Garcia commented on JDO-751:
---
What about the type of the returned field in the JDOQL result clause
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15146400#comment-15146400
]
Renato Garcia commented on JDO-751:
---
[~apacheb...@tkuhn.de]
I've edited to my comment to clarify what I
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15146301#comment-15146301
]
Craig L Russell commented on JDO-751:
-
I'd suggest we consider a field of type Optional to be of type T
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144286#comment-15144286
]
Renato Garcia commented on JDO-751:
---
What would be the type of the parameter for a variable in a query?
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144287#comment-15144287
]
Renato Garcia commented on JDO-751:
---
Regarding "shortcuts", I don't see why they change semantics? Aren't
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144519#comment-15144519
]
Renato Garcia commented on JDO-751:
---
I don't think Optional can reference null, it's either a value or
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144474#comment-15144474
]
Tilmann Zäschke commented on JDO-751:
-
I think there still is a problem when writing {{postcode == null}}
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144507#comment-15144507
]
Renato Garcia commented on JDO-751:
---
You shouldn't have null references when using Optional, it defeats the
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144516#comment-15144516
]
Renato Garcia commented on JDO-751:
---
In case we would like to make it not ambiguous in JDOQL how would this
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144485#comment-15144485
]
Tilmann Zäschke commented on JDO-751:
-
I don't think querying for {{null}} is conceptually wrong. It
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144601#comment-15144601
]
Tilmann Zäschke commented on JDO-751:
-
I completely agree, that defeats the purpose of {{Optional}} :-).
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144615#comment-15144615
]
Tilmann Zäschke commented on JDO-751:
-
??How is this related to the "shortcuts" changing semantics, as in
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144996#comment-15144996
]
Tilmann Zäschke commented on JDO-751:
-
Just to repeat what was send at the end of the telecon: I favour
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15145027#comment-15145027
]
Tilmann Zäschke commented on JDO-751:
-
Maybe it should also be considered whether JDO may at some point
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15145294#comment-15145294
]
Renato Garcia commented on JDO-751:
---
{quote}I think it is related because auto-dereferencing means that you
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15145293#comment-15145293
]
Renato Garcia commented on JDO-751:
---
{quote}Fun question (not a likely use-case): How do we treat
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15142722#comment-15142722
]
Tilmann Zäschke commented on JDO-751:
-
??perhaps it should be also true that querying with null on an
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15143012#comment-15143012
]
Craig L Russell commented on JDO-751:
-
I'd like to propose that Optional be strictly a
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15140715#comment-15140715
]
Tilmann Zäschke commented on JDO-751:
-
But what happens in your example if {{foo}} is a variable and is
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15142108#comment-15142108
]
Renato Garcia commented on JDO-751:
---
{quote}
But what happens in your example if foo is a variable and is
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15138522#comment-15138522
]
Andy Jefferson commented on JDO-751:
>From Apache JDO "minutes"
Q. Does it make sense to support
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15138608#comment-15138608
]
Tilmann Zäschke commented on JDO-751:
-
I completely agree with the answers.
Just to clarify the first
[
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15140104#comment-15140104
]
Renato Garcia commented on JDO-751:
---
{quote}
Just to clarify the first question: I see that 'Optional'
45 matches
Mail list logo