ObjectDB ObjectDB

Internal Website Search

1-10 of 114 resultsRefresh
154

@Column length is not working.

= true, nullable = false, length = 16) but when i m trying to insert a string for that column ... so its very difficult to validate the column string length. Please find the below project and objectdb file ... , such as non null and length - consider checking relevant fields in a lifecycle event callback. support
150

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

must have the same length. Therefore, the following index definition is invalid: @Entity @Index(members ... technical issue with enabling such an index. A composite index with components of different lengths
91

length(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<Integer> length( Expression<String> x ) Create expression to return length of a string. Parameters: x - string expression Returns: length expression Since: JPA 2.0
90

Column.length

Annotation Element javax.persistence.Column int length (Optional) The column length. (Applies only if a string-valued column is used.) Default value: 255 Since: JPA 1.0
90

MapKeyColumn.length

Annotation Element javax.persistence.MapKeyColumn int length (Optional) The column length. (Applies only if a string-valued column is used.) Default value: 255 Since: JPA 2.0
90

DiscriminatorColumn.length

Annotation Element javax.persistence.DiscriminatorColumn int length (Optional) The column length for String-based discriminator types. Ignored for other discriminator types. Default value: 31 Since: JPA 1.0
47

Strings in JPQL and Criteria Queries

. 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 ... - Getting a Portion of a String The SUBSTRING(str, pos [, length]) function returns a substring
28

FROM clause (JPQL / Criteria API)

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_TIMESTAMP ... , INDEX, INNER, IS, JOIN, KEY, LEADING, LEFT, LENGTH, LIKE,LOCATE, LOWER, MAX, MEMBER, MIN, MOD, NEW
24

Index Definition

for every entity. Multi part paths in a composite index must have the same length ... WHERE LENGTH(w) >= 10 But this time a full index scan is required because the index uses the lexicographic order of the words and is not ordered by the length of the words. The bottom line
9

Column.length

Annotation Element javax.jdo.annotations.Column int length Maximum length of data stored in this column. Returns: the maximum length of data stored in this column Default value: -1 Since: JDO 2.1

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support