ObjectDB Database Search
101-150 of 200 resultsProblem 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();  
|
|
slow performance for a complex query
structures like this, sometimes JOIN can only be implemented by nested full scan (and indexes cannot help). There are different types of nested queries. Some nested queries are actually equivalent to JOIN . When the inner query is not dependent on the outer query - no JOIN is required. But such nested
|
|
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
|
|
Mapped By Fetch is very Slow
issue in my application is more due to that problem than the left join one. ( Note : The left join index
|
|
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
|
|
Group by: list if no aggregate function is specified
Hello! In a query like SELECT parent, children FROM Parent parent LEFT JOIN p.children children GROUP BY parent maybe it would be good if it will return a list of Object[2], where the second ... , then fetching children list for each parent - not a good idea. Thank you. Vladiator Vlad Myachikov You may use JOIN FETCH for this purpose. support Support
|
|
jakarta.persistence.PessimisticLockScope.NORMAL
. If a joined inheritance strategy is used, or if the entity is otherwise mapped to a secondary table ... to join tables or unidirectional one-to-many relationships for which the target entity contains
|
|
jakarta.persistence.PessimisticLockScope.EXTENDED
and relationships owned by the entity that are contained in join tables are locked if the property ... ). Locking such a relationship or element collection generally locks only the rows in the join table
|
|
jakarta.persistence.EntityManager.isJoinedToTransaction()
Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active. Returns: boolean. Since: Jakarta Persistence (JPA) 2.1
|
|
jakarta.persistence.MapKeyColumn.name
. If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the map key column is in a join table. If the map key is for a OneToMany entity relationship
|
|
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
|
|
jakarta.persistence.criteria.AbstractQuery
own joins ). All queries may have: a conjunction of restrictions. Since: Jakarta Persistence (JPA) 2.0
|
|
Issue with UPPER ?
Hi, Assuming those queries which are all the same except the UPPER calls: # Case (1) SELECT COUNT($1) FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 LEFT JOIN $1.profile $3 LEFT JOIN $3.organisation $4 LEFT JOIN $1.postalAddresses $5 LEFT JOIN $1
|
|
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
|
|
jakarta.persistence.ForeignKey.value
will generate a constraint whose update and delete actions it determines most appropriate for the join column
|
|
jakarta.persistence.EntityManager.joinTransaction()
Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void joinTransaction() Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside
|
|
jakarta.persistence.EntityManager.close()
is joined to an active transaction, the persistence context remains managed until the transaction completes
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)
- if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3.2
|
|
jakarta.persistence.EntityManager.refresh(Object,LockModeType)
on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType)
. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)
. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined
|
|
jakarta.persistence.EntityManager.getLockMode(Object)
if the entity manager has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 2.0
|
|
jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)
on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0
|
|
jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)
entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 3.2
|
|
jakarta.persistence.criteria.JoinType.INNER
Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria.JoinType INNER Inner join . Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.SynchronizationType.UNSYNCHRONIZED
Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.NamedQuery.lockMode
Jakarta Persistence (JPA) Method in jakarta.persistence.NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined
|
|
Unexpected query token - AS
instanceEntryArtifactSet , com.btc.ep.engine.bl.internal.dmos.ArtifactImpl AS artifact LEFT JOIN artifact.activatedGoals AS artifactActivatedGoals LEFT JOIN artifact.activatedAssumptions AS artifactActivatedAssumptions LEFT JOIN artifact.activatedCalibrations AS artifactActivatedCalibrations
|
|
Server out of memory exceptions
application startup & shutdown cycles. Each cycle of the outer loop should create 10 writer threads (5 ... ) if I enable another 5 threads to read from test1 and write to test2 - I've left this commented ... it looked ok but when I bumped up the msg size to 5mb and left it running for 25mins I got
|
|
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
|