Named parameters vs ordinal parameters in JPA

Named Parameters (:name) vs Ordinal Parameters (?index)

Besides the notation difference, named parameters and ordinal parameters are identical. Named parameters can provide added value to the clarity of the query string (assuming that meaningful names are selected). Therefore, they are preferred over ordinal parameters.


Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file