ObjectDB ObjectDB

Internal Website Search

1-10 of 49 resultsRefresh
188

substring works with string but not with char

with a string parameter select f from Foo f where substring(f.name, 1, 1) = ?1 but when i use a char, the query does not return anything. i think it should also be possible to use char/Character types ... ) is Character. In ObjectDB as in Java char is comparable to int but not to String. Maybe an exception
108

DiscriminatorType.CHAR

Enum Constant javax.persistence.DiscriminatorType CHAR Single character as the discriminator type. Since: JPA 1.0
26

Strings in JPQL and Criteria Queries

to 'germany'. TRIM - Stripping Leading and Trailing Characters The TRIM([[LEADING|TRAILING|BOTH] [char ... ); Expression<String> upper = cb.upper(param); // TRIM([[LEADING|TRAILING|BOTH] [char] FROM] str
26

ObjectDB Object Database Features

(for persistent fields) Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper ... , char, int, long, float and double). Wrappers (Boolean, Byte, Short, Character, Integer, Long
18

JPA Persistable Types

: boolean, byte, short, char, int, long, float and double. Equivalent wrapper classes from package
18

FROM clause (JPQL / Criteria API)

reserved words: ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BIT_LENGTH, BOTH, BY, CASE, CHAR_LENGTH
18

Index Definition

a value of one of the following persistable types: Primitive types: boolean, byte, short, char, int
18

Database Schema Evolution

to any numeric type. In this context numeric types are: byte, short, char, int, long, float, double
3

[ODB1] Chapter 7 - JDOQL Queries

, ... double 3.14, 0d, 1e2D, -2., 5.04e+17, ... char 'x', '@', '\n', '\\', '\'', '\uFFFF', ... string ... can participate in comparisons as if they were primitive numeric types (byte, short, char, int, long, float ... include numeric primitive types (byte, short, char, int, long, float, double), numeric wrapper types
1

[ODB1] Chapter 3 - Persistent Classes

are also persistent types: All the primitive types - boolean, byte, short, char, int, long, float and double. Selected

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