ObjectDB Database Search

1-50 of 64 results

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression length (    Expression x ) Create expression to return length of a string. Parameters: x - string expression Returns: length expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn.length

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn int length (Optional) The column length . Applies only to columns whose type is parameterized by length , for example, varchar or varbinary types. Default: 255 Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.length

Jakarta Persistence (JPA) Method in jakarta.persistence.Column int length (Optional) The column length . Applies only to columns whose type is parameterized by length , for example, varchar or varbinary types. Default: 255 Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.DiscriminatorColumn.length

Jakarta Persistence (JPA) Method in jakarta.persistence.DiscriminatorColumn int length (Optional) The column length for String-based discriminator types. Ignored for other discriminator types. Default: 31 Since: Jakarta Persistence (JPA) 1.0

Strings in JPQL and Criteria Queries

) represents a real % character. LENGTH - Counting Characters in a String The LENGTH (str) function returns the number of characters in the argument string as an int . For example: LENGTH ('United States') is evaluated to 13. LENGTH ('China') is evaluated to 5. LOCATE - Locating Substrings The LOCATE

@Column length is not working.

(unique = true, nullable = false, length = 16)  but when i m trying to insert a string ... so its very difficult to validate the column string length . Please find the below project ... . For other constraints, such as non null and length - consider checking relevant fields in

Multi part paths in a composite index must have the same length

wrapper. Multi part paths in a composite index must have the same length . Therefore, the following ... with components of different lengths is forbidden because it may cause difficulties when the components

FROM clause (JPQL / Criteria API)

but cannot be one of the following reserved words: ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BIT_ LENGTH , BOTH, BY, CASE, CHAR_ LENGTH , CHARACTER_ LENGTH , CLASS, COALESCE, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT ... , HAVING, IN, INDEX, INNER, IS, JOIN, KEY, LEADING, LEFT, LENGTH , LIKE,LOCATE, LOWER, MAX, MEMBER, MIN

Index Definition

a composite index must have the same length . Therefore, the following index definition is invalid ... because the index uses the lexicographic order of the words and is not ordered by the length of the words

SELECT clause (JPQL / Criteria API)

The result list of this query contains Object[] elements, one per result. The length of each result

JPA Query Expressions (JPQL / Criteria)

, quot , mod , abs , neg , sqrt ). String expressions ( like , length , locate , lower , upper , concat

Numbers in JPQL and Criteria Queries

value is numeric, e.g. LOCATE, LENGTH . as composite arithmetic expressions that use operators

JPA Criteria API Queries

, neg , sqrt ). String expressions ( like , length , locate , lower , upper , concat , substring

GROUP BY and HAVING clauses

SUBSTRING(c.name, 1, 1); The query returns Object[] arrays of length 3, in which the first cell contains

jakarta.persistence.criteria.CriteriaBuilder

substring of a string, Parameters: x - string expression len - length of the substring to return Returns ... - string expression len - length of the substring to return Returns: expression for the leftmost substring. Since: Jakarta Persistence (JPA) 1.0 Expression length ( Expression x ) Create expression

jakarta.persistence.Column

(name = "DESC", nullable = false, length = 512) public String getDescription() { return description ... the primary table. Default: "" Since: Jakarta Persistence (JPA) 1.0 int length (Optional) The column length . Applies only to columns whose type is parameterized by length , for example, varchar or varbinary

jakarta.persistence.MapKeyColumn

Persistence (JPA) 1.0 int length (Optional) The column length . Applies only to columns whose type is parameterized by length , for example, varchar or varbinary types. Default: 255 Since: Jakarta

jakarta.persistence.DiscriminatorColumn

) @DiscriminatorColumn(name = "DISC", discriminatorType = STRING, length = 20) public class Customer ... with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3.2 int length (Optional) The column length

jakarta.persistence.Tuple

: value of the tuple element. Throws: IllegalArgumentException - if i exceeds length of result tuple ... : IllegalArgumentException - if i exceeds length of result tuple. Since: Jakarta Persistence (JPA) 1.0

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

) Create an expression for substring extraction. Extracts a substring of given length starting ... expression len - length expression Returns: expression corresponding to substring extraction. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.substring(Expression,int,int)

an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1. Parameters: x - string expression from - start position len - length Returns

jakarta.persistence.DiscriminatorValue

= STRING, length = 20) @DiscriminatorValue("CUSTOMER") public class Customer { ... } @Entity

jakarta.persistence.CollectionTable

; ... @ElementCollection // use default table (PERSON_NICKNAMES) @Column(name = "name", length = 50) protected Set

member visiting in jpql

baURI is a byte[]; JP QL select e.baURI. length from URI e where id=82778 JP QL [ObjectDB 2.2.9_04] javax.persistence.PersistenceException Navigation from 'byte[]' through ' length ' is invalid (error ... .java:43) at util.JPQLcmd.main(JPQLcmd.java:28) Why I can not visit the length attribute? TIA

