ObjectDB Database Search

51-100 of 200 results

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

are found with field type GOOD. There are 2 ways generate the bug: Immediately after a new number ... number is printed. There is a 1 minute delay set. The same as 1, but keep ObjectDB's connection open. In this case rerunning the project many times doesn't help at all. Problem: the number of entities

Occasionally slow requests in load testing

we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack ... The first stack trace (com.objectdb.o.LFL:U: line number 1068 ) indicates massive access

Refresh data in application after database data has changed

my application and I want to add a person with the same national number as a person already in the database ... with the same national number as a person I want to add. However when I change the value of the national number in the database explorer when the program is running and I want to recreate the person, he keeps

Explorer in 2.3

tree with all the instances of a specific class. This is because numbering all the instances ... the maximum number of records 'N' (default to some small number like 10) to display ... , but they may contain collections (explicit or derived) with a large number of elements. Again, most likely I'm

ObjectDB is opening too many sockets

the ObjectDB Server process has 3895 opened files, and from that number  3823 are opened sockets ... (firstdb and seconddb) and on the end of the line I wrote number of sockets, which ObjectDB Server ... . Number of opened sockets during the time: Thu Apr 15 15:11:01 CEST 2021 : 0 Thu Apr 15 19:03:01

problem using macbook with M1 chip?

