Internal Website Search
1-41 of 41 resultssubstring 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 | |
javax.persistence.DiscriminatorType.CHAR JPA Enum Constant in javax.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 All the following simple Java data types are persistable: Primitive types: boolean , byte , short , char | |
FROM clause (JPQL / Criteria API), BOTH, BY, CASE, CHAR _LENGTH, CHARACTER_LENGTH, CLASS, COALESCE, CONCAT, COUNT, CURRENT_DATE, 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 | |
javax.persistence.criteria.CriteriaBuilder;pattern, char escapeChar) Create a predicate for testing whether the expression satisfies ... Predicate like ( Expression x, String pattern, char escapeChar) Create ... ; Expression pattern, char escapeChar) Create a predicate for testing | |
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 | |
[ODB1] Chapter 7 - JDOQL Queries.04e+17f , ... double 3.14, 0d, 1e2D, -2., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF ... numeric types ( byte , short , char , int , long , float , double ). Logical Operators Logical ... rather than boolean . Valid types include numeric primitive types ( byte , short , char , int , long , float , double | |
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 | |
javax.persistence.Basic.Date , java.sql.Time , java.sql.Timestamp , byte[] , Byte[] , char [] , Character[] , enums, and any | |
CriteriaBuilder.notLike(x,pattern,escapeChar) - JPA Method JPA Method in javax.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 javax.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 javax.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 javax.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 javax.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 - string | |
javax.persistence.DiscriminatorType JPA Enum DiscriminatorType java.lang.Object ∟ java.lang.Enum ∟ javax.persistence.DiscriminatorType Defines supported types of the discriminator column. Since: JPA 1.0 Enum Constants CHAR Single character as the discriminator type. Since: JPA 1.0 INTEGER Integer as the discriminator | |
CriteriaBuilder.trim(t,x) - JPA Method JPA Method in javax.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  | |
[ODB1] Chapter 3 - Persistent Classes predefined system types are also persistent types: All the primitive types - boolean , byte , short , char | |
[ODB1] Chapter 4 - JDO Metadata: embedded value types: primitive type ( boolean , byte , short , char , int , long , float or double | |
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 | |
javax.jdo.spi.StateManager for the field Since: JDO 1.0 char getCharField (PersistenceCapable pc, int field, char ... Since: JDO 1.0 void providedCharField (PersistenceCapable pc, int field, char   ... instance field - the field number Return: the new value for the field Since: JDO 1.0 char | |
StateManager.setCharField(pc,field,currentValue,newValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void setCharField ( PersistenceCapable pc, int field, char currentValue, char newValue ) Mark the field as modified by the user. Parameters: pc - the calling | |
javax.jdo.identity.CharIdentity - the target class str - the key Since: JDO 1.0 CharIdentity (Class pcClass, char   ... - the other object Return: true if both objects represent the same object id Since: JDO 1.0 char | |
StateManager.getCharField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager char getCharField ( PersistenceCapable pc, int field, char currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.providedCharField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void providedCharField ( PersistenceCapable pc, int field, char currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling | |
StateManager.replacingCharField(pc,field) - JDO Method JDO Method in javax.jdo.spi.StateManager char replacingCharField ( PersistenceCapable pc, int field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0 | |
CharIdentity.getKey() - JDO Method JDO Method in javax.jdo.identity.CharIdentity char getKey () Return the key. Return: the key Since: JDO 1.0 | |
CharIdentity.CharIdentity(pcClass,key) - JDO Constructor JDO Constructor in javax.jdo.identity.CharIdentity CharIdentity ( Class pcClass, char key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0 |