About string

21-30 of 200Refresh
Issue
17

Error reading UTF string (Serialized Objects in Explorer)

Error reading UTF string (Serialized Objects in Explorer)
Manual
17

Query Parameters in JPA [2011-04-01]

with different parameter values (arguments) is more efficient than using a new query string for every query ... getCountryByName(EntityManager em, String name) { TypedQuery query = em.createQuery ... . Named parameters can be easily identified in a query string by their special form, which is a colon
Manual
17

Query Parameters in JPA

with different parameter values (arguments) is more efficient than using a new query string for every query ... getCountryByName(EntityManager em, String name) { TypedQuery query = em.createQuery ... . Named parameters can be easily identified in a query string by their special form, which is a colon
JPA Doc
16

javax.persistence.criteria.CriteriaBuilder

- expression Returns: coalesce expression Since: JPA 2.0 Expression<String> concat( Expression<String> x, String y) Create an expression for string concatenation. Create an expression for string concatenation. Parameters: x - string expression y - string Returns: expression corresponding to concatenation
Manual
16

Literals in JPQL and Criteria Queries

including NULL, boolean literals (TRUE and FALSE), numeric literals (e.g. 100), string literals (e.g ... , 077L), a feature that is not currently supported by all JPA implementations. String Literals JPQL follows the syntax of SQL for string literals in which strings are always enclosed in single quotes (e.g
Manual
15

Index Definition

.annotations.Unique; @Entity public class EntityWithSimpleIndex { @Index String ... , Long, Float, Double. java.math.BigInteger, java.math.BigDecimal. java.lang.String. java.util.Date ... ","firstName"}) public class EntityWithCompositeIndex { String firstName; String lastName
Manual
15

JPA Criteria API Queries

JPQL queries are defined as strings, similarly to SQL. JPA criteria queries, on the other hand ... . On the other hand, for many developers string based JPQL queries, which are very similar to SQL queries, are easier to use and understand. For simple static queries - string based JPQL queries (e.g
Manual
15

JPA Persistable Types

, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String ... public class Address { String street; String city; String state; String country; String zip; } Instances of embeddable classes are always embedded in other entity objects
JDO Doc
14

javax.jdo.Constants

. Since: JDO 2.1 String ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME The name of the anonymous PersistenceManagerFactory, which is the empty string. The name of the anonymous PersistenceManagerFactory, which is the empty string. Since: JDO 2.1 String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance
Manual
13

SELECT clause (JPQL / Criteria API)

, the following query returns country names as String instances, rather than Country objects: SELECT c.name ... results. The results of the above query are received as a list of String values: TypedQuery<String> query = em.createQuery( "SELECT c.name FROM Country AS c", String.class); List<String