ObjectDB Database Search

151-200 of 200 results

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

jakarta.persistence.criteria.Subquery

) 1.0 SetJoin correlate ( SetJoin parentSet ) Create a subquery set join object correlated to a set ... (JPA) 2.1 Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query. Returns

JPA Criteria Query Expressions

expression handling by using a minimal set of reusable interfaces, so many different types of expressions

FROM clause (JPQL / Criteria API)

, SET , SIZE, SOME, SQRT, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE, UPPER, VALUE

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

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

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

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 ... Public Instance Methods ConstructorResult[] classes () Specifies the result set mapping to constructors

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

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.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

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

ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316)

Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video

Object creation in the Explorer requires automatically set primary keys

The feature of creating new objects in the Explorer is currently supported only for entity classes that have primary keys that are set automatically. support Support

Step 2: Entity Class and Persistence Unit

+ ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting

Step 1: Create a Maven Web Project

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

Step 1: Create a Java Project

qualified class name is set (you may use copy & paste). Click the Finish button to create

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