ObjectDB Database Search

151-200 of 200 results

Setting temp directory location in ObjectDB

), JDOHelper.class.getClassLoader()); pmf.setMultithreaded( true ); pmf.setNontransactionalRead( true

Spring Transactions (@Transactional) within ObjectDB

setting a system property:     System.setProperty("objectdb.temp.auto-flush", " true "); before loading ObjectDB, or as a JVM argument: java -Dobjectdb.temp.auto-flush= true ... support Support

JPA vs JDO - which is more efficient for OneToMany queries?

ObjectDB Vector orders; } @Entity class Order { } It is true , however, that in ORM-based ... Order to Customer in the above example is more efficient), but that is true for both JPA and JDO

What role is the JDO in ObjectDB?

and that its reliance on bytecode enhancement caused it to be unfairly stigmatized. This was probably true ... except the JDO reference implementation itself (DataNucleus). However, it is true that JPA

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

" the annotations from the true accessors to the hidden objectdb ones was always fragile, and has caused ... ;The original strategy of "moving" the annotations from the true accessors to the hidden objectdb

Why are my Map entries not stored?

, cascade=CascadeType.ALL, mappedBy = "ticket",     orphanRemoval= true ... = FetchType.EAGER, cascade=CascadeType.ALL, orphanRemoval= true ) @MapKey(name="state") @MapKeyEnumerated

Items in list are doubled, when the entity class is not enhanced

;         cascade= CascadeType.ALL,orphanRemoval= true ) List ... become dirty just by changing a mapped-by field (this was also true for reflection mode until build 2.2.6

Should I be able to persist a JFrame (or gui components in general)?

"); contacts = qryListContacts.getResultList(); NewJFrame a; a = new NewJFrame(); a.setVisible( true ); em ... will still be true . First, there ought to be a system that at least takes into account the idea

High memory consumption even after close() of EntityManagerFactory

; System.setProperty("objectdb.temp.avoid-page-recycle", " true "); This can also be set as a JVM argument: java ... -Dobjectdb.temp.avoid-page-recycle= true In addition, this memory

Lazy loading does not work - crud takes long

; @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true , mappedBy="project",fetch = FetchType.LAZY)   ... = CascadeType.ALL, orphanRemoval = true , mappedBy="project",fetch = FetchType.LAZY)    

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true ); Query q = pm ... ). It is true that in ObjectDB 1.x the free edition had no index support. support Support

Extra uninitialised entities spawned on merge()

