ObjectDB Database Search

101-150 of 167 results

Documentation problem - license does not match implementation

and embeddable combined.  I will now probably have to drop ObjectDB in favor of some other JPA provider. kjkrum Kevin It was fixed and you should be able to use version 2.4.3 with 10 entity classes + embeddable classes. support Support

LEFT JOIN FETCH over empty embedded collection returns no results

my original post: @ Embeddable class A { String val; };   @ Embeddable class B { List aList; }; @Entity

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

your model  PersonalData in defined as an embeddable class, and that may cause data duplication ... duplication consider using Entity instead of Embeddable for this type. support Support

Query on Embedded Primary Key?

; import java.util.List; import javax.persistence. Embeddable ; import javax.persistence.EmbeddedId ... ;  }             @ Embeddable public static class

A few questions on object database design

everything about the player as embeddable classes. However, my colleague questions about this structure ... of your application. Switching between entity classes and embeddable classes is easy

Some details about db behavior

me with this please link them. Regards vachagan Vachagan If A is an entity class (and not an embeddable ... ), you should see an A instance in the database. If A is an embeddable class the content of A will be persisted as

Multi part paths in a composite index must have the same length

; The SafeLong class is a very simple wrapper of a long -  @ Embeddable public class SafeLong ... ;   @ Embeddable     public static class SafeLong {      

Performance in SELECT statement

;private State state;     ... getter/setters ... } @ Embeddable public class ... definition is invalid. You cannot define an index directly on a field of embeddable class. Define a path

Navigation through Path to evaluate collection

and the related embeddable class. Thanks public synchronized List getList(String key){     ... List apiId; } @ Embeddable public class ApiIdData_ implements Serializable {      

Exception after update of indices of Entity class

; private Collection relations = new LinkedHashSet ();     ... } @ Embeddable public ... ; private Event recurringEvent = null;     ... } @ Embeddable public abstract

Storing a tree of data (depth=3)

@Entity and @ Embeddable ) and a roleName (String) There are other data like list of directors, list ... fullName; } @ Embeddable @Data @NoArgsConstructor @RequiredArgsConstructor @Builder public class Role

Suggestion for improving the examples

: Take the ridiculously complicated concept of @ Embeddable class e.g Address  etc... Placed in ... to keep the examples as simple as possible and when embeddable classes are introduced we prefer to focus on that topic

select query for a HashMap field of an entity.

I have the following entity. I need the all the MyEntitiy whose MyEntity. Embeddable .PropMap.Key = someValue. Can anybody please help me to get this what should be the query. @Entity class MyEntity { @ Embeddable class MyEmbeddable { private HashMap PropMap; } }   Thank you. Manoj Manoj Kumar

EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs

