ObjectDB Database Search

101-150 of 200 results

Refresh data in application after database data has changed

Refresh data in application after database data has changed

ObjectDB JPA 2.2 support ( java.util.stream.Stream )

Hi , in my database i want to fetch resultlist as big chunks.JPA 2 . 2 has new feature named Stream ... objectdb for JPA 2 . 2 ?  eix128 Kadir BAŞOL We hope to support this feature soon. Meanwhile, you can run the query in LAZY mode , and then data from the database will be retrieved in batches

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

Golyshkin ObjectDB allocates internal data structures for every persisted object, but uses weak ... (); } When we completed import data to database we also using following code for flush all data to DB ... that we are not expecting to close DB after import data and would like to release acquired by ObjectDB

Unable to convert 1.x odb file to 2.x

Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2 . So I downloaded the objectdb- 2 .5.5_02, activated it with our licence, enhancing went ... - 2 .0 file conversion Exception in thread "main" java.lang.RuntimeException: Internal Exception

BeanCreationException in spring data JPA with objectDB

.GenericTypeResolver.getTypeVariableMap(Ljava/lang/Class;)Ljava/util/Map; from class org.springframework. data .util ... org.springframework. data .util.ClassTypeInformation at org.springframework.beans.factory.support ... .springframework. data .util.ClassTypeInformation at org.springframework. data .util.ClassTypeInformation

Explorer in 2.3

. Then allow import of that file into another database. 2 . Lazy loading of data , especially in table view ... : 2 . Lazy loading of data Data is already loaded lazily. There is a problem when opening a table or ... data and Strings. After playing with it for a while, here is a list of additional features I'd love

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

after upgrading to 2 .9.0 (because of the other problems in former versions), the database destroys ... that are not synchronized with the data . This could be caused by certain unsupported schema changes (if you had schema changes in addition to upgrading to 2 .9.0) . If this is the only issue then running

Exporting the data out of the ObjectDB

system. However we want to work on one of the aspects that is the data should be able to pulled out of the ObjectDB to some sort of Big Data File system or Relation DB for reporting / analytics ... our OLTP to be affected by data intensive reporting and analytics requirements. This could be handled

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

seconds in object db 2 .x I have build the query using the follwoing Query query = persistanceManager ... logEntryIdList"); List param1 has the following data [5] List param2 , data is attached in the file as it was big ... objectdb explorer binitbhaskar Binit Bhaskar ObjectDB 2 .x is usually faster than ObjectDB 1.x

Finance data from SQL Server into ObjectDB daily

data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add ... other JPA implementations to retrieve data from RDBMS tables and then use the same JPA entity classes to store the data in ObjectDB. support Support Hi -   Thanks for getting back to me. I'm unfamiliar

Glassfish 4 JTA Data Source Support

I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server (Glassfish 4 in my case).  My application already uses a number of JDBC data sources for Oracle etc., that are configured in

Data portability

Hi, I've never used an OODB, I'm looking for a starting point but a recurrent concern is the Data Portability one. More clear: what options / strategies do I have to export / move my data ... Portability (based on JPA/JDO standards), but what about Data Portability? Regards, lorenzo.sm Lorenzo

JPA and handling large data sets

. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step ... data sets the way is slow. We have an own entity for storing binary data (pictures, documents). Hint: The export enumerates all entities(=table) for exporting data . An overview of this problem

ObjectDB data migration/extraction

Hi What is the way to extract data from ObjectDB to relational databases (Oracle). We need to feed an Oracle database with data for reporting/datawarehosing. Should JPQL be used or is there some ... , so you will have to migrate data using your own code. Notice that you should be able to use ObjectDB with BIRT to produce

JPA 2.0 Criteria API: (When) Fully supported ?

An excerpt from the website of a 3rd party vendor which tries to support JPA 2 .0:   "The primary difference between JPA 1.0 and JPA 2 .0 implementations is how data is fetched: the JPA 1.0 implementation creates a JPQL query string for fetching while the JPA 2 .0 implementation uses Criteria

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

