ObjectDB Database Search

1-50 of 80 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

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

ObjectDB Object Database Features

from failure by using a  recovery file and  double writing. Additional recovery layer ... (for persistent fields) Primitive types (boolean, byte, short, char, int, long, float, double ). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double ). java.lang.String Date types

Numbers in JPQL and Criteria Queries

and a double value is a double . The ABS function The ABS function returns the absolute value ... type and always returns a double value. Criteria query arithmetic expressions JPQL arithmetic operators ... byte , short , int , long , float , double , BigInteger , and BigDecimal . Unary Operators Creating

Comparison in JPQL and Criteria API

, float , double ), their corresponding wrapper types ( Byte , Short , Character , Integer , Long , Float , Double ), BigInteger , and BigDecimal . String values: Any comparison operator can be used ... between any two values that belong to the same group listed above. For example, a double

JPA Persistable Types

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

Index Definition

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

Literals in JPQL and Criteria Queries

, -127L, 0L, 07777L float : 3.14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3.14, 0d, 1e2D, -2., 5.04e+17 ... , where strings are enclosed in double quotation marks (for example, "Adam" and "" ) and can use Java

Database Schema Evolution

types are: byte , short , char , int , long , float , double , Byte , Short , Character , Integer , Long , Float , Double , BigInteger , BigDecimal , and enum values that are stored as numeric ordinal

GROUP BY and HAVING clauses

a double . MIN : Returns the minimum of comparable values, such as numbers, strings, and dates. MAX ... that represents the sum of values. avg : Return a double -typed expression that represents the average of numeric

Database Explorer

, you must specify the path to the file. Alternatively, you can run the Explorer by double -clicking explorer.jar ... windows. Double -click the field, press F2, or type the new value. Use the Edit Edit Multi Line String

JPA Primary Key

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

Entity Management Settings

time is sufficient and more efficient than double cascading. The element The arrays attribute

jakarta.persistence.ConstructorResult

= "orderCount"), @ColumnResult(name = "avgOrder", type = Double .class) }) }) See Also: SqlResultSetMapping

jakarta.persistence.criteria.PluralJoin

, and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.Path

, and String expressions to Integer , Long , Float , and Double . Support for typecasts between other basic

jakarta.persistence.criteria.Predicate

to String , and String expressions to Integer , Long , Float , and Double . Support for typecasts

jakarta.persistence.criteria.MapJoin

to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required

jakarta.persistence.criteria.ParameterExpression

expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not

jakarta.persistence.criteria.Root

expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not

jakarta.persistence.criteria.Subquery

to Integer , Long , Float , and Double . Support for typecasts between other basic types is not

jakarta.persistence.criteria.SetJoin

casting scalar expressions to String , and String expressions to Integer , Long , Float , and Double

jakarta.persistence.criteria.CriteriaBuilder.Case

casting scalar expressions to String , and String expressions to Integer , Long , Float , and Double

jakarta.persistence.criteria.CriteriaBuilder

a Double result. Parameters: x - expression representing input value to sum operation Returns: sum

jakarta.persistence.criteria.CriteriaBuilder.In

, Long , Float , and Double . Support for typecasts between other basic types is not required

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

casting scalar expressions to String , and String expressions to Integer , Long , Float , and Double

jakarta.persistence.criteria.CollectionJoin

, Long , Float , and Double . Support for typecasts between other basic types is not required

jakarta.persistence.criteria.Expression

, Float , and Double . Support for typecasts between other basic types is not required. Parameters: type

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

, and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.ListJoin

, and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.From

scalar expressions to String , and String expressions to Integer , Long , Float , and Double . Support

jakarta.persistence.criteria.Join

to Integer , Long , Float , and Double . Support for typecasts between other basic types is not

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

jakarta.persistence.criteria.CriteriaBuilder.sumAsDouble(Expression)

Jakarta Persistence (JPA) Method in jakarta.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

jakarta.persistence.criteria.Expression.cast(Class)

, and Double . Support for typecasts between other basic types is not required. Parameters: type

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

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

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

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

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