When using OGM we don't deal with JDBC driver. We are talking about JPA positional parameters. If I remember correctly is ?1 ?2 and so on. Remember that OGM tries to implements the JPA specification. If in doubt, OGM should work like the version of ORM that it is included in the project. You also need to check the value of the property: sessionFactory.getSessionFactoryOptions().jdbcStyleParamsZeroBased() to identify if the parameters can start with 1 or 0. I haven't checked the details and it might not matter for the OGM case. You need to dig a bit. |