Log in to follow, share, and participate in this community.
Thread DEPLOYMENTS MISSING DEPENDENCIES
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...
Thread jboss 6 jpa datasource jndi not bound error
jboss 6 jpa datasource jndi not bound errorHi, I'm having trouble with JBoss 6 & JPA. I have a persistence.xml like this : <?xml version="1.0" encoding="UTF-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence"> ...
references an unknown entityHi I have 2 ear deployments and the 2nd is dependent on the first. I have 2 persistence.xml files where i decribe the persistence unit of each one. They use the same datasource(database). In the 2nd ear i have enti...
Thread servlet EntityManager Injection and thread-safe
servlet EntityManager Injection and thread-safeHi, There are may discussions about how to inject an EntityManger into servlet and thread-safe issue. After I go through some the discussions, I get my own conclusion, there are three manners to inject ...
Annotation error with Many-to-Many.Hello, There is a problem in my HIbernate/JPA annotation here. In Eclipse, it highlighted the "mappedBy = "productsForRelatedProductId"" and mappedBy = "productsForProductId" both has the following error: ...
Catalog "xxx" cannot be resolved for tableHello, Dose anyone know how to resolve the following problem: Description Resource Path Location Type Catalog "houseware" cannot...
JPQL select relation traversalThe following reference: 10.1.2. Relation Traversal http://download.oracle.com/docs/cd/E11035_01/kodo41/full/html/ejb3_overview_query.html states that SELECT x FROM Magazine x, IN(x.artic...
Generate an auto idWell, my problem seams to be easy to solve but i can´t fix it. I´m a newbie on Hibernate programming. I´m in a Seam&Hibernate project and I need to generate an automatic value for an id on my tab...
What does the sync-on-commit-only do.On some container types there is a "sync-on-commit-only" option that is not documented and which is always set to false in the container configurations in standardjboss.xml). What does it do exactly. When do I need to...
Thread Jndi name of persistence unit (persistence.xml)
Jndi name of persistence unit (persistence.xml)I am using Jboss EJB3/JPA integration to get Hibernate SessionFactory object defined in persistence.xml. I am able to inject SessionFactory to EJB by annotation @PersistenceUnit. But I have to use SessionFactory in on...
Thread How to ORDER BY case-insensitively using jboss-ql?
How to ORDER BY case-insensitively using jboss-ql?I'd like to be able to find entities in a case-insensitive order. In normal JDBC I would do something like select * from Employee order by upper(Employee.FirstName) so in jboss-ql I tried this: SELECT DISTINCT OBJEC...
Injection of EntityManager not workingHello. I have a EJB project that contains a web service, a few slsb, and some entity classes. I can deploy this EJB project as a JAR file on to jBoss 6.0M2 with out issue and can connect to the web service wit...
Thread JPA and creation of CLOBS in Oracle limited to 4000 bytes
JPA and creation of CLOBS in Oracle limited to 4000 bytesHi, I use a JBoss5.1.0_GA appserver and I have a JPA module which interacts with an Oracle database using oracle client 10.2.0. I use persistence classes which are entity beans. In some classes I have ...
Thread Upgrading to AS 5.1 and entity manager factory issue
Upgrading to AS 5.1 and entity manager factory issueHi, We are upgrading to JBoss AS 5.1 from 4.x and having issue with entity manager factory not bound. When Spring starts up we need to initialize a class (CacheInit) which requires the persistence uni...
Thread Dynamic Datasource invocation at runtime in JSF-EJB3-MySql a
Dynamic Datasource invocation at runtime in JSF-EJB3-MySql aThis issue is regarding Dynamic Datasource invocation at runtime in JSF-EJB3-MySql application on Eclipse3.4.1-JBoss5.0.0 plateform. I have created a sample JSF-EJB3-MySql application on JBoss5.0.0 AS. Application wo...