Log in to follow, share, and participate in this community.
Thread Temporal reasoning with external persistence not working
Temporal reasoning with external persistence not workingI am trying to use an external storage for loading and persisting objects. But when I try a set a temporal reasoning rule it start to fail. The rule, test code and exception are given below. Please help ...
Thread Testing persistence Resource Local in Junit in JBoss 6
Testing persistence Resource Local in Junit in JBoss 6Hi all, I would like to run some Junit tests in my project in JBoss 6 with my Resouce Local Persistence Unit. {code:xml} ... <persistence-unit name="db-test" transaction-type="RESOURCE_LOCAL"> ...
HQLToken cannot be cast to Antrl.TokenHello, I want to deploy an application (Jaxws with Ejb3 + JPA) a .war file to JBOSS 6.0.0Final. But I got this error exception when the deployment is about to finish: [code] 13:16:02,8...
Help With InheritanceI am triying to define a table structure with the following logic. If i have a DataType By example Person, a person can be one of 3 types of persons he can be a costumer or a material supplier. the ...
Thread How to get SessionFactory from EntityManagerFactory
How to get SessionFactory from EntityManagerFactoryI need to create a StatelessSession(ie. no first level cache) from the SessionFactory. how do I get this from the EntityManagerFactory in hibernate. Is there a hibernate calll I can make and pass in the En...
Thread "Instance per Transaction Policy" and Commit Option A
"Instance per Transaction Policy" and Commit Option AHi, On a lot of places I read: The JBoss developers are currently exploring ways to allow commit option A as well (which would allow the use of caching for this option). Is it possible to use c...
How to let user add properties to classWe have a jsf web application using Hibernate running on JBoss. We have a class Product that defines name, model, and price. public class Product { name, model, price } Product can be clothes, car,...
Transaction is not activeHi, When I have a long process (a few minutes) and then perform a database operation. I have the following exception: ERROR 21 Mar 2006 15:50:54,910 util.EJBHomeFactory - org.jboss.util.NestedSQLException: Transactio...
EntityBean Error - Injection TargetHello Community, I have got a little problem with my j2ee application. I try to deploy it and i my jboss answers this exception: Deployment "vfszip:/D:/jboss-5.1.0.GA/server/default/deploy/Accoun...
1 datasource, 1 persistence unit, 2 war'sHi. I've got problem with JBoss 5 AS. I am trying to deploy two apps. Jbpm-console and my own application. What I am trying to achieve is to make those two web apps to be using one datasource, but I don't know how to ...
EntityManager not injected and nullpointerHello I have a simple Ejb application consisting of 3 entities and 3 stateless SB, web tier is based on a jsp page which accesses the DB making some simple operations. The application has been deployed ...
JPA + JBoss = java.lang.ClassCastExceptionDear experts, I've developed a web application that uses JPA provided by Hibernate. It is deployed to Tomcat 6 and everything work perfectly but now I need to migrate to JBoss. While deploying to JBoss I get ...
DEPLOYMENTS MISSING DEPENDENCIESI am completely new to JBoss, JavaEE projects and databases as whole. I am using JBoss AS 5.1.0 GA and I have made a bare-bones entity in my project with NetBeans just to see if I can even get it deployed properly. I ...
Thread Persistence Unit and multiple ejb jars in JBOSS 5.1
Persistence Unit and multiple ejb jars in JBOSS 5.1Hello, Currently we have a JBOSS 4.3 application with two ejb jars:dbEJB3.jar and messagingEJB3.jar. The first one is responsible for database persistence and has persistence.xml under META-INF. We have the persisten...