ObjectDB Database Search

51-100 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

jakarta.persistence.Basic

that the mapped column is not null . If not specified, defaults to true . Since: Jakarta Persistence (JPA) 1

jakarta.persistence.SharedCacheMode

_SELECTIVE Caching is enabled for all entities for which Cacheable( true ) is specified

jakarta.persistence.OneToOne

(optional = false) @JoinColumn(name = "CUSTREC_ID", unique = true , nullable = false, updatable

jakarta.persistence.OneToMany

Customer class: @OneToMany(orphanRemoval = true ) @JoinColumn(name = "CUST_ID") // join column is in

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

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object)

whose load state is to be determined Returns: false if the entity has not been loaded, else true . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

. After this method returns, PersistenceUnitUtil.isLoaded must return true with the given entity instance

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

. After this method returns, PersistenceUnitUtil.isLoaded must return true with the given entity instance

jakarta.persistence.PersistenceUnitUtil.load(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil void load (    Object entity ) Load the persistent state of an entity belonging to the persistence unit and to an open persistence context. After this method returns, PersistenceUnitUtil.isLoaded must return true

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

Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

if entity's state has not been loaded or if the attribute state has not been loaded, else true . Since: Jakarta Persistence (JPA) 3.2

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery 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.metamodel.SingularAttribute.isId()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute? This method returns true if the attribute is a simple id , an embedded id , or an attribute of an id class . Returns: boolean indicating whether the attribute is an id. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.hasSingleIdAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery 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. If distinct

jakarta.persistence.Graph.hasAttributeNode(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph boolean hasAttributeNode (    String attributeName ) Determine if there is an existing attribute node for the attribute with the given name. Parameters: attributeName - name of the attribute Returns: true

jakarta.persistence.Graph.hasAttributeNode(Attribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph boolean hasAttributeNode (    Attribute attribute ) Determine if there is an existing attribute node for the given attribute. Parameters: attribute - attribute Returns: true if there is an existing attribute node. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityTransaction.begin()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void begin() Start a resource transaction. Throws: IllegalStateException - if EntityTransaction.isActive is true . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.isOpen()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isOpen() Determine whether the entity manager is open. Returns: true until the entity manager has been closed. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.createEntityManager()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory EntityManager createEntityManager() Create a new application-managed EntityManager . This method returns a new EntityManager instance each time it is invoked. The EntityManager.isOpen method will return true

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.SharedCacheMode.ENABLE_SELECTIVE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SharedCacheMode ENABLE_SELECTIVE Caching is enabled for all entities for which Cacheable( true ) is specified. All other entities are not cached. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isNotMember(Expression,Expression)

will be true . Parameters: elem - element expression collection - expression Returns: is-not-member predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isNotMember(E,Expression)

will be true . Parameters: elem - element collection - expression Returns: is-not-member predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.and(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate and (    List restrictions ) Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true . Parameters: restrictions - a list of zero or more restriction

jakarta.persistence.criteria.CriteriaBuilder.and(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate and (    Predicate... restrictions ) Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true . Parameters: restrictions - zero or more restriction

jakarta.persistence.criteria.CriteriaBuilder.conjunction()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate conjunction() Create a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true . Returns: and predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isTrue(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isTrue (    Expression x ) Create a predicate testing for a true value. Parameters: x - expression to be tested Returns: predicate. Since: Jakarta Persistence (JPA) 1.0

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. 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.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.PersistenceUtil.isLoaded(Object,String)

if the attribute state has not been loaded, else 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.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

jakarta.persistence.Basic.optional

. If not specified, defaults to true . Since: Jakarta Persistence (JPA) 1.0

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