ObjectDB 2 .7.3_03 gives my application a "com.objectdb.o.UserException: Attempt to modify ... ; (ObjectDB log file attached.) If I revert to ObjectDB 2 .7.3, then no more exception.  (No other code ... image that shows the error is attached.) CBE CBE This is probably caused by a change in version 2 .7

Import data from MySQL

mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases ... data from MySQL using JPA as entity objects, detach the retrieved entity objects and then persist them into ObjectDB. An automatic data conversion utility is expected to be implemented as

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... ); } } Is there a way to get data of all classes without writing down 10 different queries (i.e. using the for loop

Storing a tree of data (depth=3)

of the data tree +1 I'll explain it here: A movie is an entity (like the book) A movie has a list of roles ... @Entity and @Embeddable) and a roleName (String) There are other data like list of directors, list ... regards, Thomas APPENDIX : I'm using lombok ... @Entity @ Data @NoArgsConstructor

java.lang.ClassCastException in OSGi runtime when loading data from DB

ClassCastExceptions on my "entity" classes when I try to read data from the DB. In a very old (2011?) forum ... . The entity obviously has to get loaded by all bundles in order to manipulate the data . This is the code ... would mean doubling the classes and having to move data around between the Entities and DTOs. Many

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer ... performance hit. Problem 2 : executing a query that returns User with id 5,6,7 (or any other) takes fresh data

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start ... org.springframework. data .jpa.domain.AbstractPersistable.id at com.objectdb.o.MSG.d(MSG.java:62

Data migration from SQLServer to ObjectDB

Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. irene05 irene lan Unfortunately there is currently no such automatic tool. Using a JPA ORM library (e.g. Hibernate or EclipseLink) you can write your own conversion program that retrieves data from

data protection method in ObjectDB Embedded Mode

I am new in ObjectDB and i need to understand How is data protection in ObjectDB Embedded Mode without using  username or password thanks choymns choymns The way to keep an ObjectDB database encrypted is simply to store it on an encrypted drive. Modern operating systems support encryption

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2 . persistence.xml ... , so most of the data should be in cache. ODB and Tomcat are on different servers. lwalkowski Lukasz Walkowski

em.flush(); em.clear(); loosing data and not persisting managed objects

em.flush(); em.clear(); loosing data and not persisting managed objects

Query in Spring Data error Like for Integer records

Query in Spring Data error Like for Integer records

using objectdb.jar in writing data to mariadb or mysql db

using objectdb.jar in writing data to mariadb or mysql db

How to delete a specific column data form a entity.

How to delete a specific column data form a entity.

Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query

Hi,   AFter the upgrade from 2 . 2 .8_02 (not sure if it was build 03/04 as I skipped 03 ... =false) OR ($1.conditionThree=false)))) Exception in thread "main" [ObjectDB 2 . 2 .8_04] Unexpected ... The criteria query AND/OR fix in 2 . 2 .8_04 caused this new problem. Please try build  2 . 2 .8_05

Chapter 4 - JPA Queries (JPQL / Criteria)

the expressions used to build JPQL and criteria query clauses: ObjectDB also supports the Java Data Objects

JPA Listeners & Callbacks Annotations

Trigger logic after retrieving data from the database: Executes after an entity is loaded into

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb- 2 .6.9_06 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related:  How to Use a SF ... .test.mini.ejb.ExtProjectBuilder ! Then Clean and Build (objectdb- 2 .6.9_06.jar is already included ...   All_ , not shown.) The following strategy used to work for objectdb- 2 .4.0_05 , but fails

ObjectDB License

. You are encouraged to test ObjectDB before purchasing a license. Server License ObjectDB 2 .x Server License costs £500  and includes all version 2 .x updates. A server license covers one installation ... a Server License Site License ObjectDB 2 .x Site License costs £2,500  and includes all version 2 .x

JPA Class Enhancer

line: ObjectDB Enhancer [version 2 .9.4] Copyright (c) 2025, ObjectDB Software. All rights reserved ... lists the classes that have been enhanced: [ObjectDB 2 .9.4] 3 persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test

jakarta.persistence.EntityResult

