ObjectDB Database Search
51-100 of 190 resultsTemporalType injection with Calendar using JPA.foo.bar.jpa.enity.TimePeriod[ day, java.util.GregorianCalendar[time=1306779283031,areFieldsSet= true ,areAllFieldsSet= true ,lenient= true ,zone=sun.util.calendar.ZoneInfo[id="Europe/London",offset=0,dstSavings=3600000,useDaylight= true ,transitions=242,lastRule=java.util.SimpleTimeZone[id=Europe/London | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation;System.setProperty("objectdb.temp.no-enhancement-crc-check", " true "); in objectdb-2.6.9_02 ... : System.setProperty("objectdb.temp.no-enhancement-crc-check", " true "); Set ... .no-enhancement-crc-check", " true " ); //! - Methods in EnumValue and BooleanValue defined as operations in | |
How to enable and disable auto schema update?-upgrade", " true ")' To disable switching back to one of the previous versions (but allowing upgrade): System.setProperty("objectdb.temp.no-schema-downgrade", " true "); Set the relevant property before ... ; System.setProperty("objectdb.temp.no-schema-upgrade", " true ")' is working perfectly | |
General Performance Issues Illustrated with a Specific Method != null && !this.id.equals(other.id))) { return false; } return true ; } @Override public String ... calAgeFromDob() { ageCalculated = true ; setAge(""); setAgeInDays(0l); setAgeMonths(0); setAgeDays(0 ... .equals(other.id))) { return false; } return true ; } @Override public String toString() { return | |
Searching lists within objects", "Affleck", true ); CDI createdCdi2 = createCDI("jalba", "Jessica", "Marie", "Alba", true ); CDI createdCdi3 = createCDI("kbeckinsale", "Kate", null, "Beckinsale", true ); CDI | |
Optimistic locking: prevent version increment on entity collection attribute? Something like the equivalent of @OptimisticLock(excluded= true ) in Hibernate? Thanks, Farid oudjanef ... transaction. Finally I have tested it with the no-detached property set to true (System.setProperty("objectdb.temp.no-detach", " true ");). This has not made any difference. The collection of readings | |
jakarta.persistence.EntityManagerFactory.createEntityManager(Map) it is invoked. The EntityManager.isOpen method will return true on the returned instance. Parameters: map | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType) EntityManager instance each time it is invoked. The EntityManager.isOpen method will return true on the returned | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map).isOpen method will return true on the returned instance. Parameters: synchronizationType | |
jakarta.persistence.EntityManagerFactory.isOpen() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory boolean isOpen() Indicates whether the factory is open. Returns true until the factory has been closed. Returns: boolean indicating whether the factory is open. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OrderColumn.nullable Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OrderColumn.insertable Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OneToOne.optional Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne boolean optional (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Default: true Since: Jakarta Persistence (JPA) 1.0 | |
Cascading makeTransient makeTransient(A, true ) with a FetchPlan containing FetchGroup with category ... method PersistenceManager.makeTransient(object, true ) with a correct FetchPlan? The documentation of this method states that: If the useFetchPlan parameter is true , then the current FetchPlan | |
openejb jpa jaas module.getPassword(); if(password.equals(pass)) { succeeded = true ; return true ; } else { succeeded = false; return ... File | Settings | File Templates. } succeeded = true ; //Principals and Credentials } catch ... ().add(principals1); } } return true ; //To change body of implemented methods use File | Settings | |
OutofMemory error with Object DB 2.0(uniqueTestId, true , true );   ... = getPersistenceManager(uniqueTestId, true , true );   | |
JDOHelper.isDetached failure ?(); } With this as the persistent class: @PersistenceCapable(detachable=" true ") public class TestClass ... ; } } Prints out the following: true false So it seems that the JDOHelper.isDetached method isn't doing ... \objectdb.jar Test gives the correct output: true true support Support That works for me. Thanks again for your prompt response. sjzlondon Steve Zara | |
No clue how to query with collection = true I have the problem that I do also need to select all Customer's which either don't have any item ... with active= true set.. how to do that?? All I actually care about is the ordering, not the selection ... a WHERE a IS NULL OR a.active = TRUE ORDER BY a.street If it doesn't work, consider maintaining | |
ObjectDB License Error I got: // jpa.setProperty("objectdb.temp.no-detach", " true "); emf.setJpaProperties(jpa); return emf; } @Bean ... .charset=UTF-8 server.servlet.encoding.enabled= true server.servlet.encoding.force= true spring.jpa.open-in | |
Composite indexes; // some integers describing photo characteristic Boolean isPublished; // either true or false ... the smallest subset of unique records (like for example "isPublished" which is either true or false ... .filterDescription AND i.isPublished = true ORDER BY i.lastModificationDate Basing on this example | |
persistence.xml classes not respected by ObjectDB! This problem doesn't appear anymore. It seems that true is the one that works. Using just  ... , so specifying true , false or no value at all made no difference ... ; true should exclude unlisted classes, so this will be changed starting next build. It should not | |
Help with JPA2 Criteria and conditional operator grouping.companyId=:p1) AND ($1.conditionOne= true )) AND (($1.conditionTwo=false) OR ($1.conditionThree=false ... (conditionOnePath, true )), builder.and(   ... query looks like this: SELECT $1 FROM Company $1 WHERE ($1.companyId=:p1) AND ($1.conditionOne= true | |
Failed to resize file - file system limitation error to set the objectdb.temp.concurrent-file-read system property to true when running your server (-D objectdb.temp.concurrent-file-read= true ) . If set to true , try false . If not tried already, try | |
mapping file is not being loaded; true   ... ; exclude-unlisted-classes to false rather than true . support Support After being pulled away from | |
Migration problem="tinyint(1) default 1") // @Column(columnDefinition="BOOLEAN DEFAULT true ") @ColumnDefault(value = " true ") protected boolean enabled; } package com.manage.jpa; import org | |
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers.dialect.MySQLDialect true true   | |
DB Doctor sets type to "unknown" for new fields SELECT returns the new value): UPDATE RecordingMetaData AS r SET r.doNotDelete= true WHERE r.doNotDelete ... RecordingMetaData AS r SET r.doNotDelete=null UPDATE RecordingMetaData AS r SET r.doNotDelete= true WHERE r | |
Is it possible to remove parent/child entities without refresh?", orphanRemoval = true ) @MapKey(name = "childName") private Map children = new HashMap ();   ... ", true ); ParentEntity parentEntity = new ParentEntity(); entityManager.getTransaction | |
Merge with Parent/Child entities not possible, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval = true ) @MapKey(name = "childName ... :\\Temp\\MergeTest.odb", true ); ParentEntity parentEntity = new ParentEntity();   | |
Broken @ManyToOne reference : System.out.println(child.prn instanceof AbstractParent); // true System.out.println(child.prn instanceof Parent ... ().entity(Child.class).hasSingleIdAttribute()); prints true , which is not the case since the Child class | |
Bidirectional OneToMany is slow on updated items mappedBy relationships. Try: java -Dobjectdb.temp.no-mapped-by= true ... or System.setProperty("objectdb.temp.no-mapped-by", " true "); support Support Sorry for the late answer. Thanks the key works like intended. Stefan Stefan Mair | |
"Attempt to lock a non entity object" error(PersistenceManager.class); pm.currentTransaction().setRestoreValues( true ); The first option ... ; pm.currentTransaction().setRetainValues( true );   | |
How to convert a boolean to an int in the query? + ... true and Boolean. TRUE are converted to 1. false and Boolean.FALSE are converted to 0. support Support | |
Search with wildcards and index issue Hi, I have a search using wildcards: SELECT $1 FROM CDI $1 WHERE $1.loginId LIKE '%*_last%2' ESCAPE '*' This works perfectly when loginId has NO annotations. Now if I add to loginId the following annotations: @Index(unique=" true ") @Column(nullable=false,unique= true ) the search no longer works. I | |
LAZY @ManyToOne field functions as EAGER_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager ... TestLazyManyToOne { /** * If true | |
Wrong select results Hello, I got a realy strange SELECT problem. In explorer query "select p from Player p where p.confirmed==false", given me some results with p.confirmed== TRUE . And when I try to do (see image) "select p, p.confirmed from Player p where p.confirmed==false", I getting p-confirmed- true | |
Unexpected exception during open the database file. Your comment suggests that the default value for this is tag is " true " and hence index update ... to true and the database is closed before the update is completed (see the stack trace at post #1 | |
Error during cascaded merge = CascadeType.ALL, orphanRemoval = true , fetch = FetchType.EAGER) @OrderBy ... = {"unit", "configDate"}, unique = " true ") public class ChannelConfigurationSet implements | |
Use temporary files to enable very large transactions;System.setProperty("objectdb.temp.page-file", " true "); This can also be set as a JVM argument: java ... -Dobjectdb.temp.page-file= true Note: If you are using client-server mode - this should be set ... ", " true ");' and with JVM Param '-Dobjectdb.temp.page-file= true '. ObjectDB version ObjectDB 2.6.3_04 com | |
Query Execution Error')).debitor= true )) AND ((((com.lexware.vereinsverwaltung.abrechnung.api.model.mitglied ... .vereinsverwaltung.abrechnung.api.model.mitglied.MitgliedVertraegeFragment')).contracts.automatic= true ) AND (((com ... ')).contracts.active= true )))) results in "Query Execution Error===null" in Explorer and Internal Exception | |
missing merger users use version-check="false" and others version-check=" true ". This is probably not ... .optimization.small", " true "); This is more aggressive than the default in version 2.9.3 and would cover ... -check=" true ". support Support these are the 2 databases: https://www.dropbox.com/scl/fi | |
ODB Server tries to write a log file to a weird location" threshold = "64mb" / inactivity-timeout = "0" / size = "0" user = " true " password = " true " / path ... = "0" / size = "0" user = " true " password = " true " / path = "$objectdb/log/odb-client | |
Explorer bug ? Objects seem to be missing from database in Class view, but are present as references.BooleanValue [null](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Persisted: com.greensoft.entity.value.BooleanValue [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Updated: com.greensoft.entity.value.BooleanValue [64](TEST: A readonly fixed true Boolean value | |
ClassCastException after upgrade to 2.3.5_03 follows: @Entity public class ObjectDbMessagePayload { @Id String id; @OneToOne(orphanRemoval= true , cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; @OneToOne(orphanRemoval= true | |
spuriously objectdb objects have null references this by using the no-detach setting: System.setProperty("objectdb.temp.no-detach", " true "); before first ... a combination of - System.setProperty("objectdb.temp.no-detach", " true "); - doing a entityManager | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null() { return findChartEntities( true , -1, -1); } public List findChartEntities(int maxResults, int ... List points; public Chart() { this.points = new ArrayList (); this.reverseOrder = Boolean. TRUE | |
NPE at com.objectdb.jpa.JpaQuery.getResultList( true , -1, -1); } public List findMomentPayloadEntities(int maxResults, int firstResult) { return ... () { return findMomentPayloadEntities( true , -1, -1);   | |
NullPointerException using with "refresh" method configuration. If it set to sync="false" (default, for faster operation) you may want to try sync=" true ... , also with sync=" true ". Is this a problem with the most recent version? Shall I switch back to 2.8.1_01 | |
Unexpected exception (Error 990) on find the forum about the key com.objectdb.disable.optimization.small= true I've tried, but there is no change ... @Column(unique = true , nullable = false, length = 127) private | |
Enhanced classes problem: System.setProperty("objectdb.temp.no-lazy-o2o-inverse", " true "); or as a JVM parameter: java -Dobjectdb.temp.no-lazy-o2o-inverse= true ... Please let me know if it makes any difference. support Support In |