, float) [2]     7  return       Line numbers :         ... .UNM$f [3]     4  areturn       Line numbers :         ... ;   Line numbers :         [pc: 0, line: 77]         [pc: 10

Object comparation never matches

number ;   Which is a part of Customer object: @MappedSuperclass @NamedQueries({     ... (PhoneNumber number ){     principal = number ; }   And making a query: Customer customer ...         number | long | 4567890   Then I'm constructing exactly

ArrayIndexOutOfBoundsException

. The number 36 indicates type version number 36 (i.e. after 35 modification of some entity type). You have an object with that type version number but the type version doesn't exist in the database ... client may send its own version of the entity class to the server, the version numbers are increased

Schema Update large refactoring

this: "com.btc.ep.*, while the new one will be "ep.*", where "*" can be any number of "sub"-packages ... , will there be any limit to the number of packages that we can specify? Will the number impact performance ... ;will there be any limit to the number of packages that we can specify? No. Will the number impact performance

Remove an entity which attributes were changed - OptimisticLockException

a version number for every entity object, which is increased on every update. An  OptimisticLockException  is thrown when that version number indicates a concurrent update by another user (using ... to the entity class, so the version number will be injected to that field. Please check this version number

Index causes increased memory usage

don't have the numbers with me, but I can post what we discovered using different processing cache ... , we are working with an 8-core processor.  The recommended thread count is "more than the number of cores but not too many."  What would be an appropriate number of threads for the processing

Exceeding max connections and crashing

stops once a day with no apperent reason. Second cause we suspect is the number of network connections ... , it could be the result of exceeding the maximum number of connections, maybe because new ... is that JBOSS is not on the same server as ObjectDB. After we increased heap size and number

Query.setMaxResults(maxResult) - JPA Method

JPA Method in jakarta.persistence.Query Query setMaxResults (   int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0

TypedQuery.setMaxResults(maxResult) - JPA Method

JPA Method in jakarta.persistence.TypedQuery TypedQuery setMaxResults (   int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0

CriteriaBuilder.round(x,n) - JPA Method

rounded to the number of decimal places given by the second argument. Parameters: x - base n - number of decimal places Return: the rounded value Since: JPA 2.0

AnnotationRef jakarta.persistence.Column

int secondPrecision default -1 (Optional) The number of decimal digits to use for storing fractional ... that the maximum number of digits supported by the database and JDBC driver should be stored in a timestamp

AnnotationRef jakarta.persistence.Version

the integrity of optimistic transactions. The version field or property holds a version number or ... , java.time.Instant , java.time.LocalDateTime . This field declares a version number : {@snippet

FieldRef jakarta.persistence.criteria.LocalDateTimeField.WEEK

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField WEEK The ISO-8601 week number . Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.MONTH

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField MONTH The calendar month of the year, numbered from 1. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.HOUR

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.DAY

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField DAY The calendar day of the month, numbered from 1. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.QUARTER

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField QUARTER The calendar quarter, numbered from 1 to 4. Since: JPA 3.2

AnnotationRef jakarta.persistence.TableGenerator

id numbers from the generator. Since: JPA 1.0 String catalog default "" (Optional) The catalog

Query.setFirstResult(startPosition) - JPA Method

JPA Method in jakarta.persistence.Query Query setFirstResult (   int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0

Query.executeUpdate() - JPA Method

JPA Method in jakarta.persistence.Query int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Jakarta Persistence query language SELECT statement or for a criteria query

TypedQuery.setFirstResult(startPosition) - JPA Method

JPA Method in jakarta.persistence.TypedQuery TypedQuery setFirstResult (   int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0

CriteriaBuilder.quot(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression quot (    Number  x,     Expression  y ) Create an expression that returns the quotient of its arguments. Parameters: x - value y - expression Return: quotient Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.SequenceGenerator.allocationSize

JPA Annotation Attribute in jakarta.persistence.SequenceGenerator int allocationSize default 50 (Optional) The amount to increment by when allocating sequence numbers from the sequence. Since: JPA 1.0

CriteriaBuilder.quot(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression quot (    Expression  x,     Number  y ) Create an expression that returns the quotient of its arguments. Parameters: x - expression y - value Return: quotient Since: JPA 2.0

CriteriaBuilder.le(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate le (    Expression  x,     Number  y ) Create a predicate for testing whether the first argument is less than or equal to the second. Parameters: x - expression y - value Return: less-than-or-equal predicate Since: JPA 2.0

CriteriaBuilder.lt(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lt (    Expression  x,     Number  y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - value Return: less-than predicate Since: JPA 2.0

CriteriaBuilder.ge(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate ge (    Expression  x,     Number  y ) Create a predicate for testing whether the first argument is greater than or equal to the second. Parameters: x - expression y - value Return: greater-than-or-equal predicate Since: JPA 2.0

AnnotationRef jakarta.persistence.SequenceGenerator

numbers from the sequence. Since: JPA 1.0 String catalog default "" (Optional) The catalog

CriteriaBuilder.gt(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate gt (    Expression  x,     Number  y ) Create a predicate for testing whether the first argument is greater than the second. Parameters: x - expression y - value Return: greater-than predicate Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.TableGenerator.allocationSize

JPA Annotation Attribute in jakarta.persistence.TableGenerator int allocationSize default 50 (Optional) The amount to increment by when allocating id numbers from the generator. Since: JPA 1.0

CriteriaBuilder.power(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression power (    Expression  x,     Number  y ) Create an expression that returns the first argument raised to the power of its second argument. Parameters: x - base y - exponent Return: the base raised to the power of the exponent Since: JPA 2.0

CriteriaBuilder.exp(x) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression exp (    Expression  x ) Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument. Parameters: x - expression Return: exponential Since: JPA 2.0

FieldRef jakarta.persistence.criteria.LocalTimeField.HOUR

JPA Static Field in jakarta.persistence.criteria.LocalTimeField HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.SECOND

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.MINUTE

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField MINUTE The minute of the hour, numbered from 0 to 59. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalTimeField.SECOND

JPA Static Field in jakarta.persistence.criteria.LocalTimeField SECOND The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalTimeField.MINUTE

JPA Static Field in jakarta.persistence.criteria.LocalTimeField MINUTE The minute of the hour, numbered from 0 to 59. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateField.MONTH

JPA Static Field in jakarta.persistence.criteria.LocalDateField MONTH The calendar month of the year, numbered from 1. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateField.QUARTER

JPA Static Field in jakarta.persistence.criteria.LocalDateField QUARTER The calendar quarter, numbered from 1 to 4. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateField.DAY

JPA Static Field in jakarta.persistence.criteria.LocalDateField DAY The calendar day of the month, numbered from 1. Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateField.WEEK

JPA Static Field in jakarta.persistence.criteria.LocalDateField WEEK The ISO-8601 week number . Since: JPA 3.2

Best practise loading big data

stringValue; } The number of MyStep elements can reach over a million, the number of MyValue objects ... . One is to stupidly commit the transaction after a certain number of read accesses (every 10000 read access ... ;this operation or at least useful information about the number of instances in the heap per type

strange object unique ID

at a customer the unique object id of one class changed dramatically from a nurmal number to an incredible number which, for sure, cannot be used any more, see screenshot the database is available ... of the entity classes jumped unexpectedly. Therefore, although the numbers are very large and strange

queries under 2.7.6_4 significantly slower than under 2.7.6

following issue #2379 , as the number of combinations examined by the query planner was increased. Unfortunately, although increasing the number of query plans that are examined can usually help in finding ... . Decreasing the  number of query plans can solve the performance issue in this specific case

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

details about the number and types of transactions per minute when the system is on load?   ... ), details about activity ( number of concurrent users, queries by type per minute, new objects ... the number of concurrent threads works better. How do you know that the system is near to collapse