Deprecated API


Contents
Deprecated Interfaces
org.jooq.InsertSelectQuery
          - 1.5.9 - Use Factory.insertInto(Table, Select) and do not reference this type directly anymore. 
 

Deprecated Fields
org.jooq.impl.FalseCondition.FALSE_CONDITION
          - Do not use this singleton FalseCondition anymore, as of 1.5.7 
org.jooq.impl.TrueCondition.TRUE_CONDITION
          - Do not use this singleton TrueCondition anymore, as of 1.5.7 
 

Deprecated Methods
org.jooq.Field.ascending()
          - 1.5.8 - Use Field.asc() instead 
org.jooq.QueryPartInternal.bind(Configuration, PreparedStatement)
          - Use QueryPartInternal.bindReference(Configuration, PreparedStatement) instead 
org.jooq.QueryPartInternal.bind(Configuration, PreparedStatement, int)
          - Use QueryPartInternal.bindReference(Configuration, PreparedStatement, int) instead 
org.jooq.Field.concatenate(Field, Field...)
          - 1.5.8 - Use Field.concat(Field...) instead 
org.jooq.Field.concatenate(String, String...)
          - 1.5.8 - Use Field.concat(String...) instead 
org.jooq.impl.Factory.constant(Object...)
          - This method causes issues when overloading. Use Factory.constants(Object...) instead 
org.jooq.Field.descending()
          - 1.5.8 - Use Field.desc() instead 
org.jooq.Field.divide(Field)
          - 1.5.8 - Use Field.div(Field) instead 
org.jooq.Field.divide(Number)
          - 1.5.8 - Use Field.div(Number) instead 
org.jooq.Attachable.getConfiguration()
          - This will be moved to the AttachableInternal internal API, soon. Do not reference directly. 
org.jooq.impl.Factory.getFactory(Configuration)
          - 1.6.0 - This is part of the internal API. Do not reuse 
org.jooq.impl.Factory.getFactory(SQLDialect)
          - 1.6.0 - This is part of the internal API. Do not reuse 
org.jooq.Updatable.getMainUniqueKey()
          - 1.5.9 - Use UpdatableTable.getMainKey() instead 
org.jooq.impl.UpdatableTableImpl.getMainUniqueKey()
           
org.jooq.impl.UpdatableRecordImpl.getMainUniqueKey()
           
org.jooq.Updatable.getPrimaryKey()
          - 1.5.7 - Use Updatable.getMainUniqueKey() instead 
org.jooq.impl.UpdatableTableImpl.getPrimaryKey()
           
org.jooq.impl.UpdatableRecordImpl.getPrimaryKey()
           
org.jooq.Record.hasChangedValues()
          - This method is part of the internal API and will be removed in the future. 
org.jooq.impl.Factory.insertQuery(Table, Select)
          - 1.5.9 - Use the DSL syntax instead: Factory.insertInto(Table, Select) 
org.jooq.SelectJoinStep.leftJoin(String)
          - Use SelectJoinStep.leftOuterJoin(String) instead 
org.jooq.SelectJoinStep.leftJoin(String, Object...)
          - Use SelectJoinStep.leftOuterJoin(String, Object...) instead 
org.jooq.SelectJoinStep.leftJoin(TableLike)
          - Use SelectJoinStep.leftOuterJoin(TableLike) instead 
org.jooq.Field.multiply(Field)
          - 1.5.8 - Use Field.mul(Field) instead 
org.jooq.Field.multiply(Number)
          - 1.5.8 - Use Field.mul(Number) 
org.jooq.impl.Factory.NULL()
          - Use Factory.constant(Object) instead. Cast the constant to any type, if this is necessary in your RDBMS dialect. 
org.jooq.SelectJoinStep.rightJoin(String)
          - Use SelectJoinStep.rightOuterJoin(String) instead 
org.jooq.SelectJoinStep.rightJoin(String, Object...)
          - Use SelectJoinStep.rightOuterJoin(String, Object...) instead 
org.jooq.SelectJoinStep.rightJoin(TableLike)
          - Use SelectJoinStep.rightOuterJoin(TableLike) instead 
org.jooq.impl.Factory.rownum()
          - 1.5.9 - This Oracle-specific field will be removed from the general API soon. Use OracleFactory.rownum() instead, or the more general Factory.rowNumberOver() window function. 
org.jooq.impl.Factory.select(Object...)
          - 1.5.9 - [#529] - This signature is too general and leads to major confusion when users want to use Factory.select(Field...) but in fact the compiler links Factory.select(Object...).

Use Factory.selectZero() or Factory.selectOne() instead, if you're just selecting dummy values.

Use Factory.constants(Object...) if you really intend to select several constants 

org.jooq.Field.subtract(Field)
          - 1.5.8 - Use Field.sub(Field) instead 
org.jooq.Field.subtract(Number)
          - 1.5.8 - Use Field.sub(Number) instead 
 

Deprecated Constructors
org.jooq.impl.TableFieldImpl(Configuration, String, Class, Table)
           
org.jooq.impl.TableFieldImpl(SQLDialect, String, Class, Table)
           
org.jooq.impl.TableRecordImpl(Configuration, Table)
          - TableRecords should not hold a reference to Configuration. Use the other constructor instead. 
org.jooq.impl.UpdatableRecordImpl(Configuration, UpdatableTable)
          - Use UpdatableRecordImpl.UpdatableRecordImpl(UpdatableTable, Configuration) instead 
 

Deprecated Enum Constants
org.jooq.JoinType.LEFT_JOIN
          - Use JoinType.LEFT_OUTER_JOIN instead 
org.jooq.JoinType.RIGHT_JOIN
          - Use JoinType.RIGHT_OUTER_JOIN instead 
org.jooq.SQLDialect.SQL99
          - Do not reference this pseudo-dialect. It is only used for unit testing 
 



Copyright © 2011. All Rights Reserved.