ObjectDB Database Search
1-33 of 33 resultsjakarta.persistence.criteria.CriteriaBuilder.desc(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc ( Expression expression ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering Returns: descending ordering | |
jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering | |
FROM clause (JPQL / Criteria API), CURRENT_TIME, CURRENT_TIMESTAMP,DELETE, DESC , DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE | |
JPA Query Structure (JPQL / Criteria) , max , ...) Criteria ORDER BY ( orderBy , Order , asc , desc ) | |
Query problem after transaction commit for all object Goods successfully] 04 SELECT u FROM Goods u where u._code like :code AND u._ desc like : desc 05 code= %, desc = % 06 UI: end query 07 UI: start printing result 08 code= A, desc = Good A, byUser= test 09 code= B, desc = Good B, byUser= test 10 code= C, desc = Good C, byUser= test 11 UI: end | |
jakarta.persistence.Index ::= column_name [ASC | DESC ] If neither ASC nor DESC is not specified, ASC , that is, ascending order | |
jakarta.persistence.criteria.CriteriaBuilder for current timestamp. Since: Jakarta Persistence (JPA) 1.0 Order desc ( Expression expression ) Create ... Persistence (JPA) 1.0 Order desc ( Expression expression , Nulls nullPrecedence ) Create an ordering by | |
jakarta.persistence.Column(name = " DESC ", nullable = false, length = 512) public String getDescription() { return description; } Example 2: @Column(name = " DESC ", columnDefinition = "CLOB NOT NULL", table = "EMP_DETAIL") @Lob | |
jakarta.persistence.OrderBy.value Jakarta Persistence (JPA) Method in jakarta.persistence.OrderBy String value An orderby_list . Specified as follows: orderby_list::= orderby_item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC ] If ASC or DESC is not specified, ASC (ascending order) is assumed | |
jakarta.persistence.criteria.Nulls(Expression, Nulls) CriteriaBuilder. desc (Expression, Nulls) Since: Jakarta Persistence (JPA) 3.2 Enum | |
How to convert a boolean to an int in the query?)approveEmail DESC and SELECT approveEmail FROM Person ORDER BY approveEmail DESC return different results ... FROM Person ORDER BY (int)approveEmail DESC works fine. Query SELECT approveEmail FROM Person ORDER BY (int)approveEmail + (int)approvePhoneNumber DESC works fine. Criteria query CriteriaBuilder cb | |
Slow searching with two indexes by id desc With the query limited to (say) 10 results. Is there any obvious way to speed ... == :objectReference order by id desc when an index is defined on the reference field should use that index ... where receiver == :r order by id desc Query Plan Description ====================== [Step 1] Scan index com | |
100% CPU when using multiple BETWEEN BY r.startDate DESC , r.startTime DESC , r.channelNumber DESC The following query works fine ... ' AND '2099')) OR ((r.fromExtension BETWEEN '2010' AND '2099'))) ORDER BY r.startDate DESC , r.startTime DESC , r.channelNumber DESC In both cases we limit the result count to the first 50 records | |
Accessiblity of attributes in entities in several OSGi-Bundles String desc ; public void setDescription(String desc ) { this. desc = desc ; } } class MessageServiceImpl | |
Strange behaviour with ORDER BY and IN; em.createQuery("select l from Location l order by l.id desc ", Location.class)   ... where l.id IN :ids order by l.id desc ", Location.class)   ... ("select l from Location l where l.town IN :towns order by l.town desc ", Location.class)   | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV-8553-cc5688ba142d') ORDER BY MAX($1.createDate) DESC but this query returns an exception ... ) DESC entity object is: @Entity public class ChatHistoryItem extends AbstractObject { private ... .createDate) DESC and even a simpler query: SELECT DISTINCT e FROM ChatHistoryItem e ORDER BY MAX(e | |
First query takes 4+ minutes to complete with the following query: SELECT r from RecordingMetaData AS r ORDER BY r.startDate DESC , r.startTime DESC , r.channelNumber DESC We limit the result to 50 records. Basically we wish to get the last 50 records | |
Wrong data stored in time only fields BY r.startDate DESC , r.startTime DESC "); resultList = q ... from DateTime AS r ORDER BY r.startDateTime DESC ");   | |
Sorting problem; q = "select br from Branch br ORDER BY ?1 DESC ";   ... = "select br from Branch br ORDER BY br.id DESC "; icQuery = em.createQuery(q, Branch.class | |
String Contains Query Result - Possible? one that is contained within the System Description. public static Program programByDescription(String desc ) { for(Program p : allPrograms()) if( desc .contains(p.getDescription())) return p; return null | |
Speeding up reporting queries with size() on list Inspiration insp order by date(insp.lastModificationDate) desc insp.description is normal String | |
how to create only table structure. then " desc emp;" it will show the structure of table. Bimal Bimal kumar dalei ObjectDB is not | |
java.lang.NullPointerException when using ORDER BY We are using ObjectDB 2.5.1_04. The following query causes an internal null pointer exception: SELECT r FROM RecordingMetaData AS r WHERE ((r.mapToCli != '192.168.10.200:9085' AND r.callDirection == 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK | |
Error during cascaded merge("configDate DESC ") public List getChannelConfigurationSets() {   | |
Retrieve latest entry in a time-series order: SELECT FROM MyEntity e WHERE ... ORDER BY e.date DESC Then you can run | |
Query perfromance problem." + sortColumn + " DESC "; } icQuery = em.createQuery(q, Product.class);   | |
NPE at com.objectdb.jpa.JpaQuery.getResultList = query.from(MomentPayload.class); query.select(fromMomentPayload); query.orderBy(cb. desc ... ; query.orderBy(cb. desc (fromMomentPayload.get("dateTime")));   | |
Sort of very large objects - out of memory indexes: SELECT m FROM Message m ORDER by priority DESC , createTime could even be faster if both sort ... with different ASC / DESC components will be supported in future versions. Meanwhile, consider reversing | |
Strange Error with Criteria API and Sorting We're creating a simple selection (distinct) including an order clause. When watching the created criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE($1)=class test.MyEntity)) ORDER BY UPPER($1.name) DESC You can see that in the order by | |
combined index not used.parentNode.classIdentifier = "(ME)" order by o.parentNode.modified desc database can be downloaded | |
Unexpected error when loading all entity instance _changeSet.index desc With the parameter ?1 = "b07f5cd0-de22-11e6-8f0c-da13fcef2539". This query | |
Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException.createQuery( "SELECT p FROM EventLogPersistEntry p ORDER BY p.id DESC ", EventLogPersistEntry.class | |
Null pointer exception being thrown from within ObjectDB.; orderBy(cb. desc (r.get("objectDbId"))); TypedQuery query = entityManager |