disable test for no-longer-allowed literal syntax

I had to disallow this because it was too ambiguous
This commit is contained in:
Gavin 2023-01-13 15:47:14 +01:00 committed by Gavin King
parent ae978b3d10
commit a9414fa6be
1 changed files with 3 additions and 2 deletions

View File

@ -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();