ObjectDB Database Search
51-100 of 165 resultsDate field Index is corrupted due to time change.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException ... /issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException   ... :00,1970-01-02 13:05:42, null , null )|1:19940, parent page #5599 key is (2016-01-02 09:00:00,1970-01-03 11 | |
General Performance Issues Illustrated with a Specific Method("listPatientsByIDsWithBasicData - start - " + st); List cs = new ArrayList (); if (ids == null || ids.trim ... retireComments; // // @Override public int hashCode() { int hash = 0; hash += (id != null ? id.hashCode() : 0 ... )) { return false; } Client other = (Client) object; if ((this.id == null && other.id != null ) || (this.id | |
New to Product & Having An Issue() == null || this.domainId == null ) return false; return this.domainId.equals(obj); } } package test ... obj) { if(obj instanceof DomainId){ DomainId foreign = (DomainId) obj; if(this.accountId == null || this.objectId == null ) return false; if(foreign.getAccountId() == null || foreign.getObjectId | |
Optimistic locking: prevent version increment on entity collection attribute back. When I use it in my web app it fails; the collection is null ! In the application (web app), I ... null is returned. I have tried to clear the entity manager in the second call to make sure the reading ... ; @Id private long id; private Document document = null ;   | |
Soft Reference Object Cache Recommendation is needed. @Override public void jdoPreClear(){ if( null != softReferenceData) softReferenceData.clear(); softReferenceData = null ; } @Override public void jdoPreDelete(){ if( null != softReferenceData) softReferenceData.clear(); softReferenceData = null ; } @Override public void jdoPostLoad | |
List of Enum Values in an entity, when I try to load the flags from the database, the list is always null . What am I doing wrong ... . If the entity is enhanced, you may see a null value in the debugger before accessing the field ... == null ? " null " : Integer.toString(flags.size()); System.out.println("   | |
Possible issue for JPQL "LEFT [OUTER] JOIN"; - "SELECT a,b FROM A a LEFT OUTER JOIN a.listB b WHERE b IS NULL " where the output would be [A4, null ] or even throw an Exception instead [A3, null ] [A4, null ]??? NULL is only for single-valued field. - "SELECT a,b FROM A a LEFT OUTER JOIN a.listB b WHERE b.id IS NULL | |
DB Doctor sets type to "unknown" for new fields an Explorer behavior of specifying null results as Unknown type, even when static field type ... like the following fail to change the value from null to false: UPDATE RecordingMetaData AS r SET r.emergency=false WHERE r.emergency IS NULL DB Explorer reports all OK on the update, but a subsequent | |
Handling deleted references of a user is set to null we create a new (default) one to achieve that each user has a profile. To reset ... " set to " null " but instead I get an object which has the same ID, all default initial values ... ? This would simplify my use case since all I have to do is to check if the reference is null and create a new | |
Duplicate Entity class names causes Exception in Query) { Singleton c = em.find(Singleton.class, "1"); if (c == null ) { c = new Singleton(); em.persist(c ... em, int howMany) { if (lastInstance == null ) { lastInstance = 0; } int endCnt = lastInstance ... (NoResultException e) { return null ; } } public long howManyItemsExist(EntityManager em) { TypedQuery q = em | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)()" because " " is null ' What does "com.objectdb.o.MMM.t.." mean? Attached is the detailed problem description ... .t()" because " " is null ' java.lang.IllegalArgumentException: Unable to create an instance of 'hr ... .NullPointerException: Cannot invoke "com.objectdb.o.MMM.t()" because " " is null   | |
openejb jpa jaas module = entityManager.find( UserInfo.class , username ); if(info != null ) { String password = info ... = subject.getPrincipals(); if (principals != null ) { principals.clear(); } return false ... { if (callbackHandler == null ) throw new LoginException("Error: no CallbackHandler available to garner | |
jakarta.persistence.TypedQuery.getSingleResultOrNull() Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery X getSingleResultOrNull() Execute a SELECT query that returns a single untyped result. Returns: the result, of type X , or null if there is no result. Throws: IllegalStateException - if called for a Jakarta Persistence query | |
jakarta.persistence.criteria.Join.getOn() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Predicate getOn() Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified. Returns: the ON restriction predicate. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.TupleElement.getAlias() Jakarta Persistence (JPA) Method in jakarta.persistence.TupleElement String getAlias() Return the alias assigned to the tuple element or null , if no alias has been assigned. Returns: alias. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OptimisticLockException.OptimisticLockException() Jakarta Persistence (JPA) Constructor in jakarta.persistence.OptimisticLockException OptimisticLockException() Constructs a new OptimisticLockException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.setTimeout(Integer) - the timeout, in milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.Path.getParentPath() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Path getParentPath() Return the parent "node" in the path or null if no parent. Returns: parent. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.getResultList() was registered with the query. Returns: a list of the results or null is the next item is not a result set | |
jakarta.persistence.StoredProcedureQuery.getSingleResult() was registered with the query. Returns: the result or null if the next item is not a result set. Throws | |
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull() was registered with the query. Returns: the result or null if the next item is not a result set or | |
Removing objects where ManyToMany relationships exist; if (setOfOtherEntities == null ) { setOfOtherEntities = new TreeSet ();   ... well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets?  ... references are not null values and they are more difficult to handle because accessing them cause exceptions | |
Database is erased after deploying a new web application version; getServletContext returns null , which result in a NullPointerException when calling getAttribute("emf ... this is the reason for the returning null )? Yotam Yotam Boaz On runtime, the call getServletContext returns null , which result in a NullPointerException when calling getAttribute("emf | |
Mismatch client-server protocol prefix a request. com.objectdb.o.InternalException: null at com ... ", username); TrackerUser result = null ;   ... ("uname", unitName); Object result = null ;   | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1; } @Override public int hashCode() { int hash = 0; hash += (id != null ? id.hashCode() : 0); return ... ; } AbstractObject other = (AbstractObject) object; if ((this.id == null && other.id != null ) || (this.id != null && !this.id.equals(other.id))) { return false; } return true; } @Override public String toString | |
_PersistenceException: Type is not found on getSingleResult. nuevo = new Acudiente(this, new Responsable(), null ); if(acudientes == null ) acudientes = new ... ; if(acudientes != null )   | |
Objectdb Doctor of type ClassA , ClassB.classA , then, rather than getting a null pointer for classB.classA , I ... references with null values) in an existing database file you can run the Doctor in repair mode ... , and see how the application behaves, ie: handles nulls , rather than throwing exceptions. dmoshal David Moshal | |
Problem with distinct select, order by and equivalent alias/attribute path; new Street( null , "s1", locations.get(0)), new Street( null , "s2", locations.get(1)), new Street( null , "s3", locations.get(2)) ); public | |
Cast exception? */ EntityManagerFactory localEntityManagerFactory = null ; /* 74 */ PersistenceProviderResolver ... */ if (localEntityManagerFactory != null ) { /* */ break; /* */ } /* */ } /* 84 */ if (localEntityManagerFactory == null ) { /* 85 */ throw new PersistenceException("No Persistence provider for EntityManager named | |
JRebel integration feature$WeakClassBytecodeProcessorAdapter@ null ': *** java.lang.instrument ASSERTION FAILED ... $WeakClassBytecodeProcessorAdapter@ null ': *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding ... .javarebel.integration.util.WeakUtil$WeakClassBytecodeProcessorAdapter@ null ': *** java.lang.instrument | |
No clue how to query with collection with a concatenated value of street + streetNo (if not null ). So I want something like this: SELECT c, a FROM Customer ... ].streetNo) : null any clue? I can't figure how to do it with regular JPA Query methodics ... a WHERE a IS NULL OR a.active = TRUE ORDER BY a.street If it doesn't work, consider maintaining | |
Failed to read DB file while online backup is running", null ); backupJDODatabase(ChatServerImpl.getInstance().getChatDB());   ... ); } private File getNewestSubdir(File companyDirectory) { File newestSubDir = null ;   ... ; if(newestSubDir == null || newestSubDir.lastModified() | |
Broken @ManyToOne reference, but after they are retrived, the 'b' variable in all A objects is always null . Regards, Vladimir PS: the same ... the Child instance is retrieved. Now it has null in the prn field . The output shall look like: Parent reference written: testobjectdb.Parent@e425743 Parent reference read back: null Regards, Vladimir | |
ClassCastException of same object type; if (obj == null ) { ErrorHandler.error("Trying to add null object to Shield COP. Ignoring...");   | |
Problem on JPA Merge Entity. is a null value. I check with the Explorer, the statement has a null value on the property | |
JPA inheritance issue with ObjectDB - Field not found in type error().findByJpql(jpql, m); if (items == null ) { System.out.println("Items list is null | |
Embedded List void main(String[] args) { EntityManagerFactory emf = null ; EntityManager em = null ;   | |
Online backup problem the backup. support Support This is the code I used in my servlet : EntityManagerFactory emf = null ; EntityManager em = null ; String result = "OK"; try { emf = Persistence | |
Cascading makeTransient property, then on pm.makeTransient(A) both fields A.__odbTracker and A.B.__odbTracker are nulled ... ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null | |
Query Execution Error IS NOT NULL ) AND ($3 IS NOT NULL ) AND ($4 IS NOT NULL ) AND ($4.qubletID=383))) OR NOT (((com.lexware ... ')).contracts.active=true)))) results in "Query Execution Error=== null " in Explorer and Internal Exception ... quasado Alexander Adam Well ok, the null pointer occurrs now even without collection stuff | |
[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961).InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o ... .getName()).log(Level.SEVERE, null , ex); } } private EntityManagerFactory emf; public ReproduceTest ... (); MomentEntity moment = findMomentEntity(now.getTimeInMillis()); if (moment == null ) { create(new | |
Unexpected exception (Error 990) com.objectdb.o.InternalException/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang ... .NullPointerException: null java.lang.NullPointerException at com.objectdb.o.MMM.af(MMM.java:1071) at com.objectdb.o ... .InternalException: null com.objectdb.o.InternalException at com.objectdb.o.InternalException.f | |
ClassCastException thrown when running count query.unit IS NULL It doesn't delete anything. If you try it with SELECT nothing get's returned. It's even getting better: SELECT p FROM Position p WHERE p.unit IS NOT NULL This query produces a null pointer ... to take effect: DELETE FROM Position p WHERE p.unit IS NULL You first have to run the Doctor in fix mode | |
[ObjectDB 2.3.7_25] Unexpected exception (Error 990)/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com ... :163) at com.objectdb.Doctor.main(Doctor.java:22) [ObjectDB 2.3.7_25] null lorenz2304 Benjamin Lorenz ... .InternalException: null com.objectdb.o.InternalException at com.objectdb.o.VUT.p(VUT.java:846) at com.objectdb.o | |
NullPointer when accessing persistent field.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java ... ; List list = a.list; a = null ;   ... .objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException | |
Navigation through lazy loading from Detached Objects; } } When the line that sets the system property is commented the output is: 1-e1:[2-e2: null ] 1-e1:[] and when that line is active the output is: 1-e1:[2-e2: null ] 1-e1:[2-e2: null ] This is by | |
Best practice for history tracking We would like to add to records start and end timestamp fields. When end field is null , it indicates the last version of this item. Few questions: in terms of performance, what would be faster ... for null end field? If using end field, would an index matter? what is the best way to intercept | |
com.objectdb.o.InternalException NPE/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang ... .objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException | |
New issues with queries using build 2.7.8 Hello, we found another query bug: SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s WHERE a.startStep.stepNumber = 0 AND (s.name IN ('In1') OR a.tcSignal IS NULL ) With 2.7.6_b6 ... , the ArtifactImpl is missed whose attribute tcSignal is Null . btc_es BTC EmbeddedSystems Thank | |
combined index not used:filter(index(nds['scheduledSlot'_0_ null (excl)-'scheduledSlot'_0_2850:notNull]),(o.properties join v$1 ... ])),(p1.doubleValue=0)),(p1.name='noCapacityLoad')) v$1:filter(index(nds['scheduledSlot'_0_ null (excl |