Not really sure if this is by design, but please review the following: succeeds:
em.createQuery("from EventsEvent where 1=1");
fails:
em.createQuery("from EventsEvent where true");
fails:
em.createQuery("from EventsEvent where 1");
exception: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST node: true near line 1, column 85 [from tv.twelvetone.medusa.components.provider.sis.api.data.events.EventsEvent where true |