ObjectDB Database Search

1-30 of 30 results

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

EnumConstRef jakarta.persistence.DiscriminatorType.CHAR

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

Strings in JPQL and Criteria Queries

Characters The TRIM([[LEADING|TRAILING|BOTH] [ char ] FROM] str) function returns a string after removing ... |TRAILING|BOTH] [ char ] FROM] str) Expression  t1 = cb. trim (path); Expression t2 = cb. trim

ObjectDB Object Database Features

System Types (for persistent fields) Primitive types (boolean, byte, short, char , int, long, float ... . Primary Key Data Types Primitives (boolean, byte, short, char , int, long, float and double). Wrappers

JPA Persistable Types

, byte , short , char , int , long , float and double . Equivalent wrapper classes from package java

FROM clause (JPQL / Criteria API)

, CHAR _LENGTH, CHARACTER_LENGTH, CLASS, COALESCE, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT

Index Definition

: Primitive types: boolean , byte , short , char , int , long , float , double. Equivalent wrapper

Database Schema Evolution

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

Comparison in JPQL and Criteria API

, including primitive types ( byte , short , char , int , long , float , double ), wrapper types ( Byte

JPA Primary Key

, char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

,  char  escapeChar) Create a predicate for testing whether the expression satisfies the given ... ( Expression  x, String pattern,  char  escapeChar) Create a predicate ... ( Expression  x,  Expression  pattern,  char  escapeChar) Create a predicate

Problem with polish characters

chars in database (when i put in database some strings with polish chars and get them and show in .jsp there are polish chars ) But in this way I'm unnable to write polisch chars just on the site. When I use ISO-8859-2 or UTF-8 there are polish chars on .jsp but when i put them to database

Searching lists within objects

Test 6 fails because in comparison of Object ( Attribute.getValue() ) with char literal ('5 ... and a char the char is converted into string. A possible workaround is to use a string parameter instead

openejb jpa jaas module

String username; private char [] password; private Map options; /** * User. */ protected String login ... File | Settings | File Templates. } login = ((NameCallback) callbacks[0]).getName(); char

More Efficient Primary Keys

(but reduced to a 22 char instead of actual 36 char )   - Would it bring someting to specify

AnnotationRef jakarta.persistence.Basic

.Date , java.sql.Time , or java.sql.Timestamp , byte[] or Byte[] , char [] or Character[] , a Java enum

CriteriaBuilder.notLike(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike (    Expression  x,    String pattern,     char  escapeChar ) Create a predicate for testing whether the expression does not satisfy the given pattern. Parameters: x

CriteriaBuilder.notLike(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike (    Expression  x,     Expression  pattern,     char  escapeChar ) Create a predicate for testing whether the expression does not satisfy the given pattern. Parameters

CriteriaBuilder.like(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression  x,    String pattern,     char  escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string

CriteriaBuilder.trim(ts,t,x) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression trim (   CriteriaBuilder.Trimspec ts,     char  t,     Expression  x ) Create expression to trim character from a string. Parameters: ts - trim specification t - character

CriteriaBuilder.like(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression  x,     Expression  pattern,     char  escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x

EnumRef jakarta.persistence.DiscriminatorType

JPA Enum DiscriminatorType java.lang.Object ∟  java.lang.Enum ∟  jakarta.persistence.DiscriminatorType Defines supported types of the discriminator column. See Also: DiscriminatorColumn.discriminatorType Since: JPA 1.0 Enum Constants CHAR Single character as the discriminator type

CriteriaBuilder.trim(t,x) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression trim (    char  t,     Expression  x ) Create expression to trim character from both ends of a string. Parameters: t - character to be trimmed x - expression for string to trim Return: trim expression Since: JPA 2.0

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars . Here is a test class and entity that reproduces the problem on my system. @Entity @Table(name = "TestEntity", schema

Bug: ClassCastException by retrieval

sData; } public void setsData(String sData) {   this.sData = sData;   char [] ca = sData

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : ::=( , , , , ) ::=String ::= char ::=int ::=byte[] ::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... NO = 151552 @ 8042217472 id = 0 @ 7703244276 Url = http://cimg2.163.com/catchpic/E/E9/E96492634557CE291CDF3AADC710F373.jpg

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars

problem using macbook with M1 chip?

; invokevirtual java.lang.StringBuilder.append( char ) : java.lang.StringBuilder [15]     55 

Unexpected exception (Error 990) on find

, and there comes only Exceptions when the values becomes sometimes relativly long ( 256 chars ). When I cut ... smaller than 256 characters? support Support When I cut the values in the map to 256 chars , it runs

InternalException when using MEMBER OF on a large list in a query

to a 22 char instead of actual 36 char )   - Would it bring someting to specify the length