ObjectDB Database Search

101-150 of 200 results

TemporalType 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

Eclipse plugin problem (using ObjectDB as a separate bundle)

; // end try-catch         return true ;     }  ... to true does NOT correct the problem.   I noticed that the third line in the stack trace at com ... , true ),   ,   ,, true ),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui

EM close causes an exception

", " true "); then the execution of parallel threads works without errors. Following the other stacktrace ... () == null ? true : false; } catch (Exception e) { fileLocked = true ;   If fileLocked is false ... Could you try running the same test case with either: java -Dobjectdb.temp.no-temp-file-purge= true or

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

Database Inconsistency or corruption

. ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:= true , LockMode:=PESSIMISTIC_WRITE ... , isPersisted:= true ... After the update Operation I also dump the properties of the object. ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:= true , LockMode:=PESSIMISTIC_WRITE

Where Does ObjectDB Block/Lock?

.  With my PersistenceManager multiThreaded= true architecture, I desire to know where ObjectDB ... at transaction.commit() if optimistic= true ? 5) ObjectDB 1.0 Manual (Support Knowledge Base ObjectDB 1.0 ... optimistic= true , perhaps implying optimistic= true now has less overhead either way.  Maybe a shared

Remove not working

showing a true failure? import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax ... .PersistenceManagerFactoryClass", "com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.Optimistic", " true "); properties.setProperty("javax.jdo.option.RetainValues", " true "); properties.setProperty("javax.jdo.option

Searching lists within objects

", "Affleck", true );         CDI createdCdi2 = createCDI("jalba", "Jessica", "Marie", "Alba", true );         CDI createdCdi3 = createCDI("kbeckinsale", "Kate", null, "Beckinsale", true );         CDI

Pessimistic lock

: javax.jdo.option.Optimistic=false javax.jdo.option.NontransactionalRead= true javax.jdo.option.NontransactionalWrite=false javax.jdo.option.RetainValues= true javax.jdo.option.RestoreValues=false Now we use the following options in DB2: javax.jdo.option.Optimistic= true javax.jdo.option

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

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

().getValue() //THIS IS NEVER REACHED, ALTHOUGH IN FACT lz.present.value IS true IN THE DATABASE //lz ... the problematic if statement, and 'present.value' is loaded (and true ) afterwards, in those cases ... be ' true ' in database //Perform some contrived usage here .. } if (lz.getPresent().getValue() != null

jakarta.persistence.Convert.disableConversion

Jakarta Persistence (JPA) Method in jakarta.persistence.Convert boolean disableConversion Disables an auto-apply or inherited converter. If disableConversion = true , the Convert.converter element should not be specified. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaQuery.distinct(boolean)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery distinct (    boolean distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained

jakarta.persistence.Cacheable.value

Jakarta Persistence (JPA) Method in jakarta.persistence.Cacheable boolean value (Optional) Whether or not the entity should be cached. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SchemaManager.create(boolean)

it may ignore the problem and continue. Parameters: createSchemas - if true , attempt to create schemas

jakarta.persistence.SchemaManager.drop(boolean)

- if true , drop schemas, otherwise, leave them be Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUtil.isLoaded(Object,String)

if the attribute state has not been loaded, else true . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.insertable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column 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.PersistenceUtil.isLoaded(Object)

has not been loaded, else true . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isInstance (    Object entity ,    Class entityClass ) Return true if the given entity belonging to the persistence unit and to an open persistence context is an instance of the given entity

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

Refreshing a dirty object causes permanent JDOOptimisticVerificationException

;     TestEntity accidentalWrite = (TestEntity) pm.getObjectById(oid, true );     ... toUpdate = (TestEntity) pm.getObjectById(oid, true );              ... ; while ( true ) {                 try {      

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

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity ... class TestLazyOneToMany {     /**      * If true the view/output ... _CLOSE = true ;     /**      * @param args the command line

Java 9 support

.7.2_05 modular JAR (I repackaged it to make it a true module). I can confirm, for my use case ... , until I can get the real module from the actual author with true Java 9 implemented knowledge ... and approach is designed for "just me" to get true Java 9 without having to wait on third parties

Problem with entities detection

) and "exclude-unlisted-classes" to true for the persistence unit of ObjectDB. https://i.imgur.com ... hibernate.Profesor hibernate.AsignaturasAlumno true com.objectdb.jpa.Provider test.Persona test.Asignatura test.AsignaturasProfesor test.Alumno test.Direccion test.Profesor true   jlmedina Javier

Query vs Extent for retrieving data

, true ); I get an Extent back with all of the data as I would expect. However, if I execute a Query ... both set to true , but that's it. carr.onstott Carr Onstott I should note that I tried moving ... you can either annotate these fields with @Persistent(defaultFetchGroup=" true ") , or use fetch

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique=" true ") private String name; } The code runs ... @Unique instead of @Index(unique=" true "). Boolean values as strings ( " true " ) is widely used in JDO

Left join fetch behaviour doesn't retrieve children?

optimization: objectdb.temp.no-btree-batch objectdb.temp.no-multivar-batch Setting them as " true ... two query optimizations, e.g. with JVM args: java ... -Dobjectdb.temp.no-btree-batch= true -Dobjectdb.temp.no-multivar-batch= true Please report if disabling these optimizations makes any difference. support

mapping file is not being loaded

;     true               ... ; exclude-unlisted-classes to false rather than true . support Support After being pulled away from

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.transaction.isActive( true ) Info: ExtRequestBean []: Created: com.greensoft.objectdb.test.mini.entity ... All_ { @EJB private ExtProjectBuilder builder; /** * If true 2 (not just 1) project entity structures ... ObjectDB). */ final static boolean DO_BUILD_TWO_PROJECTS = true ; @PostConstruct public void createData

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

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

.GS4223.tgz if I set experimental 'objectdb.temp.no-detach' true on startup, I get INSTEAD (or maybe ... ;  System.setProperty("objectdb.temp.no-enhancement-crc-check", " true "); Set the property ... and error:     System.setProperty("objectdb.temp.no-enhancement-crc-check", " true

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