Internal Website Search

1-50 of 74 results

Items in list are doubled, when the entity class is not enhanced

Dear all, I have a problem with adding items (entities) into other entity list. When the classes are not enhanced, added items are doubled . Here is an example: @Entity public class Customer ... thing - items are also doubled , when the classes are enhanced and before merging the customer object

ObjectDB Object Database Features

Recovery from failure by using a  recovery file and  double writing. Additional recovery layer ... , 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

Double persist of Entity field with Cascade.ALL

would have double entry of same record. Burabari Burabari Kpai For completeness, attached is the modified sample

run several embedded systems on one server, problem with double used port

we want to run several embedded systems on one server. In principle this is working but there are endless logs generated reporting about a double used port. Ist there a possibility to configure that port for each embedded system hgzwicker Hans-Georg Zwicker Are you using embedded-server mode? In

Numbers in JPQL and Criteria Queries

of a binary arithmetic operation on an int value and a double value is double . The ABS Function The ABS ... The SQRT function takes as an argument a numeric value of any type and always returns a double value ... , double , BigInteger , BigDecimal ) are supported. Unary Operators Creation of the unary minus

Comparison in JPQL and Criteria API

, including primitive types ( byte , short , char , int , long , float , double ), wrapper types ( Byte , Short , Character , Integer , Long , Float , Double ),  BigInteger and BigDecimal can be compared ... , a double value can be compared to a BigInteger instance but not to a String instance. [NOT] BETWEEN

JPA Persistable Types

, int , long , float and double . Equivalent wrapper classes from package java.lang: Boolean , Byte , Short , Character , Integer , Long , Float and Double . java.math.BigInteger , java.math.BigDecimal

Index Definition

: Primitive types: boolean , byte , short , char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte , Short , Character , Integer , Long , Float , Double . java.math

Literals in JPQL and Criteria Queries

: 100L, -127L, 0L, 07777L float : 3.14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3.14, 0d, 1e2D, -2., 5.04e ... in which strings are enclosed with double quotes (e.g. "Adam" , "" ) and Java escape characters

Database Schema Evolution

, float , double , Byte , Short , Character , Integer , Long , Float , Double , BigInteger , BigDecimal

GROUP BY and HAVING clauses

of numeric values. AVG - returns the average of numeric values as a double value. MIN - returns the minimum ... - returns a double type expression representing the average of numeric values. min , least - return

Database Explorer

directory a path to it has to be specified. Alternatively, you can run the Explorer by double clicking ... viewer windows. Double click the field, press F2, or simply type the new value. Use the Edit Edit

JPA Primary Key

, char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte , Short , Character , Integer , Long , Float , Double . java.math.BigInteger , java.math.BigDecimal. java

Entity Management Settings

. Usually, commit time only cascade (which is more efficient than double cascade) is sufficient

[ODB1] Chapter 7 - JDOQL Queries

.04e+17f , ... double 3.14, 0d, 1e2D, -2., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF ... , Double ), as well as BigInteger and BigDecimal can participate in comparisons as if they were primitive numeric types ( byte , short , char , int , long , float , double ). Logical Operators Logical

Geospatial functions

given latitude/longitude) ?Normally you would calculate the distance like: double cx = Math.toRadians(fromLat); double cy = Math.toRadians(fromLon); double px = Math.toRadians(toLat); double py = Math.toRadians(toLon); // see http://de.wikipedia.org/wiki/Orthodrome double gamma = Math.acos(Math.sin

significant performance decrease

systemDictionary = new HashMap (); @Index public Integer type; public Double usedCustomObjectTypeVersion; public Double usedStandardObjectTypeVersion; public Double usedSolutionObjectTypeVersion ... change). support Support just to double -check, if the query string is the same, the query program cache

Step 6: Set the Spring XML

