About page

forum_thread

Problem with polish characters

Hello! ... characters. When i'm coding .jsp file like this: <%@page contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> ...

 
api-jpa

sum(x, y)

Create an expression that returns the sum of its arguments.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

getJavaMember()

Return the java.lang.reflect.Member for the represented attribute.(Method of javax.persistence.metamodel.Attribute)

 
api-jpa

OneToOne.mappedBy

(Optional) The field that owns the relationship.(Annotation Element of javax.persistence.OneToOne)

 
api-jpa

trim(ts, t, x)

Create expression to trim character from a string.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

like(x, pattern)

Create a predicate for testing whether the expression satisfies the given pattern.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

setFlushMode(flushMode)

Set the flush mode type to be used for the query execution.(Method of javax.persistence.TypedQuery)

 
api-jpa

hasVersionAttribute()

Whether the identifiable type has a version attribute.(Method of javax.persistence.metamodel.IdentifiableType)

 
forum_thread

Delete object from collection versus delete from JPQL

I'm a newbie, so this is a pretty fundamental question. I'm not sure if there is a bi-directional relationship between the objects in memory and ObjectDB.  I know I can modify the objects and use persist() to write them to the database.  But does running a JPQL update or delete alter the in-memory objects? There are cases where the JPQL syntax is more expressive than operating on a collection, but I'm not sure if that will alter my program state.  Will it? Thanks, Lee  #1 2014-03-24 22:25 I'm a newbie, so this is a pretty fundamental question. I'm not sure if there is a bi-directional ...

 
forum_thread

Attempt to execute a query using a closed EntityManager

Hi again! Suddenly, my app started to throw this exception. I would really appreciate some advices. ... The doesn't make any sense. Scenario: 1. JSF page with create form is used for creating an user. Create button is pressed. ...