ObjectDB Database Search
51-100 of 118 resultsExplorer in 2.3 HD), etc... 5. Evaluation of expressions when editing fields - It would be very useful to be able to enter a Java expression into a field . For example, suppose you have a User entity with a password field . I would like to enter SHA1.hash("mypassword"); You might use beanshell for the expression | |
Cascading makeTransient Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields . The situation ... of B contain the field __odbTracker of type com.objectdb.o.EMT, which then holds a reference ... . I supposed that makeTransient() should work somehow cascading even for the fields of the Entity | |
StackOverflowError after commit.UserException: Failed to write the value of field field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildInterfaceImpl.architecture using reflection - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildArchitectureImpl.virtualInterfaces - field com.btc.ep | |
ClassCastException of same object type(XCCompetitorCount.class.getClassLoader()); I now get an exception on the line em.persist(obj); The field org ... value of field field org.sportscoring.ssv.xc.core.XCCompetitorCount.externalSyncID using enhanced ... by: com.objectdb.o.UserException: Failed to get reference value of field field org.sportscoring.ssv | |
IDs of Entities suddenly became UUIDs? the DB are having the field "myId" as type "String" and with an UUID ... change that included @Id fields . This situation of mixed ID types can be easily reproduced by ... ) with a different @Id type. For example, adding a new @Id field to an entity class can hide | |
query on calendar class'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk ... duplicating this information into an additional persistent field . The comparison failed because of comparing a Calendar to a Date . Using Date or Timestamp as the field type instead of Calendar | |
Schema-Update: Rename superclass and remove one subclass.close(); emf.close(); } Entities: @Entity @Access(AccessType. FIELD ) public class SuperClass { public SuperClass() { } } ChildClassA: @Entity @Access(AccessType. FIELD ) public class ChildClassA extends ... () { } } ChildClassB: @Entity @Access(AccessType. FIELD ) public class ChildClassB extends SuperClass { @Basic | |
jakarta.persistence.AttributeOverrides.value Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverrides AttributeOverride[] value (Required) One or more field or property mapping overrides. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Basic.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly | |
jakarta.persistence.Persistence.providers Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence providers Since: Jakarta Persistence (JPA) 1.0 | |
Complex Schema Upgrade not working "address" - All fields and methods from classes "contact.Contact" and "customer.Customer ... support consists of: Automatic schema evolution - for adding and removing fields and for class hierarchy change. Configuration schema changes - for renaming packages, classes and fields . Changing | |
Possible cause for "Enhancement of type ... is old and cannot be used" after enhancement, e.g. adding a persistent field to a super class. support Support Since Feb 2016 I ... am certainly not 'adding a persistent field to a super class' in any of these cases. I have not ... : Failed to set numeric value of field property Element.id using reflection However, in my main real-world | |
Problem with @UniqueConstraint columns rather than Java class fields . Therefore, it is silently ignored by ObjectDB, as specified ... field simply @Unique on the field . support Support Thanks for the quick reply! pezi Peter Sauer | |
ORDER BY problem, when String starts with language specific character to add a persistent normalizedName field to the entity class and maybe even an index on that field ... fields - name and normalizedName , and just keeping strings in name using the decomposed form | |
Missing Data on Retrieval (0, null values) by reflection (and not by invoking property methods or accessing the fields directly ... . This could be done, for example, by accessing a persistent field directly (with no reflection) from ... object ( obj ) before accessing its fields with reflection: if (!Persistence.getPersistenceUtil | |
How to avoid NULL values on Embedded entities Hi there. I'm new on this. trying to learn. I'm trying to make a value non nulleable. So, when I try to upload to the DB this field as null, it give me an error. I tried this, but it didn't work ... , but it doesn't work inside Direccion fields . Sorry if my english is not perfecto, just ask if i'm not | |
Embedded List to get records that have part of the strSupPart field from the Embedded class in the ItemDB class, my code looks ... ;format (i.e. minimal classes, minimum fields , minimum functions, etc.). Unfortunately we cannot investigate code that is not minimal. support Support | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`) moving and renaming classes and fields . Based on the bug report, it appears that a field | |
Custom collection types eg Vector, ArrayList, HashSet and all works fine, moreover Db-exploler does not show fields ... implementation of Map collection? br Tomasz Tomasz Tomasz Tomasz Wozniak If a persistent field type | |
Low performance when getting grove roots all objects on the DB to test their parent field value. Id there a way to force ObjectDB to create an index for this field ? Regards, Vladimir tsichevski Vladimir Tsichevski Of course. Setting indexes | |
Optimistic locking: prevent version increment on entity collection attribute Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field . Is it possible to prevent ... of the readings field must be List rather than ArrayList . This is a JPA request, which is also mentioned in | |
Objectdb Doctor Hi, I have deleted an instance of ClassA . However, if I try to access ClassB , which has a field of type ClassA , ClassB.classA , then, rather than getting a null pointer for classB.classA , I ... to them from other objects in the database (except references in inverse / mapped by fields | |
@Column length is not working. . For other constraints, such as non null and length - consider checking relevant fields in ... for check the length of a field . Is there any other way? Deepak_1996 Deepak Kumar Maharana | |
Immediately retrieve unique id = GenerationType.SEQUENCE, generator = "sampleSeqGenerator") @Id long id; The id field is as expected when I browse the database: 1,2,3,4 etc. I would like the field sampleName to be: SPL1, SPL2, SPL3 | |
Multi threading on DMOs by lazy loading It is possible to use lazy loading on fields of attached entities by several threads? Example: class EntityZ { @OneToOne(fetch = FetchType.LAZY) EntityX fieldX; @OneToOne(fetch = FetchType.LAZY ... . Does the multi threading access on different fields work correctly? btc_es BTC EmbeddedSystems | |
Mismatch client-server protocol prefix? We are persisting a new instance of LoginEvent. The Id field is not explicitly set and the field | |
ManyToMany Set is null Why can the field "contracts" be "null"? ---------- @Entity @Inheritance(strategy = InheritanceType. TABLE_PER_CLASS ) public class Person implements Serializable,Subject { @Id ... version of the Person class, in which the contracts fields was not initialized). More information | |
Extended mapping-definitions proper indexes. You can also use composite indexes that consist of the className field with other fields in order to retrieve required data efficiently. Another idea, you can still use different entity | |
Update Entity references if we change the type of an entity, because it's possible that many other entities have just a ID based reference with a simple 'int' field ... . The ObjectDB explorer still show as Entity Class the 'EntityB' with the correct ID, but all fields are empty | |
Navigation and Parameters Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x ... to a field in these objects directly. You need to use JOIN in JPA and contains in JDO | |
Does ObjectDB support @Parent for @Embeddable reference to parent? well, but get methods should be annotated when using property access, rather than the annotated fields , as ... , rather than the annotated fields , as shown on the first post. Sorry, excuse lazy copy-and-paste | |
Dates object is not required - a primitive long field is more efficient), but usually the difference ... better. If you want to store a timezone you may use a separate int field . support Support | |
Error with org.springframework.data.jpa.domain.AbstractPersistable. Caused by: com.objectdb.o.UserException: Unsupported auto value type java.io.Serializable for field ... ; } } Seems that currently ObjectDB does not support a field of generic type | |
General Performance Issues Illustrated with a Specific Method (try different combinations). Adding index to the retired field in client. This is the process ... for this specific query due to the use of a combined OR on fields of two entity classes through JOIN (Client | |
Explorer doesn't open file It seems as an ObjectDB Explorer bug is handling a specific field of the type java.util.concurrent.TimeUnit . Could you please check if after changing the type of that field , e.g. to java.lang | |
NontransactionalWrite error using Collections.sort . trace and check your code - you might find that your compareTo method changes a persistent field in | |
GlassFish 3.1.2.2/JBoss 7.1.1 Good day, We have few troubles with GlassFish on @remote. When we wants to get entity from remote interface, but in the result we have null in all entity fields . As I see there is a GlassFish problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb | |
ways to recover from DB curruption and myclass2 (i.e. adding a dummy field that may be later removed). If this doesn't help and you can send | |
find out if an entity is refered by other entities) for a specific relationship (reference field ), so you may have to use many queries to cover | |
combined index not used retaining only results that satisfy: (a.endDate=:1). [Step 1c] Retrieve fields in Action (a) instances ... over all the instances (v$1) in a.objectsInCharge. Step 3: Extract field values ---------------------------- Retrieve fields in ObjectNode (v$1) instances. Step 4: Process ObjectNode (v$2) instances | |
new objects not available in mappedBy associations, but if the query has already been run and the field already contains a value - it will not be run again unless ... with ordinary queries. Only with automatic queries that are used for inverse fields , after the inverse field ... ? The argument to refresh is the object that contains the inverse field . This way you enforce reloading | |
Best practice for history tracking We would like to add to records start and end timestamp fields . When end field is null ... for null end field ? If using end field , would an index matter? what is the best way to intercept the update operation, clone the object, update the old one (if end field is used) and save the clone | |
spuriously objectdb objects have null references only for lazy collection fields ? Could you please check the status of the entity objects and these collection fields when this happens using isLoaded method in PersistenceUtil ? support Support we checked ... but why can we have such a behaviour ? The main goal is to make sure that unloaded fields | |
"is not null" queries not working with index "is not null"-queries are not working correctly for indexed fields . Following SSCCE creates 1000 entities. A null value is assigned to an indexed field for every second entity. When doing count-queries at the end, wrong results are fetched. import java.io.Serializable; import javax.jdo.annotations | |
ObjectDB 2.2.8 Fixed a critical bug in extensive removal operations of large objects. Improved the performance of navigation through an inverse (mapped by) field if the owner field is indexed. Fixed a LEFT OUTER JOIN bug . Fixed a bug in parsing queries with parenthesis followed by NOT . Fixed a bug in running | |
NullPointerException in __odbGetNumMember Here's the exception message: Failed to commit transaction: Failed to get numeric value of field field version using enhanced method version is annotated with @Version quasado Alexander Adam Okay | |
ClassCastException after upgrade to 2.3.5_03" field is a byte[]. This worked ok in 2.3.3_06. felixobjectdb Richard Szurgot Thank you for this report | |
ObjectDB 2.5.1) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse | |
Query Execution Error')).debitor=true)))) BTW - should null pointer exceptions EVER happen if query access not set fields or | |
ObjectDB 2.5.4 Added empty implementation of new JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods: createEntityManager , unwrap . Improved retrieving persistent string fields by using "".intern() for empty strings. Fixed a bug in queries on composed embedded primary key ( issue #1301 ). |