editor (by right clicking and selecting  Open With Text Editor or by double click

Step 6: Set the Spring XML

clicking and selecting Edit or by double click and then moving to the XML tab in the editor window

Step 2: Entity Class and Persistence Unit

clicking and selecting Edit or by double click and then moving to the Source or XML tab in

Step 2: Entity Class and Persistence Unit

a text editor (by right clicking and selecting Edit or by double click and then moving to the XML

Updating Entities

.setCellFactory(c - new TableCell () { @Override public void updateItem(final Double item, boolean empty ... tried this... public static void modifyPaygradeRate( double oldRate, double newRate) { System.out.println

[ODB1] Chapter 9 - ObjectDB Explorer

ObjectDB's lib directory. Because this file is an executable jar, on most systems, you can double click ... Selection" command switches the current viewer to focus on the selected object. A double click ... it in a viewer window (browser or table). You can start editing a value field by double clicking

javax.persistence.criteria.CriteriaBuilder

-valued expression, returning a Double result. Parameters: x - expression representing input value ... : number - numeric expression Return: Expression< Double > Since: JPA 2.0 Expression toFloat

Can a Set be a foreign key?

;   private double cellSize;     private Set cellHeldCharacters ... ;     private Location cellLocation;     private double

Cascade type annotaion on an embeddable type

Assume we have the following classes: @Entity public class Restaurant { /* @Embedded */ private Location location;     private int phoneNumber; } @Embeddable public class Location { private double latitude; private double longitude; } According to the documentation

[ODB1] Chapter 3 - Persistent Classes

, int , long , float and double . Selected classes in package java.lang : Boolean , Byte , Short , Character , Integer , Long , Float , Double , Number and String . Selected classes in package java

[ODB1] Chapter 4 - JDO Metadata

: embedded value types: primitive type ( boolean , byte , short , char , int , long , float or double ) embedded wrapper ( Boolean , Byte , Short , Character , Integer , Long , Float or Double ) embedded

CriteriaBuilder.toDouble(number) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression toDouble (    Expression  number ) Typecast. Returns same expression object. Parameters: number - numeric expression Return: Expression< Double > Since: JPA 2.0

javax.persistence.ConstructorResult

(name="orderCount"), @ColumnResult(name="avgOrder", type= Double .class

CriteriaBuilder.sumAsDouble(x) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression sumAsDouble (    Expression  x ) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result. Parameters: x - expression representing input value to sum operation Return: sum expression Since: JPA 2.0

Remove not working

in this and similar cases. support Support I double and tripple checked

Problem with Criteria Querys

.createEntityManager();         em.getTransaction().begin();         for ( double i=0.0; i

IDs of Entities suddenly became UUIDs?

support auto generation of uuid. We double checked now (following your report) and we cannot find

Explorer in 2.3

. For example, I double click on a String field in an entity. Right now, all I can do is type some text

Soft Reference Object Cache Recommendation

; Then one can navigate to Classes, double click "byte[]" to view its instances, click "Compute retained sizes

Performance in SELECT statement

;  private Object value; // for now just Double values     @Index  

Multi selection and distinct in a criteria query

being distinct (i.e. when selecting names which may double without troubles)   Alex quasado Alexander Adam

Best practise loading big data

to the internet (e.g. to Dropbox) and share the link. support Support Before uploading the heap dump: Double ... a configuration with the attached configuration ( double checked) - one open transaction - reading

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

. Could you please double check it (sometimes the old objectdb.jar file remains in the classpath and the wrong ... versions with the concurrent read queries that have been solved for us with that version. We double

javax.jdo.spi.StateManager

for the field Since: JDO 1.0 double getDoubleField (PersistenceCapable pc, int field,  double  currentValue) Return the value for the field. Parameters: pc - the calling ... ,  double  currentValue) The value of the field requested to be provided to the StateManager

DISTINCT key causing internal exception on 2.6.4.b10

(the '' suffix looked like a single double quote character " with no closing). This regression was caused by

docker documentation

you have double new lines (println + 13) instead of single after every input item? support Support

Eager load Map

build? support Support That's odd... I went back to double check and I'm definitely using 2.3.2_04. I

StateManager.setDoubleField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setDoubleField (   PersistenceCapable pc,    int field,     double  currentValue,     double  newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.getDoubleField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager double getDoubleField (   PersistenceCapable pc,    int field,     double  currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number

StateManager.replacingDoubleField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager double replacingDoubleField (   PersistenceCapable pc,    int field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.providedDoubleField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedDoubleField (   PersistenceCapable pc,    int field,     double  currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

Query.setResultClass(cls) - JDO Method

, Integer, Long, Float, Double , String, or Object[]; or one of the java.math classes BigInteger or

javax.jdo.Query

, Double , String, or Object[]; or one of the java.math classes BigInteger or BigDecimal; or the java