ObjectDB Database Search

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

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

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

Expression.cast(type) - JPA Method

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

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

expression, returning a Double result. Parameters: x - expression representing input value to sum

InterfaceRef jakarta.persistence.criteria.Expression

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

InterfaceRef jakarta.persistence.criteria.ParameterExpression

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

CriteriaBuilder.sumAsDouble(x) - JPA Method

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 value to sum operation Return: sum expression Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.Subquery

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

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

Connecting to a remote objectdb server

in the extracted directory (including subdirectories). Run the server at that location (e.g. double

Database size is much larger than expected (x2)

, the codes show the version 2.2.9_3 is doubling the size: import static util.SingleManager.em; import static

Embedding ObjectDB on server application

, then it is relative to the ObjectDB home directory . support Support I double checked that ObjectDB.jar

Unable to create 128 column of a table.

match the reported version (2.8.3). Please double check which version/build you use. In addition

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue

Getting sales quantity per country with a query, an idea anyone?

contains the 3 SELECT items, here String, Integer and Double . Its very nice to get all that in

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

said: I will double check again. webel Dr Darren Kelly You asked concerning my assertion that 'I

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

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

each 1-2 days objects on some objectdb level lock/block each other

against double queries hgzwicker Hans-Georg Zwicker we have installed during weekend in the production

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

, so double check that all your entity classes are enhanced. Something else to check is that all objects

Server out of memory exceptions

. felixobjectdb Richard Szurgot Sorry! - I've double checked the test and it is bad. I'm not clearing