ObjectDB Database Search

51-100 of 108 results

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

; + " left join s.location as s_location "            ... ; + " left join s.location as s_location "            ... ;  + " left join s.location as s_location "          

find() cost unreasonable time!

@Inheritance(strategy=InheritanceType. JOINED ) // Success for Inheritance Sonsection //@Cache(size=10000 ... ){    Nodes cur = queue.pop();    Nodes left = new Nodes();    left .setParent(cur);    em.persist( left ); ++iNum;    Nodes right = new Nodes();   

Issue with upper?

Hi, Query 1: SELECT DISTINCT $1, $2.lastName AS $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY UPPER($2.lastName) Correctly returns ... $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY

No clue how to query with collection

itself... Alex quasado Alexander Adam Maybe something like: SELECT c, a FROM Customer LEFT JOIN c.addresses ... INNER JOIN c.addresses ORDER BY SIZE(c.addresses) 0 ? CONCAT(c.addresses[0].street + c.addresses[1 ... this query: SELECT c, a FROM Customer INNER JOIN c.addresses a ORDER BY a.street WHERE a.active

Embedded List

("SELECT i FROM com.model.ItemDB i LEFT JOIN i.lstSupplier s WHERE s.strSupNumber LIKE '%5785483 ... Why does this NamedQuery only work sometimes? @NamedQuery(name = "ItemDB.getPartial", query = "SELECT i FROM com.model.ItemDB i JOIN i.lstSupplier s WHERE s.strSupNumber LIKE ?1") I use

Performance issues on aggregate query

) from ObjectNode o INNER JOIN o.properties p1 INNER JOIN o.properties p2  INNER JOIN o.properties p3 INNER JOIN o.properties p4 INNER JOIN o.properties p5 INNER JOIN o.properties p6 INNER JOIN o.properties p7 join o.linkedObjects c1 where o.classIdentifier = '(OP)' and (o.linkedObjects

jakarta.persistence.FlushModeType

is unspecified. If there is no transaction active or the persistence context is not joined to the current

jakarta.persistence.Inheritance

is used. Example: @Entity @Inheritance(strategy = JOINED ) public class Customer { ... } @Entity public

jakarta.persistence.JoinColumns

Persistence (JPA) 1.0 Annotation Elements JoinColumn[] value The join columns that map the relationship

jakarta.persistence.ManyToOne

annotation. Alternatively, an optional OneToOne association is sometimes mapped to a join table

jakarta.persistence.MapKeyJoinColumns

(JPA) 2.0 Annotation Elements MapKeyJoinColumn[] value (Required) The map key join columns

jakarta.persistence.Entity

the associated entity , and a many-to-many association usually maps to a join table . Every entity

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED inheritance mapping strategies . The mapping strategy and discriminator column are only specified

jakarta.persistence.EntityNotFoundException

and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager

jakarta.persistence.EntityExistsException

, if one is active and the persistence context has been joined to it, will be marked for rollback

Not releasing locked MST object

thread was trying to join another thread and it got stuck in that state for hours. "WebSocket ... . join (java.base@21.0.1/Thread.java:2078) at java.lang.Thread. join (java.base@21.0.1/Thread.java:2154 ... .Object.wait(java.base@21.0.1/Object.java:366)     at java.lang.Thread. join (java.base@21

jakarta.persistence.PersistenceContext.synchronization

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext SynchronizationType synchronization (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined

jakarta.persistence.criteria.CollectionJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionAttribute getModel() Return the metamodel representation for the collection attribute. Returns: metamodel type representing the Collection that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.SetJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetAttribute getModel() Return the metamodel representation for the set attribute. Returns: metamodel type representing the Set that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getResultStream()

other than NONE has been set and there is no transaction or the persistence context has not been joined

jakarta.persistence.TypedQuery.getSingleResult()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getSingleResultOrNull()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.TypedQuery.getResultList()

been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query

jakarta.persistence.criteria.ListJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListAttribute getModel() Return the metamodel representation for the list attribute. Returns: metamodel type representing the List that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapAttribute getModel() Return the metamodel representation for the map attribute. Returns: metamodel type representing the Map that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.executeUpdate()

back. TransactionRequiredException - if there is no transaction or the persistence context has not been joined

Database connection url

I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as:           However, I'm not sure about the connection url for the code, and for the explorer. I tried this: Transactor.emf

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

of persistent objects. Check for static objects left in one test that may be used in other tests, and maybe

How to resolve 404 errors with Eclipse/Maven Spring MVC

with the cute little jar icon from the left side to the tomcat side. I say yes and it appears

Composite Index error 328

to the index (on the left side) will usually decrease performance due to a larger index space

Memory Leak in EntityManagerFactory ?

is, that there are 248 com.objectdb.jdo.PMImpl Objects left , and the root gc is as well the EntityManagerFactory

Catching exceptions from online backup

. join ( ) ; } catch ( InterruptedException e ) {     e . printStackTrace ... .     backupThread . start ( ) ;     backupThread . join ... ; try {         backupThread . join ( ) ;      } catch

Performance issue in a query due to compareTo calls

of a JOIN query: SELECT v FROM Values v JOIN v.step s WHERE s.stepNumber = ? JOIN queries

InternalError on query of empty database

Support Hi, Query I'm running is: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.attributeList $2 JOIN $1

Query over the keySet of a map field with collection parameter

value of  EntityChild , you can try: SELECT e FROM EntityParent e JOIN e.map child WHERE child ... with a parameter which is a collection of strings. SELECT e FROM EntityParent e JOIN e . map key

Navigation to Collection Elements

Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent object of class X. Can I navigate (as opposed to using JOIN ) to  ... expressions (by using JPA's JOIN or JDO's contains). The array expressions that you wrote are not

ObjectDB 2.5.1

Added support of editing enum values in the Explorer. Added logging of type registration . Added error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual. Fixed a possible deadlock

combined index not used

.linkedObjects join v$2). Step 5: Process ObjectProperty (v$3) instances (for every result tuple ... .hummingbird.ObjectProperty locating ObjectProperty (v$3) instances that satisfy: (v$1.properties join v$3 ... performance). Complex heavy queries with several JOIN operations require examining large number

Online backup problem

; Thread backupThread = backupQuery.getSingleResult();    backupThread. join ();   } catch

Optimistic locking: prevent version increment on entity collection attribute

with orphan remove = true.   I have joined a simple test for you. Thank you for your help and sorry in

Evaluation License

to remove this restrictions. Anyway, you need a license key to remove this restriction. support Joined

Navigation and Parameters

to a field in these objects directly. You need to use JOIN in JPA and contains in JDO

Problem with queries on lists with reverse mapping

("SELECT t FROM TeamA t JOIN t.squad s where s.name='Mark Wahlberg'", TeamA.class); List q7results

queries under 2.7.6_4 significantly slower than under 2.7.6

. What we can report is: using a reference query (you have our test db) select distinct o from ObjectNode o join o ... ) instances that satisfy:    (o.linkedObjects join v$1). [Step 2b] Evaluate fields in ... that satisfy:    (o.properties join v$2). [Step 3b] Evaluate fields in ObjectProperty (v$2

Strange Error with Criteria API and Sorting

. Join ; import javax.persistence.criteria.Root; public class Test_OrderBy { public static void main ... .createQuery(TestEntity.class);   Root root = query.from(TestEntity.class);   final Join otherJoin = root. join ("other");   query.orderBy(cb.asc(cb.upper((Expression ) (Expression ) otherJoin

File lock exception on odb$

Not sure if this is an objectdb issue or not but I thought I'd raise it just in case. We had a server failure which caused an unexpected reboot. As a result, the application services which use objectdb were not shutdown properly which in turn meant we had several odb$ files left behind. I

Negative snapshot user count exception

(see attached log file). Last week I had inadvertently left the database running with inadequate

BIRT Driver Improvements

and restart.   support Support hi, Perfect, thank you very much! Now the only point left

Navigation through lazy loading from Detached Objects

queries  and/or fetch joins that can preempty data that will be needed in the user interface. [Recommended reading JPA Pro 2: - p.164 to p.168 Working with Detached Entities - p.222 Fetch Joins

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06 Harman