ObjectDB Database Search

1-29 of 29 results

Database Management Settings

to use for caching database file pages. The max-threads attribute specifies the maximum number ... requests are queued until previous requests are completed. The optimal number is usually larger than the number of available CPU cores but not so large that it causes performance degradation from

JPA Entity Fields

accessed. Version Field ObjectDB maintains a version number for every entity. The initial version ... that modifies an entity, its version number is automatically incremented by one. Version fields are used

Server Configuration

the maximum number of simultaneous connections that the server accepts. A connection request that exceeds this limit causes an exception on the client. A value of 0 indicates no limit on the number

SELECT clause (JPQL / Criteria API)

provides a shortcut method, multiselect , which takes a variable number of arguments representing

Setting and Tuning of JPA Queries

the page number (starting from 0 for the first page), the following code retrieves the results

Storing JPA Entities

.xml . Batch store Storing a large number of entities requires special consideration. You can use

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

jakarta.persistence.TypedQuery.setFirstResult(int)

Jakarta Persistence (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 Returns: the same query instance. Throws

Removing objects where ManyToMany relationships exist

; }     return setOfOtherEntities;   } Now consider a number of OtherEntities ... well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets?  ... could it potentially lead to a number of different exceptions, depending on state, query type

Pessimistic Lock Timeouts setting

is executed by a ThreadPoolExecuter and the result is stored in ObjectDB. Due to huge number ... and adaptor, pessimistic lock is used. Is this exception due to the limited number of supported thread by ObjectDB? (The default number of supported threads in ObjectDB configuration file is 10

[ODB1] Chapter 6 - Persistent Objects

, and its toString() returns a temporary negative number , because a database object ID is not allocated ... ); String s1 = oid.toString(); // s1 contains a temporary negative number pm.currentTransaction().commit(); String s2 = oid.toString(); // s2 contains a permanent positive number The above code shows

explorer NullPointerException

] button after select the entity class and specify the number of objects in the dialog box,  ... select the entity class and specify the number of objects to construct. Click the Create and Persist

Exception on creation when running multithreaded

[2011-08-12 02:51:23 #32 query.compiler] Number Of objects for com.contextspace.datamodel.party.CDI ... :51:24 #38 query.compiler] Number Of objects for com.contextspace.datamodel.party.Organisation is 800

General Performance Issues Illustrated with a Specific Method

the output, the exact number of miliseconds are clearly displayed. Please check the code ... , focused and only with relevant details).   In the output, the exact number of miliseconds

Possible cause for "Enhancement of type ... is old and cannot be used"

have been getting the error 'Enhancement of type ... is old and cannot be used' across a number of projects

Tutorial issue

Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create

Problem with changing the password

I need to change my account password, but every time I try, it tells me the format is invalid, but it doesn't tell me what format to follow. alejandro IAN ALEJANDRO Try the following: The password should be 8-16 characters, at least one uppercase letter, one lowercase letter, one number and one special character from (!$%&*?@). support Support

Low performance when getting grove roots

Hi, I have a grove-like structure of objects, every objects referencing its parent. Root objects have null as the value of this parent reference. To find the roots I execute a query. If the number of objects in the tree is significant, this query takes almost forever, it seems ObjectDB loads

Optimistic locking: prevent version increment on entity collection attribute

my case there is a limited number of readers). Hope this makes sense, Regards, farid oudjanef Farid

Guestbook Tutorial (Eclipse/Glassfish)

causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view

StackOverflowError after commit

version 2.6.4.b04 btc_es BTC EmbeddedSystems Please recheck the version number (on the client

Failed to commit transaction: Attempt to commit a rollback only transaction

me on a number of fronts: a) why is there a jpa error? b) what happens to a production database.   secondly

ObjectDB licencing rules

licenses enable unlimited number of installations (either in one site or worldwide, respectively

Missing Data on Retrieval (0, null values)

. Large projects may need 100 or more entity classes, but you may be able to reduce the number of entity

Guestbook example from tutorial does not work.

number :  7.0.55.0 OS Name:        Linux OS Version:  

connection pooling

chapter 3).     The max attribute specifies the maximum number of simultaneous connections

Join query problem with new statetment

slow - that is expected, because of some high number of objects to download. I forget to mention in

combined index not used

performance). Complex heavy queries with several JOIN operations require examining large number ... ) of the executed query plan (always 1 unless a hint is provided), the total number of query plans in ... (filtering is required because of the huge number of possible query plans). A new version of ObjectDB 2.8.3

retrieval again and again started

, number of concurrent users, JVM heap usage, GC activity, etc? support Support Did you have these query