/** * This method is used to format any date string. * * @param date the Date to format * @return The date formatted String for Oracle. * @deprecated use to_date function. */ public String getDateString(String date) { return to_date(date); }
/** * This method overrides the JDBC escapes used to format dates * using a <code>DateFormat</code>. As of version 2.0.11, the MM * JDBC driver does not implement JDBC 3.0 escapes. * * @param date the date to format * @return The properly formatted date String. */ public String to_date(Date date) { return to_date(date,this.date_format); }
public Domain getDomainForSchemaType(SchemaType jdbcType) { // TODO Auto-generated method stub return this.getDomainForSchemaType(jdbcType); }
/** * This method is used to format any date string. * * @param date * the Date to format * @return The date formatted String for Oracle. * @deprecated use to_date function. */ public String getDateString(Date date,String format) { return to_date( date,format); }
protected static void initOracleDB() throws InstantiationException { if(oracleDB != null) return; synchronized(lock) { if(oracleDB != null) return; oracleDB = DBFactory.create("oracle"); } } public static void updateBLOB(Blob blob,File file) throws SQLException
/** * This method is used to ignore case. * * @param in The string whose case to ignore. * @return The string in a case that can be ignored. */ public String ignoreCase(String str) { return toUpperCase(str); }
/** * 获取指定数据的分页数据sql语句 * * @param sql * @return */ public PagineSql getDBPagineSql(String sql, long offset, int maxsize, boolean prepared) { return new PagineSql(sql, -1L, -1L, offset, maxsize, prepared); }
/** * This method is used to ignore case. * * @param in The string whose case to ignore. * @return The string in a case that can be ignored. */ public String ignoreCase(String in) { String s = formatCase(in); return s; }
/** * This method is used to ignore case. * * @param in The string whose case to ignore. * @return The string in a case that can be ignored. */ public String ignoreCase(String in) { return toUpperCase(in); }
/** * This method is used to ignore case in an ORDER BY clause. * Usually it is the same as ignoreCase, but some databases * (Interbase for example) does not use the same SQL in ORDER BY * and other clauses. * * @param in The string whose case to ignore. * @return The string in a case that can be ignored. */ public String ignoreCaseInOrderBy(String in) { return ignoreCase(in); }
/** * 获取指定数据库的分页数据sql语句,通过oracle的高效查询语句 * * @param prepared * @return */ public PagineSql getDBPagineSqlForOracle(boolean prepared) { return this.dbadapter .getOracleDBPagineSql(sql, offset, maxsize, rownum, prepared); }
/** * This method is used to format any date string. * * @param date the Date to format * @return The date formatted String for Oracle. */ public String filedToDateFunction(String date) { return filedToDateFunction( date,this.date_format); }
public Domain getDomainForSchemaType(SchemaType jdbcType) { // TODO Auto-generated method stub return this.getDomainForSchemaType(jdbcType); }
public Domain getDomainForSchemaType(SchemaType jdbcType) { // TODO Auto-generated method stub return this.getDomainForSchemaType(jdbcType); }
/** * This method is used to format any date string. * Database can use different default date formats. * * @param date the Date to format * @return The proper date formatted String. * @deprecated use to_date function. */ public String getDateString(Date date, String format) { return to_date(date, format); }
/** * @deprecated use to_date function. */ public String getDateString(String date,String format) { return to_date( date,format); }
/** * This method is used to format any date string. * Database can use different default date formats. * * @param date the Date to format * @return The proper date formatted String. * @deprecated use to_date function. */ public String getDateString(Date date) { return to_date(date); }
/** * @deprecated use to_date function. */ public String getDateString(String date) { return to_date( date,date_format); }
/** * This method is used to format any date string. * * @param date the Date to format * @return The date formatted String for Oracle. * @deprecated use to_date function. */ public String getDateString(String date, String format) { return to_date(date, format); }
/** * This method is used to format any date string. * * @param date * the Date to format * @return The date formatted String for Oracle. */ public String to_date(Date date) { return to_date( date,this.date_format); }