• DEPLOYMENTS MISSING DEPENDENCIES

    I 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 ...
    Profile Photo
    last modified by nimrob28
  • Persistence Unit and multiple ejb jars in JBOSS 5.1

    Hello, 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...
    Profile Photo
    last modified by thapak
  • jboss 6 jpa datasource jndi not bound error

    Hi,   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">  ...
    Profile Photo
    last modified by prasad.deshpande
  • EAR with WAR accessing a JAR with JPA entities and persistence.xml

    Hi,     I'm struggling with setting my persistence jar running in my web application, and maybe someone can give me a tip on doing this.     I've created a standalone java api package, it is a si...
    Profile Photo
    last modified by zecas
  • references an unknown entity

    Hi 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...
    Profile Photo
    last modified by dimitarn
  • servlet EntityManager Injection and thread-safe

    Hi,   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 ...
    Profile Photo
    last modified by thunder.farmer
  • entityManager is null -- not being injected into my jpa -- please help

    I have hibernate entities integrated with spring.  I have a GenericDaoJpa where I inject the EntityManager.  When I access entityManager for any queries the entityManager is null.  I do not see any erro...
    Profile Photo
    last modified by davestar
  • JBOSS Hibernate Tools with SQL Exporter

    Hello,   Can anyone tell me how to export/generate SQL statement in HIbernate Tools?   Thanks Sam
    Profile Photo
    created by samwun9988
  • 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: ...
    Profile Photo
    last modified by samwun9988
  • Catalog "xxx" cannot be resolved for table

    Hello,   Dose anyone know how to resolve the following problem:   Description    Resource    Path    Location    Type Catalog "houseware" cannot...
    Profile Photo
    last modified by samwun9988
  • JPQL select relation traversal

    The 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...
    Profile Photo
    last modified by quincy.mitchell
  • Generate an auto id

    Well, 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...
    Profile Photo
    last modified by edufer
  • Using enum "fields" in hql

    Hi,   I have this enum :   public enum ValidationState {       /**        * Waiting for validation        */   ...
    Profile Photo
    last modified by newbeewan
  • 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...
    Profile Photo
    last modified by jbosspercy
  • 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...
    Profile Photo
    last modified by kudlaty15
  • 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...
    Profile Photo
    last modified by hakucho
  • Injection of EntityManager not working

    Hello.   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...
    Profile Photo
    last modified by dave.glendenning
  • JPA and creation of CLOBS in Oracle limited to 4000 bytes

    Hi,   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 ...
    Profile Photo
    created by skymic
  • Upgrading to AS 5.1 and entity manager factory issue

    Hi,   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...
    Profile Photo
    last modified by rezaghp
  • Dynamic Datasource invocation at runtime in JSF-EJB3-MySql a

    This 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...
    Profile Photo
    last modified by pragun1