Internal Website Search

1-43 of 43 results

JPA Persistable Types

, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers , String ... , int , long , float and double . Equivalent wrapper classes from package java.lang: Boolean , Byte

ObjectDB Object Database Features

, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang ... . 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

JPA Metamodel API

entity classes. The Type interface provides a thin wrapper of Class with only two methods

Criteria Query Selection and Results

interface is a thin wrapper around Expression , which adds order direction - either ascending (ASC) or

Comparison in JPQL and Criteria API

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

ORDER BY clause (JPQL / Criteria API)

) rather than  Expression instances. The  Order  interface is merely a thin wrapper around Expression

JPA Primary Key

, char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

when using with generic classes for "deep" value wrappers with signatures like: @Entity abstract public ... , as this has consequences for at least one issue (see below). The above "deep" value wrapper ... with the other generic value wrapper examples, as it exhibits a problem with ObjectDB that the others do not

Pre-detach loading: retrieval by navigation not working in if statement

" Boolean value wrapper BooleanValue entity. This is @OneToOne with explicit LAZY fetch. - A BooleanValue ... ' which is a "deep" Float value wrapper FloatQuantity entity. This is @OneToOne with explicit LAZY fetch ... Why are using an entity class as a boolean wrapper rather than embeddable class

[ODB1] Chapter 7 - JDOQL Queries

all six comparison operators. Numeric wrapper types ( Byte , Short , Character , Integer , Long , Float ... operators ( + , - , * , / ) can be applied to numeric wrapper types (Byte, Character, Short, Integer ... parameters. Wrapper values ( Boolean , Byte , Short , Character , Integer , Long , Float , Double

[ODB1] Chapter 4 - JDO Metadata

. Wrapper objects, strings, dates, collections and arrays are embedded by default. To use them as non ... ) embedded wrapper ( Boolean , Byte , Short , Character , Integer , Long , Float or Double ) embedded ... (primitive types, wrapper types, String and Date) are embedded by default, but if, for instance, a String

Possible cause for "Enhancement of type ... is old and cannot be used"

and cannot be used ... Where BooleanValue is a generic, "deep" value- wrapper entity class. I am working on preparing a test case app with such generic value- wrapper entity classes that demonstrates

using DbUnit with ObjectDb

completely generalise it, each entity needs a wrapper class to enable the writing of a list ... .. but, with a few wrapper classes am now reading / writing xml files to / from postgres and ObjectDB

Multi part paths in a composite index must have the same length

; The SafeLong class is a very simple wrapper of a long -  @Embeddable public class SafeLong ... wrapper . Multi part paths in a composite index must have the same length. Therefore, the following

javax.persistence.Basic

JPA Annotation Basic Target: METHOD, FIELD Implemented Interfaces: Annotation The simplest type of mapping to a database column. The Basic annotation can be applied to a persistent property or instance variable of any of the following types: Java primitive types, wrappers of the primitive types

javax.persistence.Converter

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

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

Remove not working

less than 5% of the active users), you may find other minor issues (at the wrapper level, as the ObjectDB

Error when trying to open the Explorer (failed to find Java VM)

Explorer exe wrappers for Windows, because there were issues with each of them on some systems

Database is erased after deploying a new web application version

There's a static member in line 28, kind of a wrapper class to the database service class that does the queries

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

Logger Wrapper  (otherwise not shown here, see that link for examples). My LoggerWrapper offers

Non Embedded byte[]

a wrapper entity object with a byte[] as its only field. support Support

Project runs in Eclipse but not when exported to runnable jar

the result of using this special form of wrapper jar that contains other jar files. Unfortunately I

@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed

ObjectDB always loads basic types eagerly. Consider replacing byte[] with a wrapper entity (e.g. Data

Remove a modified entity cause an optimistic lock exception

bundles, entity classes, JPA wrappers , etc.) support Support I created a minimum OSGi example

Listing large number of complicated objects with paging.

- now it's 384MB. I was trying to build wrapper object ProductTO that contains only fields that I need

UserException or JDOUserException

is my code.) CBE CBE Thanks. Build 2.9.6_06 adds the missing wrapper that converts the ObjectDB

again merger missing logs + objectdb exception

in a separate page and has a wrapper key that consists of the original primary key of the object ... ; ObjectProperty instances have nested wrappers , i.e. a section key wrapper that wraps another section key wrapper that wraps the original primary key. This is an unexpected state. Unfortunately

Blocked by find

database which contains one type of Entity. Access is through an application wrapper object ... where the application blocks with one thread in the wrapper and all other waiting. A dump of the thread which made it into the wrapper looks like: Name: uatsrtlonw342-WSAgent-1-New/4 State: BLOCKED on com.objectdb.o.LKM

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

hides the original property methods and replace them with new wrapper methods), entity classes ... is enhanced but reflection is used (e.g. due to the first bug), the wrapper property is used instead ... ; it still fails with a family of generic value- wrapper entity classes. It is going to take me some time to bundle

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

server.  These are being written to a log by a server wrapper which runs ObjectDb as a service ... the wrapper , which writes them to it's log file.  The stack traces do show that the Exceptions ... , and why they are bubbling up out of ObjectDb's code to the service wrapper ? Thanks, Clinton Moore 813-562-0116 CAPdev

InternalException: null

Build 2.6.1_05 includes an addition of a synchronized wrapper , which might have been missing in

InternalException caused by OOM: Metaspace

) when ObjectDB is trying to generate a dynamic wrapper class for ArrayList ( objectdb.java.util.ArrayList

ObjectDB 2.4.0

Added support of entity collections as query parameters. Added support of running ObjectDB within Eclipse 3.7 wrapper jar . Added support of sharing an identifier name for a variable and a parameter in the same query. Added support for using ObjectDB with GlassFish 3.1.2 . Added handling missing

javax.jdo.Query

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 ... result class (treating wrapper classes as equivalent to their unwrapped primitive types) or by matching

Query.setResultClass(cls) - JDO Method

the specified result class (treating wrapper classes as equivalent to their unwrapped primitive types ... that matches the name of the result expression and is of the type (treating wrapper types

javax.jdo.spi.PersistenceCapable

specified: Number or Character : the parameter must be the single field type or the wrapper class

JDOImplHelper.newObjectIdInstance(pcClass,obj) - JDO Method

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

javax.jdo.spi.JDOImplHelper

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

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

and instances of wrapper classes are valid. Equality and ordering comparisons of Date fields and Date

PersistenceCapable.jdoNewObjectIdInstance(o) - JDO Method

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