mirror of https://github.com/apache/openjpa.git
OPENJPA-1178:
Remove uneeded imports git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
62092d763a
commit
c58af533fb
|
@ -41,7 +41,6 @@ import org.apache.openjpa.meta.FieldMetaData;
|
||||||
import org.apache.openjpa.util.ApplicationIds;
|
import org.apache.openjpa.util.ApplicationIds;
|
||||||
import org.apache.openjpa.util.Id;
|
import org.apache.openjpa.util.Id;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements Finder Query identified by ClassMappping for SelectExecutor that
|
* Implements Finder Query identified by ClassMappping for SelectExecutor that
|
||||||
|
|
|
@ -73,7 +73,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.meta.ValueMetaData;
|
import org.apache.openjpa.meta.ValueMetaData;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JDBC query implementation.
|
* JDBC query implementation.
|
||||||
|
|
|
@ -45,7 +45,6 @@ import org.apache.openjpa.lib.util.Options;
|
||||||
import org.apache.openjpa.util.MetaDataException;
|
import org.apache.openjpa.util.MetaDataException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.openjpa.kernel.ResultPacker;
|
||||||
import org.apache.openjpa.lib.rop.ResultObjectProvider;
|
import org.apache.openjpa.lib.rop.ResultObjectProvider;
|
||||||
import org.apache.openjpa.util.StoreException;
|
import org.apache.openjpa.util.StoreException;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides all column data in a {@link ResultSet}.
|
* Provides all column data in a {@link ResultSet}.
|
||||||
|
|
|
@ -48,7 +48,6 @@ import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.meta.ClassMetaData;
|
import org.apache.openjpa.meta.ClassMetaData;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A SQL query.
|
* A SQL query.
|
||||||
|
|
|
@ -58,7 +58,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.InvalidStateException;
|
import org.apache.openjpa.util.InvalidStateException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// NOTE: Do not change property names; see SequenceMetaData
|
// NOTE: Do not change property names; see SequenceMetaData
|
||||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.openjpa.jdbc.kernel.exps;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.apache.openjpa.jdbc.sql.Select;
|
import org.apache.openjpa.jdbc.sql.Select;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests whether one value contains another.
|
* Tests whether one value contains another.
|
||||||
|
|
|
@ -34,7 +34,6 @@ import org.apache.openjpa.util.ApplicationIds;
|
||||||
import org.apache.openjpa.util.Id;
|
import org.apache.openjpa.util.Id;
|
||||||
import org.apache.openjpa.util.OpenJPAId;
|
import org.apache.openjpa.util.OpenJPAId;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Select the oid value of an object; typically used in projections.
|
* Select the oid value of an object; typically used in projections.
|
||||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.openjpa.jdbc.sql.SQLBuffer;
|
||||||
import org.apache.openjpa.jdbc.sql.Select;
|
import org.apache.openjpa.jdbc.sql.Select;
|
||||||
import org.apache.openjpa.kernel.exps.ExpressionVisitor;
|
import org.apache.openjpa.kernel.exps.ExpressionVisitor;
|
||||||
import org.apache.openjpa.meta.XMLMetaData;
|
import org.apache.openjpa.meta.XMLMetaData;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test if one string starts with another.
|
* Test if one string starts with another.
|
||||||
|
|
|
@ -24,7 +24,6 @@ import java.sql.Time;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
|
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Java SQL type constants.
|
* Java SQL type constants.
|
||||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.openjpa.jdbc.sql.Joins;
|
||||||
import org.apache.openjpa.jdbc.sql.Result;
|
import org.apache.openjpa.jdbc.sql.Result;
|
||||||
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
||||||
import org.apache.openjpa.util.Id;
|
import org.apache.openjpa.util.Id;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link Joinable} for the datastore identity column.
|
* {@link Joinable} for the datastore identity column.
|
||||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.openjpa.jdbc.schema.Column;
|
||||||
import org.apache.openjpa.jdbc.schema.Schemas;
|
import org.apache.openjpa.jdbc.schema.Schemas;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uses multiple version numbers spanning multiple columns for optimistic
|
* Uses multiple version numbers spanning multiple columns for optimistic
|
||||||
|
|
|
@ -24,7 +24,6 @@ import java.util.HashMap;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import org.apache.openjpa.jdbc.schema.Column;
|
import org.apache.openjpa.jdbc.schema.Column;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uses a version number for optimistic versioning.
|
* Uses a version number for optimistic versioning.
|
||||||
|
|
|
@ -70,7 +70,6 @@ import org.apache.openjpa.util.ObjectId;
|
||||||
import org.apache.openjpa.util.OpenJPAId;
|
import org.apache.openjpa.util.OpenJPAId;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mapping for a single-valued relation to another entity.
|
* Mapping for a single-valued relation to another entity.
|
||||||
|
|
|
@ -32,7 +32,6 @@ import org.apache.openjpa.jdbc.identifier.QualifiedDBIdentifier;
|
||||||
import org.apache.openjpa.jdbc.meta.JavaSQLTypes;
|
import org.apache.openjpa.jdbc.meta.JavaSQLTypes;
|
||||||
import org.apache.openjpa.jdbc.meta.VersionStrategy;
|
import org.apache.openjpa.jdbc.meta.VersionStrategy;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a database column. Closely aligned with the column
|
* Represents a database column. Closely aligned with the column
|
||||||
|
|
|
@ -45,7 +45,6 @@ import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.lib.util.Options;
|
import org.apache.openjpa.lib.util.Options;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.GeneralException;
|
import org.apache.openjpa.util.GeneralException;
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.lib.util.Localizer.Message;
|
import org.apache.openjpa.lib.util.Localizer.Message;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom SAX parser used to parse {@link Schema} objects. The parser
|
* Custom SAX parser used to parse {@link Schema} objects. The parser
|
||||||
|
|
|
@ -125,7 +125,6 @@ import org.apache.openjpa.util.StoreException;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,7 +60,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.StoreException;
|
import org.apache.openjpa.util.StoreException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dictionary for Oracle.
|
* Dictionary for Oracle.
|
||||||
|
|
|
@ -44,7 +44,6 @@ import org.apache.openjpa.jdbc.meta.JavaSQLTypes;
|
||||||
import org.apache.openjpa.jdbc.schema.Column;
|
import org.apache.openjpa.jdbc.schema.Column;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base {@link Result} implementation wrapped around a result set.
|
* Base {@link Result} implementation wrapped around a result set.
|
||||||
|
|
|
@ -45,7 +45,6 @@ import org.apache.openjpa.jdbc.schema.Table;
|
||||||
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic {@link Row} implementation.
|
* Basic {@link Row} implementation.
|
||||||
|
|
|
@ -38,7 +38,6 @@ import org.apache.openjpa.jdbc.schema.Sequence;
|
||||||
import org.apache.openjpa.jdbc.schema.Table;
|
import org.apache.openjpa.jdbc.schema.Table;
|
||||||
import org.apache.openjpa.kernel.exps.Parameter;
|
import org.apache.openjpa.kernel.exps.Parameter;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Buffer for SQL statements that can be used to create
|
* Buffer for SQL statements that can be used to create
|
||||||
|
|
|
@ -61,7 +61,6 @@ import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.util.ApplicationIds;
|
import org.apache.openjpa.util.ApplicationIds;
|
||||||
import org.apache.openjpa.util.Id;
|
import org.apache.openjpa.util.Id;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard {@link Select} implementation. Usage note: though this class
|
* Standard {@link Select} implementation. Usage note: though this class
|
||||||
|
|
|
@ -51,7 +51,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.meta.MetaDataRepository;
|
import org.apache.openjpa.meta.MetaDataRepository;
|
||||||
import org.apache.openjpa.util.ObjectNotFoundException;
|
import org.apache.openjpa.util.ObjectNotFoundException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link StoreQuery} implementation that caches the OIDs involved in
|
* A {@link StoreQuery} implementation that caches the OIDs involved in
|
||||||
|
|
|
@ -101,7 +101,6 @@ import serp.bytecode.MethodInstruction;
|
||||||
import serp.bytecode.Project;
|
import serp.bytecode.Project;
|
||||||
import serp.bytecode.TableSwitchInstruction;
|
import serp.bytecode.TableSwitchInstruction;
|
||||||
import serp.bytecode.ClassInstruction;
|
import serp.bytecode.ClassInstruction;
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,7 +32,6 @@ import org.apache.openjpa.meta.ValueMetaData;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import org.apache.openjpa.util.ImplHelper;
|
import org.apache.openjpa.util.ImplHelper;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of {@link OpenJPAStateManager} designed to retrieve
|
* Implementation of {@link OpenJPAStateManager} designed to retrieve
|
||||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.openjpa.meta.ClassMetaData;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.meta.ValueMetaData;
|
import org.apache.openjpa.meta.ValueMetaData;
|
||||||
import org.apache.openjpa.util.GeneralException;
|
import org.apache.openjpa.util.GeneralException;
|
||||||
import org.apache.openjpa.util.ImplHelper;
|
import org.apache.openjpa.util.ImplHelper;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* State manager used to access state of embedded object id primary key fields.
|
* State manager used to access state of embedded object id primary key fields.
|
||||||
|
|
|
@ -66,7 +66,6 @@ import org.apache.openjpa.util.OpenJPAException;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -68,7 +68,6 @@ import org.apache.openjpa.util.OpenJPAId;
|
||||||
import org.apache.openjpa.util.ProxyManager;
|
import org.apache.openjpa.util.ProxyManager;
|
||||||
import org.apache.openjpa.util.RuntimeExceptionTranslator;
|
import org.apache.openjpa.util.RuntimeExceptionTranslator;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the {@link OpenJPAStateManager} interface for use
|
* Implementation of the {@link OpenJPAStateManager} interface for use
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
package org.apache.openjpa.kernel;
|
package org.apache.openjpa.kernel;
|
||||||
|
|
||||||
import org.apache.openjpa.meta.ClassMetaData;
|
import org.apache.openjpa.meta.ClassMetaData;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// NOTE: Do not change property names; see SequenceMetaData
|
// NOTE: Do not change property names; see SequenceMetaData
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.openjpa.kernel;
|
package org.apache.openjpa.kernel;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link LockManager} implementation that provides support
|
* {@link LockManager} implementation that provides support
|
||||||
|
|
|
@ -22,7 +22,6 @@ import java.math.BigDecimal;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.Filters;
|
import org.apache.openjpa.kernel.Filters;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Take the absolute value of a number.
|
* Take the absolute value of a number.
|
||||||
|
|
|
@ -22,7 +22,6 @@ import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.Filters;
|
import org.apache.openjpa.kernel.Filters;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Average values.
|
* Average values.
|
||||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.openjpa.kernel.exps;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Count non-null values.
|
* Count non-null values.
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
package org.apache.openjpa.kernel.exps;
|
package org.apache.openjpa.kernel.exps;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.StoreContext;
|
import org.apache.openjpa.kernel.StoreContext;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find the index of one string within another.
|
* Find the index of one string within another.
|
||||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.openjpa.kernel.exps;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the count of a collection.
|
* Returns the count of a collection.
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
package org.apache.openjpa.kernel.exps;
|
package org.apache.openjpa.kernel.exps;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.StoreContext;
|
import org.apache.openjpa.kernel.StoreContext;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of characters in the String.
|
* Returns the number of characters in the String.
|
||||||
|
|
|
@ -22,7 +22,6 @@ import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.Filters;
|
import org.apache.openjpa.kernel.Filters;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sum values.
|
* Sum values.
|
||||||
|
|
|
@ -23,7 +23,6 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.apache.openjpa.kernel.StoreContext;
|
import org.apache.openjpa.kernel.StoreContext;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the entity type.
|
* Returns the entity type.
|
||||||
|
|
|
@ -68,7 +68,6 @@ import org.apache.openjpa.meta.ValueMetaData;
|
||||||
import org.apache.openjpa.util.InternalException;
|
import org.apache.openjpa.util.InternalException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builder for JPQL expressions. This class takes the query parsed
|
* Builder for JPQL expressions. This class takes the query parsed
|
||||||
|
|
|
@ -32,7 +32,6 @@ import org.apache.commons.lang.StringUtils;
|
||||||
import org.apache.commons.lang.ObjectUtils;
|
import org.apache.commons.lang.ObjectUtils;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.util.MetaDataException;
|
import org.apache.openjpa.util.MetaDataException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Captures fetch group metadata.
|
* Captures fetch group metadata.
|
||||||
|
|
|
@ -40,7 +40,6 @@ import org.apache.openjpa.enhance.PersistenceCapable;
|
||||||
import org.apache.openjpa.lib.meta.CFMetaDataParser;
|
import org.apache.openjpa.lib.meta.CFMetaDataParser;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.util.MetaDataException;
|
import org.apache.openjpa.util.MetaDataException;
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.openjpa.conf.OpenJPAConfiguration;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.lib.util.StringDistance;
|
import org.apache.openjpa.lib.util.StringDistance;
|
||||||
import org.apache.openjpa.util.MetaDataException;
|
import org.apache.openjpa.util.MetaDataException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strategies for persistent value generation.
|
* Strategies for persistent value generation.
|
||||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.openjpa.meta.ClassMetaData;
|
||||||
import org.apache.openjpa.meta.FieldMetaData;
|
import org.apache.openjpa.meta.FieldMetaData;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.meta.ValueStrategies;
|
import org.apache.openjpa.meta.ValueStrategies;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class for manipulating application object ids.
|
* Utility class for manipulating application object ids.
|
||||||
|
|
|
@ -23,7 +23,6 @@ import java.security.AccessController;
|
||||||
import org.apache.openjpa.conf.OpenJPAConfiguration;
|
import org.apache.openjpa.conf.OpenJPAConfiguration;
|
||||||
import org.apache.openjpa.lib.util.J2DoPrivHelper;
|
import org.apache.openjpa.lib.util.J2DoPrivHelper;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Datastore identity type. Implementations may choose to use this type,
|
* Datastore identity type. Implementations may choose to use this type,
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.openjpa.util;
|
package org.apache.openjpa.util;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link OpenJPAId} subclass appropriate for int fields.
|
* {@link OpenJPAId} subclass appropriate for int fields.
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.openjpa.util;
|
package org.apache.openjpa.util;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link OpenJPAId} subclass appropriate for long fields.
|
* {@link OpenJPAId} subclass appropriate for long fields.
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.openjpa.lib.util.Closeable;
|
||||||
import org.apache.openjpa.lib.util.ConcreteClassGenerator;
|
import org.apache.openjpa.lib.util.ConcreteClassGenerator;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper around an existing connection. Subclasses can override the
|
* Wrapper around an existing connection. Subclasses can override the
|
||||||
|
|
|
@ -25,7 +25,6 @@ import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Random-access result list implementation. It maintains a map
|
* Random-access result list implementation. It maintains a map
|
||||||
|
|
|
@ -22,7 +22,6 @@ import java.text.MessageFormat;
|
||||||
|
|
||||||
import org.xml.sax.Locator;
|
import org.xml.sax.Locator;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Stephen Kim
|
* @author Stephen Kim
|
||||||
|
|
|
@ -71,7 +71,6 @@ import org.xml.sax.Locator;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import static org.apache.openjpa.persistence.jdbc.MappingTag.*;
|
import static org.apache.openjpa.persistence.jdbc.MappingTag.*;
|
||||||
import serp.util.Numbers;
|
|
||||||
/**
|
/**
|
||||||
* Custom SAX parser used by the system to parse persistence mapping files.
|
* Custom SAX parser used by the system to parse persistence mapping files.
|
||||||
*
|
*
|
||||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.openjpa.jdbc.meta.strats.AbstractValueHandler;
|
||||||
import org.apache.openjpa.jdbc.schema.Column;
|
import org.apache.openjpa.jdbc.schema.Column;
|
||||||
import org.apache.openjpa.jdbc.schema.ColumnIO;
|
import org.apache.openjpa.jdbc.schema.ColumnIO;
|
||||||
import org.apache.openjpa.meta.JavaTypes;
|
import org.apache.openjpa.meta.JavaTypes;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for {@link Point}. This is a sample of how to create custom
|
* Handler for {@link Point}. This is a sample of how to create custom
|
||||||
|
|
|
@ -122,7 +122,6 @@ import org.apache.openjpa.util.MetaDataException;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import org.apache.openjpa.util.UserException;
|
import org.apache.openjpa.util.UserException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
import serp.util.Strings;
|
import serp.util.Strings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -76,7 +76,6 @@ import org.xml.sax.Attributes;
|
||||||
import org.xml.sax.Locator;
|
import org.xml.sax.Locator;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom SAX parser used by the system to quickly parse persistence
|
* Custom SAX parser used by the system to quickly parse persistence
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.openjpa.meta.JavaTypes;
|
||||||
import org.apache.openjpa.meta.ValueMetaData;
|
import org.apache.openjpa.meta.ValueMetaData;
|
||||||
import org.apache.openjpa.util.Proxy;
|
import org.apache.openjpa.util.Proxy;
|
||||||
import org.apache.openjpa.util.UnsupportedException;
|
import org.apache.openjpa.util.UnsupportedException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* In-memory form of data in datastore backing a single persistent object.
|
* In-memory form of data in datastore backing a single persistent object.
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.apache.openjpa.lib.rop.ResultObjectProvider;
|
||||||
import org.apache.openjpa.meta.ClassMetaData;
|
import org.apache.openjpa.meta.ClassMetaData;
|
||||||
import org.apache.openjpa.util.OptimisticException;
|
import org.apache.openjpa.util.OptimisticException;
|
||||||
import org.apache.openjpa.util.StoreException;
|
import org.apache.openjpa.util.StoreException;
|
||||||
import serp.util.Numbers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Store manager to a back-end consisting of XML files. This
|
* Store manager to a back-end consisting of XML files. This
|
||||||
|
|
Loading…
Reference in New Issue