Log in to follow, share, and participate in this community.
Thread Multiple datasource/persistence-unit/EntityManagers in Seam app
Multiple datasource/persistence-unit/EntityManagers in Seam appHello - I'm cringing slightly to post this because the issue has come up before. I've read at least half a dozen threads on this and haven't found a solution. This is jboss-as 5.0.0. I'm attempting to wr...
Thread Configuring AFTER_TRANSACTION release mode with JTA
Configuring AFTER_TRANSACTION release mode with JTAHi I'm trying to improve the latency in one of our services (RHEL5, JBoss 4.2.3, Oracle). Normal response times are inside 60-70ms range, and I'm hopping we can do better. One of the things I like ...
Arjuna TX Manager Class Cast ExceptionHi, On JBoss 4.2.2GA, I get the following exception: java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager
at org.hibernate.tra...
converting from kodo to hibernate?This may be a lost cause, but does anyone know of perhaps a "cheat sheet" of things to consider if you want to convert from kodo (weblogic) to hibernate (jboss) as a JPA provider? Thanks much -
Thread acessing the database out of the Stateless Session Bean
acessing the database out of the Stateless Session BeanHi.. everybody.. I'm new on EJB with JBOSS and JPA. I'm trying to access a database using EntityManagerFactory emf = Persistence.createEntityManagerFactory("test"); EntityManager em = emf.createEntit...
Thread Fail on deploy project with persistence unit
Fail on deploy project with persistence unitWhen i try to deploy my project i have this error: 16:48:58,194 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' 16:49:01,447 INFO [TomcatDeployment] deploy, ctxPath...
HSQLDB 2.0Hi, I am writing just let you know, that I have tried new HSQLDB 2.0 with JBoss 5.1.0GA and it runs (almost) without any problem. My application access the DB through JPA/Hibernate. (See http://xmedeko.blogspo...
table prefixesHello. i need some help with implementing the naming-strategy of hibernate. The problem is, that tables we want to read/write are prefixed with company-dependend names, for example Ubercompany$Customer Mega...
Thread HQL fails after obfuscation, DetachedCriteria OK
HQL fails after obfuscation, DetachedCriteria OKHi, I use JBoss 5.1 that uses Hibernate core 3.3.1 and EntityManager 3.4.0. I tried to use proguard to obfuscate entity class names. For example, @Entity(name="Foo") class Foo --> f @Entity...
Thread Share persistence.xml file between two EJB modules in EAR
Share persistence.xml file between two EJB modules in EARJBoss 6.0.0 M3 Hello, everybody! I have two EJB modules in an EAR module. I would like to know how to share a single persistence.xml file with these two EJB modules. If I replicate the persistence.xml ...
JBoss 5.1 and EclipselinkHello! I'm trying to get a simple web project to work with JBoss 5.1, Eclipselink and JPA. My error is pretty similar to the one in thread http://community.jboss.org/thread/146562, although it doesn't ...
Possible Memory LeakHello All, I'm encountring a strange problem. If I run my application for few dayz, Its memory consumption raised to 79% of the physical memory ( top command) Heap grows to its max...
Multiple persistence-units causes deployment failureI have two persistence units defined in my persistence.xml file (located in META-INF of my project). When I deploy the project .ear file in JBoss 4.2.2 I get the following error: [ServiceController] Prob...
how do i use @version in entity beans?hi to all, i am new to this topic , i am developing an application using jboss seam framework. i need to develop optimistic lock in my application to restrict end user from concurrency updations of entity obj...
JP-QL syntax problem with "distinct"Hi, I am trying to use the following expression: select SUM(distinct c.energy) from... Distinct witihn a SUM clause works in native sql and should work in JP-QL as well as far as I know. But I...
Persistence Units not FoundMy persistence.xml file is located here. earfile.ear/jarFile.jar/META_INF/persistence.xml I have defined persistence units in persistence.xml file see below: <persistence-unit name="LoanAccounting" transa...
EntityManager Factory Not FoundI have encountered following exception while starting JBoss 5.0.1GA 08:26:39,558 INFO [ServiceLocatorProvider] Looking up: java:/LoanAccountingEntityManagerFactory 08:26:39,558 ERROR [ServiceLocatorProvider] Lo...
Thread JPA 2: Are derived identifiers a bad thing?
JPA 2: Are derived identifiers a bad thing?Hello, everybody! I'm migrating a project from JPA 1 to JPA 2 and I want to use derived identifiers, but I heard Gavin King say that he doesn't like them and even called them garbage, but I didn't see any expl...
JPA association with FetchMode.JOINHi, I'm encountering a strange issue that might be due to my own stupidity but I can't figure out why I have a class Order that has a one-to-many association to another class Item. The relationship wo...