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

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

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

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

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 ... and Table viewer windows. Double click the field, press F2, or simply type the new value. Use

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

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

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

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