disable test for no-longer-allowed literal syntax
I had to disallow this because it was too ambiguous
This commit is contained in:
parent
ae978b3d10
commit
a9414fa6be
|
@ -166,8 +166,9 @@ public class LiteralTests {
|
|||
// .list();
|
||||
session.createQuery( "from EntityOfBasics e1 where e1.theTimestamp = datetime 2018-01-01 12:30:00+05:00" )
|
||||
.list();
|
||||
session.createQuery( "from EntityOfBasics e1 where e1.theTimestamp = datetime 2018-01-01 12:30:00+05" )
|
||||
.list();
|
||||
//ambiguous, now disallowed!
|
||||
// session.createQuery( "from EntityOfBasics e1 where e1.theTimestamp = datetime 2018-01-01 12:30:00+05" )
|
||||
// .list();
|
||||
|
||||
session.createQuery( "from EntityOfBasics e1 where e1.theTimestamp = {ts '2018-01-01T12:30:00 GMT'}" )
|
||||
.list();
|
||||
|
|
Loading…
Reference in New Issue