did I find a bug or is my brain not working? it should be an AND not an OR
                                
                                
                                
                                    
                                        by Jason Pyeron
                                    
                                
                                
                                        In my criteria I have root.get(Signature_.parent).isNotNull()
is producing this in the where clause
(signature0_.parent is not null or signature0_.request_id is not null)
>From the Entity:
    @ManyToOne
    @JoinColumns
    ({
            @JoinColumn(name = "request_id", referencedColumnName = "request_id", insertable = false, updatable = false),
            @JoinColumn(name = "parent", referencedColumnName = "id", insertable = false, updatable = false)
    })
    public Signature getParent()
using hibernate 5.2.18 
--
Jason Pyeron  | Architect
PD Inc        |
10 w 24th St  |
Baltimore, MD |
 
.mil: jason.j.pyeron.ctr(a)mail.mil
.com: jpyeron(a)pdinc.us
tel : 202-741-9397
                                
                         
                        
                                
                                5 years, 3 months