jakarta.persistence.Tuple.get(int,Class)

Returns: value of the tuple element. Throws: IllegalArgumentException - if i exceeds length of result

jakarta.persistence.Tuple.get(int)

: IllegalArgumentException - if i exceeds length of result tuple. Since: Jakarta Persistence (JPA) 1.0

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression right (    Expression x ,    Expression len ) Create an expression for the rightmost substring of a string, Parameters: x - string expression len - length of the substring to return

jakarta.persistence.criteria.CriteriaBuilder.left(Expression,int)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression left (    Expression x ,    int len ) Create an expression for the leftmost substring of a string, Parameters: x - string expression len - length of the substring to return Returns

jakarta.persistence.criteria.CriteriaBuilder.right(Expression,int)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression right (    Expression x ,    int len ) Create an expression for the rightmost substring of a string, Parameters: x - string expression len - length of the substring to return Returns

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression left (    Expression x ,    Expression len ) Create an expression for the leftmost substring of a string, Parameters: x - string expression len - length of the substring to return

Failed to read DB file while online backup is running

this and how to avoid it ?   Stacktrace 1: pos = 2925893632 length = 2048 Caused by: com.objectdb.o ... .objectdb.jpa.EMImpl.commit(EMImpl.java:299) ... 9 more Stacktrace 2: pos = 3003074560 length = 2048 Caused ... with the previous fix.   Stacktrace 1: pos = 4107765760 length = 2048 Failed to read from file '/path_to_db

Bug: ClassCastException by retrieval

.toCharArray();   int iLen = ca. length ;   Character[] la = new Character[iLen];   for (int ii = 0; ii

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description. length (), insp.products.size(), insp.picture from

Cascading makeTransient

toString() {   return "StringWrapper : "+ getString(). length (); } public ArrayList getList

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

.locks.ReentrantReadWriteLock locks, and varying the length (number of actions) within a transaction

Multithreading Test and Deadlock

threads are slower because of higher memory usage (4 x 10,000 x 100 strings x attribute length = many

Broken @ManyToOne reference

Hi, I have objects of type A belonging to objects of type B, defined as follows: @MappedSuperclass public abstract class A { @Id @ManyToOne(fetch = FetchType.EAGER, cascade=CascadeType.ALL, optional=false) private B b; @Id @Column( length = 36) private String stringId; } @MappedSuperclass public

Does aggregate function "greatest" work on entity objects?

() + " result = " + result); return result; } @Column( length =1024) private String text; @Embedded private

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

Acceptable Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content- Length : 1067 Date

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

static final long serialVersionUID = 1L; @Column( length =1024) private String text; @Embedded private

how to persist an object twice into two diff. collections of two diff. classes

selectedSquads = new ArrayList (); if (tableSquads.getSelectedRows(). length 0) { int[] rows

Unexpected exception (Error 990) on find

all values at a length of 256, there seams to come no exception. It seams that there had to be some ... ? Is it String? What is the length of these strings? You mentioned long strings as map values, but in ... on Monday. Probably its the combination of Key- and Value- Length . Stefan Stefan Mair Hi, the ObjectDB

ObjectDB can't be activated

; System.out.printf("%d %d %s\n", s1. length (), s2. length (), s2);        ... ; System.out.printf(indent(indent) + "hardwareAddress = %d %d %s\n", s1. length (), s2. length (), s2);  

NullPointerException using with "refresh" method

Buster) and had some trouble with zero length files using atomic moves, and after a power loss ... -and-the-zero- length -file-problem/ - https://en.wikipedia.org/wiki/Ext4#Delayed_allocation

Page cache File handling produced an java.io.IOException: Negative seek offset

we get following exception when we execute a find() in a scenario, we can not readjust with an example.   Before the exception throws we get two outputs on std error: pos = -8192 length = 8192 ... .java) pos = -8192 length = 8192 [ObjectDB 2.6.7] javax.persistence.PersistenceException Failed

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 0 java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 0 at com.objectdb.o.UTY.L(UTY.java:1440) at com.objectdb.o.ENH.d(ENH

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

][project=TEST: project 1][id=46][name=deep float quantity ( length )], [class=IntegerQuantity ... ( length )]) INFO: ConfigBean []: testQuery: element.ownedElement([class=IntegerQuantity][project=TEST

UPDATE statemen crash when i put the WHERE clause.

( "[a-zA-Z- ]+" ) && linie.get( 2 ). length ()= 2 ) { lab_points = (Integer) em.createQuery( "select n.lab

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

.getLocalizedMessage(); if (msg == null || msg. length () == 0) { TimePeriod id = chart.getId(); if (findChart(id

ObjectDB 2.6.1

Added an option to disable temporary file deletion . Added support of using entity classes with missing dependent types. Added support of composite indexes with components of different lengths . Fixed a bug in reflection mode in detecting changes after flush ( issue #1602 ). Fixed