ObjectDB Database Search

151-200 of 200 results

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception ... .getMetamodel(Unknown Source) at org.springframework. data .jpa.repository.support.JpaEntityInformationSupport.getMetadata(JpaEntityInformationSupport.java:56) at org.springframework. data .jpa.repository

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

Missing Data on Retrieval (0, null values)

Table contains all necessary Data . Most of the others  contains all  Object-Rows ... More information is needed (e.g. about your method exportToCSV ). support Support The Data is even missing in ... ) then you must make sure that data is fetched from the database before you your first reflection operation

Spring Data JPA - PersistenceException thrown

) at com.sun.proxy.$Proxy13.getMetamodel(Unknown Source) at org.springframework. data .jpa.repository ... ) at org.springframework. data .jpa.repository.config.JpaMetamodelMappingContextFactoryBean.createInstance(JpaMetamodelMappingContextFactoryBean.java:56) at org.springframework. data .jpa.repository

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

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

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

index - data rewrite

Hi we have found that applying indexes on an existing table erases the data . Are we doing ... carefully if data is missing (very unlikely) or queries fail to return results (possible if a new ... change )? What data is missing? Complete objects? specific fields in objects? fields related

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

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

Using List to save data

Hello, How can I save data dynamically such as "List" in Java - ArrayList, LinkedList, etc. thanks Seena Abdollahi Seena Abdollahi Software Engineer sabdollahi Seena Abdollahi Lists are persisted automatically as fields of entity classes. See chapter 2 and 3 of the manual for more details. support Support

Significant I/O costs during batch update or insert data.

Significant I/O costs during batch update or insert data.

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

DB Doctor sets type to "unknown" for new fields

to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations ... like the following fail to change the value from null to false: UPDATE RecordingMetaData AS r SET r

Setting temp directory location in ObjectDB

.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax ... , how can i set the temp directory using my java class  e.g  setting through  ... directory where fileName.odb is located. But i want to set the tempority folder location

Understanding Database max-threads objectdb.conf Settings Option

(attached to forum thread mentioned above), I set  Database max-threads.  In the documentation, it was not completely clear to me if this setting controlled how many internal threads ObjectDB uses, or if ObjectDB is doing some sort of queue/locking whose depth is determined by this setting

Can a Set be a foreign key?

a variable (private Set cellHeldCharacters;) which holds the IDs of the characters within the cell ... is it illegal/unrecommended to do it for a Set ? For a better picture, I have: @Entity public class Character ... ;   private double cellSize;     private Set cellHeldCharacters

"Failed to serialize instance" of Set problem

, mappedBy="parent") private Set abstractContainers = com.google.common.collect. Sets ... of com.google.common.collect. Sets $SetFromMap - field xxx.AbstractContainer.abstractContainers at com ... Vladimir Tsichevski Maybe the set contains objects that cannot be serialized. Check the full stack trace

JPA query of a Set of terms

. ie. Set terms;     // the set is filled with SearchTerm objects ...   any term should be simpler: Set terms; // the set is filled with SearchTerm objects

best practice for configuration settings

setting ? synchronized there is no documentation about this setting , what does it do/mean ? hgzwicker Hans ... settings under the real conditions. If synchronized is true requests to the database are synchronized

Safe Settings

Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine ... with both configuration settings with the debugger and I put a breakpoint in FileDescriptor#sync(). It never got triggered with no setting that I could come up with. How come? Thanks in advance

@ElementCollection Set is emptied sometimes

already. ObjectDB seems to clear some fields that are @ElementCollection Set of my objects ... is emptied, but not null. So, my @ElementCollection Set fields become empty sometimes during development ... it. Initially, I was not using @ElementCollection on my Set fields from User class. I've seen

ManyToMany Set is null

")     private Set contracts = new HashSet (); ---------- @Entity public class Contract ... = "contracts")     private Set persons = new HashSet (); [...] itsme Martin Petzold

Objectdb Server Mode set up with glassfish

Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set up objectdb in server mode. I ... my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish

Is there a way to set EAGER fetch on all "ToMany" collection relationships

Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. webel Dr Darren Kelly No. There is no such configuration option, since having EAGER

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save

Global way to set Lazy-loading fetch functionality for all the fields

if neither objectdb nor JPA offers it). ouba64 Ouba Mahamane Lazy / Eager can only be set locally

client server set up and load

is less affected by number of users and more by the actual activity, how indexes are set , etc. support Support

What's next?

two chapters cover tools and settings that are specific to ObjectDB:

Online Backup

a custom backup root directory by setting the target parameter before you execute the backup query

jakarta.persistence.NamedNativeQuery

how the native SQL query result set should be interpreted, for example: @NamedNativeQuery( name ... set mapping is needed, which may be specified using either a separate annotation: @NamedNativeQuery ... query result. If a result set mapping is specified, the specified result class must agree

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

Spring- Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl

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

jakarta.persistence.NamedStoredProcedureQuery

. The resultSetMappings element names one or more result set mappings, as defined by the SqlResultSetMapping annotation. If there are multiple result sets , it is assumed that they are mapped using the same mechanism — e.g., either all via a set of result class mappings or all via a set of result set mappings

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... " [ObjectDB 2.6.9] javax.persistence.RollbackException Failed to commit transaction: Failed to set numeric ... : com.objectdb.o.UserException: Failed to set numeric value of field property com.greensoft.objectdb

jakarta.persistence.criteria.AbstractQuery

directly in query construction. All queries must have: a set of root entities (which may in turn ... (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Inherited from CommonAbstractCriteria

jakarta.persistence.LockModeType

attempting to update the entity data . A lock with LockModeType.PESSIMISTIC_READ can be used to query data using repeatable-read semantics without the need to reread the data at the end of the transaction to obtain a lock, and without blocking other transactions reading the data . A lock

jakarta.persistence.CacheRetrieveMode

, Comparable , Serializable Specifies how the EntityManager interacts with the second-level cache when data ... that data may be read from the second-level cache. BYPASS indicates that data may not be read from ... explains how to use CacheRetrieveMode . Enum Constants BYPASS Bypass the cache: get data directly from

Step 1: Create a Maven Web Project

file and use copy and paste to replace its content with the following settings : 4.0.0 com.objectdb

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 2: Entity Class and Persistence Unit

by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 5: Add a JSP Page

from the request's "guests" attribute that is set by the servlet in the previous step). The next step

Step 5: Add a JSP Page

" attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .

[ODB1] Chapter 4 - JDO Metadata

demonstrated above. The Index Rebuilder Tool Setting indexes for a new class that does not have persistent