_MERGE = true ;     /**      * @param args the command line arguments ... ; }     } }   Case: DO_PERSIST_BEFORE_MERGE = true : If I create an Element

Sample JDO Architecture for Follow Up Questions

PersistenceManager, which is set for multiThreaded= true . * There are a limited number of threads ... , true ) may be all that is needed, so no overhead for extend, queries, or indexes. * Persisted

Error 363 - Failed to read value of inverse relationship

, avatarEnabled = true ; @Column(nullable = false) private String playerName, password, email; @Temporal ... ; }         return true ;     }      

ObjectDB fast queries

= "idValue", nullable = true ) private PollenGenusEntity pollenGenusEntity; @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "pollenSpeciesEntityId", referencedColumnName = "idValue", nullable = true

Issue with orphanRemoval and multiple EntityManagers

with orphanRemoval set to true . I use a new EntityManager for each transaction (which normally happens in ... ;   @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.EAGER, orphanRemoval= true )  

ClassCastException of same object type

();   for(XCCompetitorCount ico : list){    cop.add(ico);   }   this.loaded = true

_PersistenceException: Type is not found on getSingleResult.

= "estudiante", cascade = CascadeType.ALL, orphanRemoval = true )     private List

Problem on JPA Merge Entity.

which methods it is true and in which false? In addition, verify that the same EntityManager is used

Filename.odb$ Persisting Issue

;       emf CLOSED: " + !emf.isOpen()); } Output is true

JPA inheritance issue with ObjectDB - Field not found in type error

: " + item); } } return "/emr/reports/vtms?faces-redirect= true "; } buddhika75 M H B Ariyaratne

Possible cause for "Enhancement of type ... is old and cannot be used"

), and only when I had 'objectdb.temp.no-detach' true . When I had 'objectdb.temp.no-detach

Database is erased after deploying a new web application version

". If that's true , I'll be glad to hear about such a solution. Thanks in advanced, Yotam

Objectdb recovery

(disk)? Can setting sync= true (for recovery) help with this issue, how will be the performance

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

to schema evolution, it typically occurs during development rather than in production. Is that true in

Multiple Collection Fields not update correctly

;          return true ;         

@Column length is not working.

I am using objectdb 2.8.3, I have a Entity class with a column that is declared as  @Column(unique = true , nullable = false, length = 16)  but when i m trying to insert a string for that column with a string that has more than 16 character, not able to get any error or exception from

deadlock with newest version 2.4.4_16

J visual vm is complaining of deadlock since upgrading to the 2.4.4_16 from _06 and using setting -Dobjectdb.temp.no-resize-clear= true The only other change is that we no longer create recovery or replay files as we were not using these. i have attached our full server strack trace

Failed to commit transaction: Attempt to commit a rollback only transaction

locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in

Update Entity references if we change the type of an entity

ObjectDB: System.setProperty("objectdb.temp.extended-ref-retrieval", " true ");     

Problem with distinct select, order by and equivalent alias/attribute path

;System.setProperty( "objectdb.temp.no-distinct-order-restrictions", " true "); Set the property before using

Configure ObjectDB in spring context

) look like this org.hibernate.dialect.HSQLDialect thread 10 true false false create-drop I need

Query can't see recently persisted object

( { @Index( name = "MyClass_ind_1", members = { "oid" }, unique = " true " ) } ) @Entity public class

Database corrupted after schema change

isUpdating = true ; } public abstract class AbstractTC extends BDOWA {     

impossible to drop a table with 50 million objects

setting. Accordingly you can try running the Explorer with this setting (-Dobjectdb.temp.page-file= true ). support Support

EntityManager getMetamodel() causes crash

.MyEntity      true Otherwise, ObjectDB may search and register all the entity classes in the classpath. support Support

Query by array element

Hello, I have a class as follows: @Entity public class MyEntity {     boolean properties[]= new boolean[1024]; } I would like to query objects with feature '42': select me from MyEntity me where me.properties[42]= true Is it possible? Thank you! haromlabu Bela Haromlabu

Composite Index error 328

) { this.groupsHash = groupsHash; } @Override public boolean equals(Object o) { if (this == o) return true ; if (o

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER,              orphanRemoval= true , cascade=CascadeType

Join performance in Objectdb

for the @Id in JPA, right? That is true . 2, I add @index to each field of idxxxx; I am not sure

@ElementCollection query returning extra result per element in collection

an explicit DISTINCT as a workaround until a fix is released: query.select(companyRoot).distinct( true

newbie - lots of exeptions

(Thread.java:722) WARNING: LDR5207: ASURLClassLoader EarClassLoader : doneCalled = true doneSnapshot

Issue with cascade delete & add/remove

of Address which cascades deletes (orphanRemoval= true ) to its children which is what we want ... (cascade = CascadeType.ALL, orphanRemoval = true )         private List

ClassCastException in Tuple.get

( true ); cq.where( cb.equal(joinProvidingPerson, storedProvidingPerson) ); TypedQuery query = em ... ( true ); //... Demand demand = (Demand)tuple.get("d"); DemandAnswer answer = (DemandAnswer)tuple

ObjectDB 2.5.1

switching in master-slave replication. Fixed a bug in applying orphanRemoval= true by default on mapped by

ArrayIndexOutOfBoundsException on flush

(orphanRemoval= true , cascade=CascadeType.ALL) private Map _nodes; The TaskNode contains a further Entity

Strange Error with Criteria API and Sorting

.get("name"))));   query.select(root).distinct( true );   List result = em.createQuery(query

combined index not used

.no-schema-upgrade", " true "); EntityManagerFactory emf = Persistence.createEntityManagerFactory("D:\\odb

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

{   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true )  

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

, CascadeType.PERSIST}, mappedBy="account", fetch = FetchType.LAZY) @JoinColumn(name = "project_id", unique= true