.Instant; import java.util.List; import java.util.TreeMap; import javax.persistence. Embeddable ; import ... String toString() { return "X [id=" + id + "]"; } } @ Embeddable public static class XId { public int

Potential memory leak

of one simple entity class (Person) and one embeddable class (AuditData), which is referenced by the entity ... threads seem to be created - one for the entity, one for the embeddable . The usecase may be a bit

New to Product & Having An Issue

.Domain; ...imports.... @ Embeddable @Access(AccessType.PROPERTY) public class DomainId implements

How to creat a Query with Sql which returns a List marks

How can i get out of the db my Athlete Objekt his list marks collection with a createQuery Sql-Statement. the Mark and Athlete Object do not really have a primary or secondary key together, the list mark is just stored in the athletes object, not as an embeddable but as an entity. i tried

@ElementCollection query returning extra result per element in collection

is defined as entity rather than as embeddable . It may help understanding the difference between

object creation during pmf.getPersistenceManager()

of every user defined persistable type (entity class / embeddable class / persistence capable class

Eager Fetch is not stable for collection or map types?

;  ....... } @ Embeddable public class Player { ...... } public class GameDAO { ...... public Game

Object explorer cannot open odb file. ObjectDB many-to-many relationship

; @ Embeddable     public static class PK     {      

Concerning coding style of the example in the posting instructions

inner classes for entity / embeddable classes.' The JPA2.0 final spect states: 'The entity class

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes

Upgrade to 2.4.1_01

), which is wrong, as Contactdetails is Embeddable , the annotation should be @Embedded. Neither annotation works

Upgrade to 2.4.1_02

Hi there, The upgrade to 2.4.1_02 fixed the initial problem, however there still seems to be an issue. To me it appears that Embeddable might be being lazy loaded, but I cannot be sure. I have attached a testcase demonstrating this issue. Its failing on the merge. Thanks P. pedwards Paul Edwards

Query to search for common elements in two separate collections.

in a new entity or embeddable class that would wrap the collection with its hash code. support

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each

Replication error on slave restart

embeddable classes and 108 entity objects. The master directory contains an empty database file (sm.odb

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

;         em.getMetamodel(). embeddable (FileNameDTO.class);   

Field in Generic Class not persisted?

javax.persistence. Embeddable ; import javax.persistence.Entity; import javax.persistence.EntityManager

Embedded in JDO metadata not working in objectDB 2.x ?

the class as entity again (just for the query) and then back to embeddable . Alternatively, probably

Adding multi part path index on non-embedable object member

to one entity class (and additional embeddable classes) but cannot spread over multiple entity classes

Spatial queries with ObjectDB

and embeddable classes (defined by your application), and use ObjectDB ability to combine Java

Cascading makeTransient

.temp.detach- embeddable ", "true"); Then embedded objects are expected to be disconnected when owner

Nested Collection Query

the internal collection in a user defined entity or embeddable class. support Support

ClassCastException on closing PersistenceManager

indicates an issue in the implementation of the new embeddable detachment feature. Since this feature

Should I be able to persist a JFrame (or gui components in general)?

JTextField, and set it as @ Embeddable . It persists. However, when I do "select ce.pJTextField1.text from

StackOverflowError after commit

, some of our Entity classes were annotated with @ Embeddable instead of @Entity the objectdb error

Pre-detach loading: retrieval by navigation not working in if statement

Why are using an entity class as a boolean wrapper rather than embeddable class

NullPointerException when using multithreading

private String secondId; @OneToOne(cascade=CascadeType.ALL) private HashMap myMap; } @ Embeddable public class EmbeddableA { @OneToOne(cascade=CascadeType.ALL) private HashMap myMap; } @ Embeddable

References to objects of missing obsolete entity classes

the database. It is an Embeddable and was not removed properly. We used to have an entity called ... ? We can also see that there are a lot of other old entities (potentially these are also Embeddables ) that cause

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

(the type is not an Entity, but an Embeddable ). Could that be the cause for this issue ... Embeddable classes should also be enhanced. The issue might be related to these classes. Unfortunately

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API. Constraints that are defined for entity and embeddable classes by using annotations can be checked automatically on PrePersist, PreUpdate and PreRemove JPA lifecycle events. Integration with the Validation API is not supported yet by

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

; } }   And its embedded primary key @ Embeddable @Access(AccessType.PROPERTY) public class

InternalException - error reading field from "queue" database

? entity objects? embeddable objects? serializable objects? Did you use that specific database in

Weird issue with variable naming

.persistence.CascadeType; import javax.persistence. Embeddable ; import javax.persistence.Entity; import

ObjectDB 2.4.7

Fixed bugs in cascading merge and refresh. Fixed an internal  java.lang.ArrayStoreException bug (com.objectdb.o.InvToOneLoadRequest). Fixed a regression bug (starting 2.4.4_13) in handling embeddable types. Fixed a performance regression (since 2.4.4_01) in query result retrieval. Added INFO

Lazy retrieval by access not working correctly

private LocalizedValues names; ... } @ Embeddable public class LocalizedValues implements Serializable

InternalException when using MEMBER OF on a large list in a query

the exception - storing large objects with long primary keys is not very efficient, because non embeddable

ObjectDB 2.6.5

in querying enhanced embeddable classes. Fixed server crash on exceeding maximum number