About JBoss AS

151-160 of 200Refresh
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
Issue
1

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) at org.jboss.weld.util
Forum
1

Externalising persistence.xml properties in Glassfish?

with maven and file copying to get around it but so far it hasn't been a good solution for me as I have many ... multi-environment (dev/test/prod), multi-module deployments with ObjectDB as the datastore either with Glassfish/JBoss and having environment specific datastore properties being build independent? I
JDO Doc
1

javax.jdo.spi.StateManager

, this method returns the identity as of the beginning of the transaction. Parameters: pc - the calling ... the current transaction, this method returns the current identity as changed in the transaction ... transient instances made transactional as a result of being the target of a makeTransactional method
Manual
1

Server Configuration

to the database (as explained in the JPA Overview section in chapter 3). The max attribute specifies ... prefix, if specified (as demonstrated above), represents the ObjectDB home directory. The data path
Tutorial
1

Step 2: Define a JPA Entity Class

) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package name - use exactly that case sensitive package name. Click Finish