From 7f8eb84b701a4e113c0c9f9075ef5fbb6e4e28fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Westk=C3=A4mper?= Date: Wed, 10 Mar 2010 12:27:10 +0000 Subject: [PATCH] --- .../com/mysema/query/sql/oracle/OracleGrammar.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/querydsl-sql/src/main/java/com/mysema/query/sql/oracle/OracleGrammar.java b/querydsl-sql/src/main/java/com/mysema/query/sql/oracle/OracleGrammar.java index cc0f99c30..09f2abaf8 100644 --- a/querydsl-sql/src/main/java/com/mysema/query/sql/oracle/OracleGrammar.java +++ b/querydsl-sql/src/main/java/com/mysema/query/sql/oracle/OracleGrammar.java @@ -7,12 +7,11 @@ package com.mysema.query.sql.oracle; import java.util.Date; -import com.mysema.query.types.expr.EComparableBase; +import com.mysema.query.types.expr.EDate; import com.mysema.query.types.expr.ENumber; import com.mysema.query.types.expr.Expr; -import com.mysema.query.types.path.PComparable; +import com.mysema.query.types.path.PDate; import com.mysema.query.types.path.PNumber; -import com.mysema.query.types.path.PathMetadataFactory; /** * OracleGrammar provides Oracle specific extensions to the SqlGrammar @@ -26,11 +25,11 @@ public final class OracleGrammar { // global columns - public static final ENumber level = new PNumber(Integer.class, PathMetadataFactory.forVariable("level")); + public static final ENumber level = new PNumber(Integer.class, "level"); - public static final ENumber rownum = new PNumber(Integer.class, PathMetadataFactory.forVariable("rownum")); + public static final ENumber rownum = new PNumber(Integer.class, "rownum"); - public static final EComparableBase sysdate = new PComparable(Date.class, PathMetadataFactory.forVariable("sysdate")); + public static final EDate sysdate = new PDate(Date.class, "sysdate"); // custom functions