*/
public ScalarExpression newScalarExpression(QueryExpression qs, LogicSetExpression te)
{
if (singleColumn)
{
return new SqlTemporalExpression(qs, this, te);
}
else
{
// [CORE-2802]
throw new JPOXUserException("JPOX doesnt support querying of Calendar fields when stored as 2 columns");