ObjectDB ObjectDB

Internal Website Search

1-10 of 48 resultsRefresh
182

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
105

DiscriminatorType.CHAR

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

Database Schema Evolution

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

JPA Persistable Types

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

ObjectDB Object Database Features

(boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character ... a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short, char, int, long, float and double
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
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

JPA Primary Key

: boolean, byte, short, char, int, long, float, double. Equivalent wrapper classes from package java
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

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