Home » Search

About Container

101-110 of 200Refresh
JPA Doc
4

javax.persistence.Cache

. If a cache is not in use, the methods of this interface have no effect, except for contains, which returns false. Since: JPA 2.0 Learn how to use Cache in Chapter 3 of the ObjectDB/JPA manual. boolean contains(Class cls, Object primaryKey) Whether the cache contains data for the given entity
JPA Doc
4

javax.persistence.spi.PersistenceProvider

provider. It is invoked by the container in Java EE environments and by the javax.persistence.Persistence ... the container when an EntityManagerFactory is to be created. Called by the container ... if no properties are specified). If a Bean Validation provider is present in the classpath, the container
Forum
4

newbie - lots of exeptions

.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun.ejb.containers.BaseContainer ... (EjbInvocation.java:619) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext ... .invoke(Method.java:601) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor
Forum
3

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works
Issue
3

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.flush(EntityManagerWrapper.java ... .EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun.ejb.containers.BaseContainer ... .java:656) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager
Forum
3

Should derived fields of an EmbeddedId be manually maintained by app code?

me what to expect. I have a container class EContainer that is reponsible for maintaining a "map" of items ... , contains a field, "cont", that is derived from ECompoundKeyMapItem's container field via the @MapsId("cont ... "ECompoundKeyMapSubItemId" class, which contains a field "prnt" which is derived from ECompoundKeyMapSubItem's
Result
3

java.lang.RuntimeException

. Generally speaking, the array returned by this method will contain one element for every frame ... on the error output stream that is the value of the field System.err. The first line of output contains ... containing the characters "...". These lines indicate that the remainder of the stack trace
JDO Doc
3

javax.jdo.annotations.DiscriminatorStrategy

containing the constants of this enum type. Returns an array containing the constants of this enum type ... : DiscriminatorStrategy.values()) System.out.println(c) Returns: an array containing the constants of this enum type, in the order they are declared
JDO Doc
3

javax.jdo.annotations.ForeignKeyAction

[] values() Returns an array containing the constants of this enum type. Returns an array containing ... containing the constants of this enum type, in the order they are declared
JDO Doc
3

javax.jdo.annotations.IdentityType

an array containing the constants of this enum type. Returns an array containing the constants ... : IdentityType.values()) System.out.println(c) Returns: an array containing the constants of this enum type, in the order they are declared