About JBoss AS

151-160 of 200Refresh
Manual
2

JPA Named Queries

carefully to avoid collision (e.g. by using the unique entity name as a prefix). It makes sense ... queries to the same entity class requires wrapping them in a @NamedQueries annotation, as follows ... still might fail if that named query is defined on a class that is still unknown to ObjectDB. As a workaround
Manual
2

Chapter 4 - JPA Queries (JPQL / Criteria) [2011-04-01]

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users familiar with SQL should find JPQL very easy to learn and use. This chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA
Manual
2

JPA Metamodel API

 (which are referred to as managed types) in the persistent object model. Three methods can be used ... . IdentifiableType is as a super interface of: MappedSuperclassType - represents user defined mapped ... for exploring managed fields and properties (which are referred to as attributes). For example
Tutorial
2

Step 2: Entity Class and Persistence Unit

 Next). Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package ... > Now ObjectDB should be used as a JPA provider with the specified database url. The next step
Manual
2

Chapter 4 - JPA Queries (JPQL / Criteria) [2018-09-15]

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users familiar with SQL should find JPQL very easy to learn and use. This chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA
Manual
2

Chapter 4 - JPA Queries (JPQL / Criteria)

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users familiar with SQL should find JPQL very easy to learn and use. This chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA
Forum
2

Criteria Query results in a NoResultException instead of returning object

._NoResultException: No matching results for a unique query at org.jboss.seam.security.IdentityImpl.authenticate(IdentityImpl.java:304) at org.jboss.seam.security.IdentityImpl.login(IdentityImpl.java:223) at org.jboss.seam.security.org$jboss$weld$bean-WEB-INF$lib$seam-security-impl-ManagedBean-class_org
Forum
2

Memory leak

when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit ... overtime until OutOfMemoryException is thrown on JBoss server. We use JBoss 7.1.1. and latest
Forum
2

CriteriaQuery using isNotNull with other conditions results in InternalException

.InternalException at org.jboss.seam.security.IdentityImpl.authenticate(IdentityImpl.java:304) at org.jboss.seam.security.IdentityImpl.login(IdentityImpl.java:223) at org.jboss.seam.security.org$jboss$weld$bean-WEB-INF$lib$seam-security-impl-ManagedBean-class_org$jboss$seam$security$IdentityImpl
Forum
1

Null enums and IS (NOT) NULL: NullPointerException

:606) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:73) at org.jboss.weld.injection.producer