From 9f2e02a8bf3e0bcc007ceaeeb090ce8457e92590 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 28 Jan 2012 16:25:42 +0000 Subject: [PATCH] [#1087] Change the NTILE function to return Field instead of Field --- jOOQ/src/main/java/org/jooq/impl/Factory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/Factory.java b/jOOQ/src/main/java/org/jooq/impl/Factory.java index 63b676384b..506e2ceed9 100644 --- a/jOOQ/src/main/java/org/jooq/impl/Factory.java +++ b/jOOQ/src/main/java/org/jooq/impl/Factory.java @@ -3750,8 +3750,8 @@ public class Factory implements FactoryOperations { * Sybase. */ @Support({ DB2, POSTGRES, ORACLE, SQLSERVER, SYBASE }) - public static WindowOverStep ntile(int number) { - return new WindowFunction("ntile", SQLDataType.NUMERIC, field("" + number, Integer.class)); + public static WindowOverStep ntile(int number) { + return new WindowFunction("ntile", SQLDataType.INTEGER, field("" + number, Integer.class)); } /**