ObjectDB Database Search
101-150 of 200 resultsGeneral Performance Issues Illustrated with a Specific Method retireComments; // // @Override public int hashCode() { int hash = 0; hash += (id != null ? id.hashCode() : 0 ... boolean ageCalculated = false; @Transient private int ageMonths; @Transient private int ageDays; @Transient private int ageYears; @Transient private String age; @Transient private long ageInDays | |
Trouble bug on explorer @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="seq") private int gid; @Index private int id; private String userName; private String pwd; private String ircim; private String mail; private int access; private int programType; private Date regDate; private Date regEnd; private String jxtaUUID | |
Error 613 - i cant put a list | |
Persist error @ManyToMany how to define correct entities relationships Category implements Serializable { @Id private long id; public Category( int id) { this.id = id ... ) private List categories = new ArrayList(); public Product( int id,Category cat) { this.id = id ... Category( int id) { this.id = id; } public long getId() { return id; } public void setId(long id) { this.id | |
openejb jpa jaas module.getPrincipals(); final int id = info.getId(); final TypedQuery namedQuery = entityManager.createNamedQuery ... (); for (UserPrincipal userPrincipal : resultList) { final int principalId = userPrincipal.getPrincipalId ... ; @GeneratedValue(strategy = GenerationType.SEQUENCE , generator = "gen") @Id private int principalId; public | |
Should derived fields of an EmbeddedId be manually maintained by app code? id = "1"; @SuppressWarnings("unused") // used by JPA @Version private int version; @Basic protected ... { if (lastInstanceInMap == null) { lastInstanceInMap = 0; } int endCnt = lastInstanceInMap + numberToGen; int startCnt = lastInstanceInMap; long timing = System.currentTimeMillis(); while (endCnt | |
Composite Index error 328 = -4472890635861972890L; private int id; private int dyId; private long pwd; private String usrName; private Integer mail; private int access; private short programType; private Date regDate; private Date regEnd; private Date lastLogin; private String lastIp; private int flags; private String name; private String | |
@OneToMany(fetch = FetchType.LAZY) list is always null, generator = "b") private int id; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private List children; public int getId() { return id; } public void setId( int id) { this.id = id ... @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "b") private int id; @ManyToOne | |
Replicated cluster recovery[], int , int , int ) line: not available [native method] SocketInputStream.read(byte[], int , int ) line: 129 BufferedInputStream.fill() line: 218 BufferedInputStream.read1(byte[], int , int ) line: 258 BufferedInputStream.read(byte[], int , int ) line: 317 CST(NTS).z( int , int ) line: 314 CST(NTS).y() line: 274 | |
EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs process non-existent IDs fastest. * */ public class OdbEmFindById { public static final int EVALUATION ... (XId id) { this.id = id; } public X( int a, int b, int c) { id = new XId(a, b, c); } @Override public String toString() { return "X [id=" + id + "]"; } } @Embeddable public static class XId { public int | |
jakarta.persistence.criteria.CriteriaBuilder.Trimspec(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long | |
jakarta.persistence.criteria.LocalDateField(), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.criteria.LocalTimeField.lang.Object clone(), equals(Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.criteria.LocalDateTimeField(), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.criteria.JoinType(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK methods inherited from java.lang | |
jakarta.persistence.AccessType(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK methods inherited | |
jakarta.persistence.CascadeType(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK methods inherited from | |
jakarta.persistence.CacheRetrieveMode(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK methods | |
jakarta.persistence.CacheStoreMode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK | |
jakarta.persistence.SharedCacheMode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK | |
jakarta.persistence.TemporalType(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional JDK | |
jakarta.persistence.SynchronizationType(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) Additional | |
jakarta.persistence.Persistence(), toString(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.ParameterMode(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long | |
jakarta.persistence.PersistenceConfiguration(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.Persistence.PersistenceUtilImpl(Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long, int ), wait0(long) | |
jakarta.persistence.PersistenceContextType), wait(long, int ), wait0(long) Additional JDK methods inherited from java.lang.constant.Constable | |
jakarta.persistence.PessimisticLockScope), wait(long, int ), wait0(long) Additional JDK methods inherited from java.lang.constant.Constable | |
jakarta.persistence.TableGenerator.initialValue Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator int initialValue (Optional) The initial value to be used to initialize the column that stores the last value generated. Default: 0 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TableGenerator.allocationSize Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator int allocationSize (Optional) The amount to increment by when allocating id numbers from the generator. Default: 50 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Timeout.milliseconds() Jakarta Persistence (JPA) Method in jakarta.persistence.Timeout int milliseconds() The timeout in milliseconds. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.getUpdateCount() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery int getUpdateCount() Return the update count or -1 if there is no pending result or if the next result is not an update count. Returns: update count or -1 if there is no pending result or if the next result is not | |
jakarta.persistence.StoredProcedureQuery.executeUpdate() Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery int executeUpdate() Return the update count of -1 if there is no pending result or if the first result is not an update count. The provider will call execute on the query if needed. Returns: the update count or -1 | |
jakarta.persistence.GenerationType.TABLE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. May be used to generate primary keys of type Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.GenerationType.SEQUENCE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. May be used to generate primary keys of type Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.GenerationType.IDENTITY Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. May be used to generate primary keys of type Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.GenerationType.AUTO of type Long , Integer , long , or int , the provider selects between GenerationType.TABLE | |
jakarta.persistence.MapKeyColumn.length Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn int length (Optional) The column length. Applies only to columns whose type is parameterized by length, for example, varchar or varbinary types. Default: 255 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn.precision Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn int precision (Optional) The precision for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined | |
jakarta.persistence.MapKeyColumn.scale Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn int scale (Optional) The scale for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined precision | |
jakarta.persistence.SequenceGenerator.initialValue Jakarta Persistence (JPA) Method in jakarta.persistence.SequenceGenerator int initialValue (Optional) The value from which the sequence object is to start generating. Default: 1 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerator.allocationSize Jakarta Persistence (JPA) Method in jakarta.persistence.SequenceGenerator int allocationSize (Optional) The amount to increment by when allocating sequence numbers from the sequence. Default: 50 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.DiscriminatorColumn.length Jakarta Persistence (JPA) Method in jakarta.persistence.DiscriminatorColumn int length (Optional) The column length for String-based discriminator types. Ignored for other discriminator types. Default: 31 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Column.length Jakarta Persistence (JPA) Method in jakarta.persistence.Column int length (Optional) The column length. Applies only to columns whose type is parameterized by length, for example, varchar or varbinary types. Default: 255 Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Column.precision Jakarta Persistence (JPA) Method in jakarta.persistence.Column int precision (Optional) The precision for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined precision | |
jakarta.persistence.Column.scale Jakarta Persistence (JPA) Method in jakarta.persistence.Column int scale (Optional) The scale for a column of SQL type decimal or numeric , or of similar database-native type. Applies only to columns of exact numeric type. The default value 0 indicates that a provider-determined scale | |
jakarta.persistence.Column.secondPrecision Jakarta Persistence (JPA) Method in jakarta.persistence.Column int secondPrecision (Optional) The number of decimal digits to use for storing fractional seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional | |
jakarta.persistence.Query.executeUpdate() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted. Throws: IllegalStateException - if called for a Jakarta Persistence query language SELECT statement or for a criteria query | |
jakarta.persistence.Query.getMaxResults() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int getMaxResults() The maximum number of results the query object was set to retrieve. Returns Integer.java.lang.Integer/MAX_VALUE if Query.setMaxResults was not applied to the query object. Returns: maximum number of results. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.Query.getFirstResult() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result. Since: Jakarta Persistence (JPA) 2.0 |