ObjectDB Database Search
101-150 of 200 resultsMethod Invocation On All Entities
. One way to achive this could be retrieving one object at a time and invoke the method (using " retrieval ... entities of some type? You have to retrieve the entity objects and then run the method on each object ... . support Support I see. I'll retrieve the entity objects and then run the method on each object, as you suggested. Thank you. Yotam Yotam Boaz
|
|
Query problem after transaction commit
. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old ... explorer on the server, my client program can retrieve all the records (no program restart or ... Ken If you could retrieve old objects but not the recently stored objects then this could be a cache
|
|
Problem on JPA Merge Entity.
statement. Works! testUpdate Retrieve statement from database, retrieve some element from database, create ... we can see that the new component has been saved but not attached to the statement. refresh Retrieve statement
|
|
Optimistic locking: prevent version increment on entity collection attribute
when the object is retrieved . support Support Hello, thank you for your reply. I have added some code to re- retrieve the document entity in the initial call and all works fine. The Reading entities ... the Document from the DB with a new EntityManager (or cleared one) should re- retrieve the original
|
|
Update Entity references if we change the type of an entity
retrieval of an object is faster when its exact type is known. Following your request we added a new ... ObjectDB: System.setProperty("objectdb.temp.extended-ref- retrieval ", "true");   ... is enabled retrieval of objects by a reference accepts the expected type as well as its subclasses
|
|
Server closes if large query runs out of memory
collection. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves , and so should be able to fail safely if it finds too many objects being retrieved to fit into memory ... understand that JPA bulk delete doesn't involve any object retrieval , whereas perhaps JDO deletion does
|
|
Query filter comparing Dates
is done on retrieval . This way the values of Date and Time instances are represented in the database in ... time) when retrieved from the database. Timestamp is different, since it represents a point in time ... when it is stored or retrieved . Apparently in your test case there is a mix between types. The entity
|
|
Transaction isolation support?
(which represent database objects). Therefore, if an entity object is retrieved by one EntityManager ... is retrieved by A. If the collection is owned by User (i.e. not mapped by, as you wrote), then it is part of the User object, and will be retrieved with the User instance before B changes the list
|
|
Project runs in Eclipse but not when exported to runnable jar
of a model glider. I decided to use objectdb as a way to persist the values for later retrieval ... running the system through eclipse. The full retrieval is not yet implemented, I concentrated on understanding the basics before working out how to effeciently commit and retrieve the main data. I'm
|
|
Using the wrong class to access a database
.createEntityManager(); create(em); retrieve (em); deleteAndUpdate(em); // close connection to db em.close ... is almost the same as the first; it only calls the retrieve method, no data is added. The package name is 'com ... .ClassCastException The database is fine but the application tries to cast the retrieve object of the old class
|
|
Slow searching with two indexes
that satisfy: (this.receiver==:r). [Step 2] Retrieve fields in NmeaBatch (this) instances. [Step 3] Order ... The second query is slow because of the need to retrieve timeReceived value for a lot of objects ... with the new index with no need for further data retrieval . Another option that can be checked is running the query with lazy fetch . support Support
|
|
Activation Issue
mosi0815 Ralph Moser Hi again, I think I just found out why this happens. Spring Data is retrieving ... for retrieving the meta model you access also a local embedded database. If not, we will try to reproduce it by ... the Retrieving Metamodel without Connection feature (which was implemented following your request two years ago
|
|
Multi-tenant capability with hierarchies
should restrict retrieval of data to the relevant tenants. support Support Thanks for the answer and the link ... to go could be to move from a Singleton Bean to a Prototype Bean and retrieve it by name or by the other means Spring Core gives for retrieving beans. Once you have several databases you need to manage
|
|
Create simple index for a Id field
can understand that reading is a complex task, because you first have to lookup and then retrieve the object ... to retrieve objects is by the key (or ID). Maybe ObjectDB is not the best option if I want ... retrieval and reading operations (see this comparison ). But obviously a HashMap in memory is faster
|
|
Query results are not up to date for entities, not primitives
entity objects in the database using an UPDATE query may be slightly more efficient than retrieving ... TypedQuerys. I just realized that the data retrieving up to date if I do not use the generic ... , the problem is with the exact way in which data is retrieved later. Only with a complete runnable test
|
|
Exporting the data out of the ObjectDB
), you can use JPA to retrieve entity objects from ObjectDB and then store them in the other data store ... have to write java module with JPA to retrieve entity and then using some kind of ORM or direct JDBC persist
|
|
Removing objects where ManyToMany relationships exist
the database intentionally. It depends. On retrieval - inverse (mapped by) collections ... is required in order to retrieve the content of a collection. support Support
|
|
Pessimistic Lock Timeouts setting
transaction. I used to retrieve my stock object by a JPA EJB. However, after retrieval
|
|
Explorer in 2.3
a common feature in database viewers. Any idea how this can be done technically without retrieving ... a very large array in the debugger). This will limit retrieval to open branches in the tree. 3
|
|
Is 2 level cache in use?
.getCache().contains(entityClass, primaryKey) , so you can persist or retrieve an entity object ... it prepares all the results, regardless the cache. So the cache is mainly useful for retrieval by
|
|
Import data from MySQL
to ObjectDB you will have to write your own conversion program. If you use JPA with MySQL you can retrieve old data from MySQL using JPA as entity objects, detach the retrieved entity objects and then persist
|
|
virtual servers and one file
access (rather than a complete scan) you can retrieve objects with random primary keys ... with every index (i.e. retrieve object by indexed values), but for a simple test you can also have a database
|
|
Finance data from SQL Server into ObjectDB daily
other JPA implementations to retrieve data from RDBMS tables and then use the same JPA entity classes ... but you can use other JPA implementations to retrieve data from RDBMS tables and then use the same JPA entity
|
|
Embedded in JDO metadata not working in objectDB 2.x ?
program that retrieves all the relevant containing entity objects, makes them dirty and persists ... the schema and wrote the program which retrieves the containing entities, made them dirty
|
|
Queries are slow on a large database
, all the objects have to be retrieved . For diagnosis please try the same query without the ORDER BY clause ... managed to figure out: how to get the total number of object in a database without retrieving
|
|
Memory Leak?
it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num ... and other HashMap. Here is the code that retrieves the data. I'm pretty sure I'm not holding objects
|
|
Broken @ManyToOne reference
the Child instance is retrieved . Now it has null in the prn field . The output shall look like: Parent ... . Anyway, please try build 2.4.7_08. Your test should pass with ID set across the hierarchy, but the retrieval
|
|
Bidirectional OneToMany is slow on updated items
requests of Address instances. For existing persons - retrieval of the addressSet ... the cost of these operations, and mainly the addressSet retrieval when the database is not empty
|
|
Some details about db behavior
see {something, null, null, and allways nulls}, but when i retrieve that field i ... (if it is actually referring and not copying information of A) when retrieved through repository
|
|
Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices
, if you really need it, and still improve efficiency (except when retrieving the objects by the UID, as retrieval by index is slightly slower then by PK). support Support
|
|
Dirty checking
of the object graph have already been retrieved , they won't be retrieved for the detached object. I'm not
|
|
Updating Entities
may be slightly more efficient than retrieving entity objects and then updating them, but it should be used ... query and before retrieval or a specific object using refresh , and disable the 2nd level cache
|
|
Saving custom list which implements java.util.List fails
, this change will enable persisting collections of maps of non standard types, but when retrieved ... collections of maps of non standard types, but when retrieved , other collection and map types will be used
|
|
Cascading persistence through an inverse field
when it is retrieved from the database? What would be the best way to achieve ... automatically when the object is retrieved (or refreshed) from the database after commit or flush
|
|
Persist error @ManyToMany how to define correct entities relationships
How do you initialize the categories of a new product? You should retrieve references to existing Category ... choicebox). if a prodcut is retrieved from webservice then the categories are created but category
|
|
Optimistic lock failed : object has version .. instead of ..
I do basic storage and retrieval of Record class. When I stress the retrieval /storage with Apache JMeter sometimes (at some requests) I get this exception. [ObjectDB 2.5.0] javax.persistence.OptimisticLockException Optimistic lock failed for object entities.Record#'1405/838/2011/121
|
|
JPA query of a Set of terms
terms provided. Is this possible? Thanks, Carl FastModel Ben Schreiber Retrieving pages that contain ... ); I am afraid that retrieving pages that contain all the terms requires building a dynamic query
|
|
Getting sales quantity per country with a query, an idea anyone?
is too slow and inefficient. Thanks. lo Hoel Possibly you may be able to retrieve that information using ... in case anyone need to achieve the same. This call will retrieve a list of 3 dimensional Object array
|
|
Remove a modified entity cause an optimistic lock exception
BTC EmbeddedSystems The OSGi test is based on: Retrieving an object from the database. Modifying ... the object rather than to the EntityManager that is created later to retrieve the object. Anyway, thank
|
|
Removing of an entity removes also another entity type
are created and persisted again. The ResolverMapping entities are retrieved from database by a query ... .remove(obj). Directly after remove we try to retrieve again the ResolverMapping entities from ... may be slightly more efficient than retrieving entity objects and then updating them, but it should be used
|
|
Unexpected exception when execute query without enhanced entities
); retrieve (emf); emf.close ... (); } private static void retrieve (EntityManagerFactory emf) {   ... . retrieve (F2828.java:26) at com.objectdb.test.bug.forum.F2828.main(F2828.java:12) In
|
|
Internal error
. It seems to be related to an an attempt to retrieve an entity object that is part of the query results ... to retrieve an object in a query result, which was not found in the database. i.e. it was in the database ... , but was not closed after the exception. The exception at #1 was thrown during an attempt to retrieve
|
|
missing merger
indicates that parts of objects have not been found during retrieval (in objects with IDs 9 ... -Georg Zwicker Yes, and also simultaneous retrieval (as the log errors are generated during retrieval
|
|
Eager load Map
so apologies for that. I've attached another go. The main difference here is that I'm using "find" to retrieve the objects from the database. If you run the test as-is the objects are retrieved and the nested
|
|
queries under 2.7.6_4 significantly slower than under 2.7.6
that satisfy: (o.classIdentifier='(OP)'). [Step 1b] Retrieve fields in ObjectNode (o) instances ... ] Retrieve fields in ObjectNode (o) instances. [Step 2c] Filter the results of step 2b retaining
|
|
ObjectDB 2.3.2
when an entity object is retrieved using find with a PK of a different type (e.g. Integer instead of Long ) and then updated. Fixed retrieval with pessimistic lock to bypass cache and to force refresh.
|
|
ObjectDB needs "insert ignore"
pointed this "Find is very efficient in retrieving a single entity object but less efficient ... .objectdb.com/forum/359 gzdillon Lai Yang You'd pointed this "Find is very efficient in retrieving
|
|
Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())
its up to date content to a snapshot of the object when retrieved from the database. In most cases ... are retrieved from the same EntityManager object as mixing objects across EntityManager instances
|
|
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)
/ retrieve EITHER: the transparent activation is failing AND/OR: entities are becoming detached. http://www ... ". They are initialized and stored into the database, and on retrieval the JPA provider is obliged
|
|
No Entity Class API
on retrieved objects. ObjectDB generates synthetic classes automatically when persistable classes ... from the Metamodel API to access fields of retrieved objects, etc. support Support Thanks
|