title: How to select 0 in JPA CriteriaQuery select clause
body: <p>Basically I want to translate the below NamedQuery into JPA Criteria query,</p>
  
  <pre><code>SELECT new com.test.vo.ResultVO (0L, 'EmployeeReport', E.FirstName, E.LastName) FROM EmployeeTable E
  </code></pre>
  
  <p>I am using <code>CriteriaBuilder.construct(QueryResultVO, list of columns to be selected)</code>.
  I understand that to get constant <code>'EmployeeReport'</code> I need to use <code>criteriaBuilder.literal('EmployeeReport')</code>.</p>
  
  <p>But the issue is how can I get the <code>0</code> (Long) for the first column value of the select clause?</p>
  
  <p>as I use the construct method, it expects each column to be a extension of <code>javax.persistence.criteria.Selection</code>.</p>