Internal Website Search

1-41 of 41 results

Query results are not up to date for entities, not primitives

for primitive fields like Strings, the list of primitives are loading refreshed too. Any variations ... CriteriaBuilder to JPQL or from Entity to Primitive . What´s now? flavioreboucassantos Flávio Rebouças

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

primitive integers as keys and indices then the memory consumption for new entities is constant

JPA Persistable Types

, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String ... All the following simple Java data types are persistable: Primitive types: boolean , byte , short , char

ObjectDB Object Database Features

System Types (for persistent fields) Primitive types (boolean, byte, short, char, int, long, float ... . Primary Key Data Types Primitives (boolean, byte, short, char, int, long, float and double). Wrappers

Index Definition

: Primitive types: boolean , byte , short , char , int , long , float , double. Equivalent wrapper

Comparison in JPQL and Criteria API

, including primitive types ( byte , short , char , int , long , float , double ), wrapper types ( Byte

JPA Primary Key

that is set by the application can have one of the following types: Primitive types: boolean , byte , short

javax.persistence.Basic

instance variable of any of the following types: Java primitive types, wrappers of the primitive types ... may be null. This is a hint and is disregarded for primitive types; it may be used in schema

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive ... primitive . Right now you can only edit text or primitives (and I noticed you have a Date editor

[ODB1] Chapter 7 - JDOQL Queries

, Double ), as well as BigInteger and BigDecimal can participate in comparisons as if they were primitive ... ) are used instead of primitive values because execute( ... ) only accepts Object arguments. Reference ... rather than boolean . Valid types include numeric primitive types ( byte , short , char , int , long , float , double

[ODB1] Chapter 4 - JDO Metadata

contains all the fields with primitive types (e.g. int), types defined in java.lang (e.g. String ... : embedded value types: primitive type ( boolean , byte , short , char , int , long , float or double ... ( primitive types, wrapper types, String and Date) are embedded by default, but if, for instance, a String

javax.persistence.Id

JPA Annotation Id Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the primary key of an entity. The field or property to which the Id annotation is applied should be one of the following types: any Java primitive type; any primitive wrapper type; String ; java.util.Date ; java

PostUpdate on array changes

is whether it is possible to track changes to lists of primitives ? dmoshal David Moshal Hmm, digging into ... ;So, the question is whether it is possible to track changes to lists of primitives ? Yes. objectdb.conf file

PersistenceException: Failed to locate field

Hi, have recently been running into this issue when changing the schema: com.objectdb.o._PersistenceException: Failed to locate field in this case, adding a primitive String field to an Entity ... new field, shouldn't the policy be to add a null in that field, or other default for that primitive

javax.persistence.criteria.Path

JPA Interface Path Type Parameters: - the type referenced by the path Represents a simple or compound attribute path from a bound type or collection, and is a " primitive " expression. Since: JPA 2.0 The Paths and Types in JPQL and Criteria API article explains how to use Path . Public Methods

javax.persistence.Converter

primitive types and wrapper types as equivalent. Note that Id attributes, version attributes

javax.persistence.Basic.optional

JPA Annotation Attribute in javax.persistence.Basic boolean optional default true (Optional) Defines whether the value of the field or property may be null. This is a hint and is disregarded for primitive types; it may be used in schema generation. If not specified, defaults to true . Since: JPA 1.0

Dates

object is not required - a primitive long field is more efficient), but usually the difference

Changes in detach behaviour?

". If you use version 2.3.4 then the output is "username". I think lazy fetching of primitive fields is a bit

Adding EntityListener Throws Unexpected Internal Exception

; private SomeClass someClass;     ... Setter/Getter, Map, Enum & other primitive fields

Efficient query on EmbeddedId

: is there any insert/query performance difference between defining an index on a primitive field or

Objectdb ignores not null annotations

type or primitive ) not nullable... Regards vachagan Vachagan Please see the answer in this forum thread . support Support

[ODB1] Chapter 3 - Persistent Classes

predefined system types are also persistent types: All the primitive types - boolean , byte , short , char

ObjectDB 2.4.2

(removed temporary object clearing). Fixed the Explorer to show null values in primitive fields ... automatic cascading through embedded objects. Fixed a bug in clearing persistent properties of primitive

javax.jdo.Query

to get their primitive values. The filter, import, declared parameters, declared variables ... comparisons between primitives and instances of wrapper classes are valid. Equality and ordering ... in the candidate class. Valid field types are primitive types except boolean ; wrapper types

NullPointerException when using multithreading

; EmbeddableB is just storing primitive integers in its map.  However it will also be used

Inverse OneToMany Mapping and EmbeddedId

you very much. But this extension has a negative impact on the iteration performance via the primitive data

Query.setResultClass(cls) - JDO Method

the specified result class (treating wrapper classes as equivalent to their unwrapped primitive types ... equivalent to primitive types) of the result expression; or if no public field matches the name and type

javax.jdo.spi.PersistenceCapable

of the primitive field type; the parameter is passed to the single field identity constructor

JDOImplHelper.newObjectIdInstance(pcClass,obj) - JDO Method

: the parameter must be the single field type or the wrapper class of the primitive field type

PersistenceManagerFactory.setRestoreValues(restoreValues) - JDO Method

, and the instances revert to transient. Additionally, fields of modified instances of primitive types

javax.jdo.PersistenceManagerFactory

of primitive types and immutable reference types are restored to their values as of the beginning

Transaction.setRestoreValues(restoreValues) - JDO Method

of modified instances of primitive types and immutable reference types are restored to their values as

javax.jdo.FetchGroup.BASIC

JDO Static Field in javax.jdo.FetchGroup BASIC For use with addCategory and removeCategory calls. This category includes members of all primitive and immutable object class types as defined in section 6.4 of the specification, including String, Locale, Currency, BigDecimal, and BigInteger; as

Query.executeWithArray(parameters) - JDO Method

parameters, except that the passed parameters might need to be unwrapped to get their primitive values

javax.jdo.Transaction

, fields of modified instances of primitive types and immutable reference types are restored

javax.jdo.spi.JDOImplHelper

must be the single field type or the wrapper class of the primitive field type; the parameter is passed

javax.jdo.FetchGroup

of all primitive and immutable object class types as defined in section 6.4 of the specification

Query.setOrdering(ordering) - JDO Method

with a field in the candidate class. Valid field types are primitive types except boolean ; wrapper

Query.setFilter(filter) - JDO Method

the Java language, except for these differences: Equality and ordering comparisons between primitives

PersistenceCapable.jdoNewObjectIdInstance(o) - JDO Method

the wrapper class of the primitive field type; the parameter is passed to the single field identity