columns to related entities. The results obtained when insufficient data is available are undefined ... by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3. 2 FieldResult

jakarta.persistence.SharedCacheMode

of PersistenceUnitInfo.getSharedCacheMode . Since: Jakarta Persistence (JPA) 2 .0 Enum Constants ALL All entities and entity-related state and data are cached. Since: Jakarta Persistence (JPA) 1.0 DISABLE

jakarta.persistence.PersistenceConfiguration

) Since: Jakarta Persistence (JPA) 3. 2 Public Static Fields CACHE_MODE String specifying a SharedCacheMode ... transactionType () The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source

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

would prefer to go for a 2 step solution whete a first fast step would not need a change of the data model ... each 1- 2 days we have the situation that our system changes to a completely underperforming mode ... is much more critical, today we switched back to 2 .7.5, but the same behaviour  - nothing changed in

jakarta.persistence.EntityManager

Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3. 2 void ... of entity graph Returns: entity graph. Since: Jakarta Persistence (JPA) 2 .1 EntityGraph ... graph. Since: Jakarta Persistence (JPA) 2 .1 Query createNamedQuery ( String name ) Create an instance

JPQL support for Maps (JPA 2.0)

JPQL 2 .0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB ... both KEY and VALUE statements with JPQL with the latest version of ObjectDB 2 .3.7. It seems to me they are not supported. Query : "SELECT s FROM Session s JOIN s. data d WHERE VALUE(d) = :value" Object

[ObjectDB 2.6.9] Unexpected exception (Error 990)

the problem occurs when data is loaded and queried at the same time. In production I still have the same problem.. version 2 .5.6_05  - size of data 100GB I am running a Doctor in prod (in a backup file ... [2017-03-29 14:04:44 #1 client] [ObjectDB 2 .6.9] Unexpected exception (Error 990)   Generated

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

build 2 .6.1_01 runs the query on the last available data , but for a complete solution we may need a test case. support Support ... Hello, the following exception appears when we execute a query:   [ObjectDB 2 .6.0_04 ... .renderers.swt.DirectContributionItem$ 2 .handleEvent(DirectContributionItem.java:331) at org.eclipse.swt

jakarta.persistence.FetchType

strategies for fetching data from the database. The EAGER strategy is a requirement on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed. The implementation

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at com.objectdb.o.UTY.aG(UTY.java:1275) at com.objectdb.o.ENH.b(ENH.java:102 ... these kind of  exceptions where the data model between client and server is different and log

JPQL Case Statements (JPA 2.0)

JPQL 2 .0 adds support of CASE statements for conditional expressions in queries, similarly to switch/case/default in Java, and based on the SQL syntax. Case statements are currently not supported by ... are used to construct a minimal Data Transfer Object (DTO) that is just enough to expose a named link

ObjectDB 2.8.5

Fixed a bug in using AS in SELECT NEW (breaks some Spring Data JPA queries). Fixed a bug in tracking changes to new collections after flush ( issue #2640 ). Fixed a StackOverflowError on no access permission to objectdb.conf ( issue #2643 ). Fixed a bug in managing pessimistic locks after using

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

All latest versions later 2 .4.5+ even 2 .4.5_05 doesn't work, it deployed but errors when running. But 2 .4.4 worked javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer ... Luc Have you tried 2 .4.5 or 2 .4.5_03? Because 2 .4.5_03 fixes a GlassFish integration issue . support

jakarta.persistence.Query

that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3. 2 CacheStoreMode ... . Since: Jakarta Persistence (JPA) 3. 2 int getFirstResult () The position of the first result the query object ... : position of the first result. Since: Jakarta Persistence (JPA) 2 .0 The Running JPA Queries article

[ODB1] Chapter 7 - JDOQL Queries

) void setCandidates(Extent pcs) void setFilter(String filter) 7. 2   Query Filter Syntax ... , 0, 0xFFFF, 07777 , ... long 2003L, -127L, 0L, 0xFFFFL, 07777L , ... float 3.14F, 0f, 1e2f, - 2 .f, 5.04e+17f , ... double 3.14, 0d, 1e2D, - 2 ., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF