• Configuring one-to-one relation with shared key in CMP entity beans

    Hi,   I am trying to migrate some very old application (EJB 2.0 + CMP entity beans (yikes!)) from weblogic to the last version of JBoss AS which supports CMP (7.x).   I can't figure how to configure a mast...
    Profile Photo
    created by xdury
  • custom CDI @ViewScoped not working anymore in wildfly 8.1; it used to work in 8.0

    First, I am not sure Weld provides CDI like @ViewScoped annotation for jsf yet. The @javax.faces.bean.ViewScoped does not work. So for the past, we have implemented our own @ViewScoped based on Seam3's implementation...
    Profile Photo
    created by yangju
  • getting the hibernate tool to work with the ant task

    Hi,   I have installed the jars for 4.3.5 hibernate.  I also got the hibernate tools via eclipse plugins.  I am getting this exception when trying to create my schema:   java.lang.NoSuchMethodErr...
    Profile Photo
    created by p7eregex
  • Lazy initialization of ArrayList attribute fails (Glassfish to WildFly migration)

    I migrated a JEE war website from GlassFish 4 to JEE. I am using Java Server Faces with CDI Named beans. One of my beans directly calls a dao class method to retrieve Category object. The Category class has some attri...
    Profile Photo
    last modified by pavelpscheidl
  • Hibernate 4 multi join column annotation

    Hi,   I have been vigorously searching for a annotation called 'multijoincolumn' which has been released with hibernate 4 if am not wrong. Am trying to add a third column in "JoinTable" other than traditionally ...
    Profile Photo
    created by kjagadheeswar
  • JBOSS 6.1 final: Entity Beans not mapped

    We have migrated from JBOSS4.2 to JBOSS6.1 final. Following is our ear structure   my_application1.ear             |-------------my_application_common_bea...
    Profile Photo
    last modified by amitsoprna
  • JPA @Column annotation does not work in JBoss5.x, MySQL [my

    @Column atttributes name and length does not work in JBoss5.x here is the code: @Entity public class ColumnAttribsTesting { @Id @GeneratedValue(strategy=GenerationType.AUTO) private Integer id; private Integ...
    Profile Photo
    last modified by harsharuthere
  • Dynamic data sources with EntityManager

    I have an application where the data source it uses is saved in the database. This is because each user can have its own data source. So UserA will have an entry in it's user information table that says to use data s...
    Profile Photo
    last modified by wiberto
  • Jboss Prepared Statement Cache

    An clues about this strange exception of Prepared statement cahce based on LRU algorithm, By increasing the size of the cache will it resolve issue .. Caused by: java.lang.IllegalStateException: Attempt to put a new ...
    Profile Photo
    created by sveerpal
  • Will JBoss 5 be fully standards compliant?

    Hi I have recently had issues with JBoss 4.2.2GA not being fully JPA compliant, specifically: -JBoss not implementing the EJB 3.0 spec correctly so that it makes it very difficult to use another JPA provider like Topl...
    Profile Photo
    created by adrianwilford
  • Work with enum

    How can I map an enum?
    Profile Photo
    created by jflf83
  • cannot instatiate abstract class

    Hello, I have problems when a I try to list the elements of an abstract class. the exceptions is: Caused by: javax.ejb.EJBTransactionRolledbackException: javax.persistence.Persis tenceException: org.hibernate.Instant...
    Profile Photo
    created by jflf83
  • cannot instatiate abstract class

    Hello, I have problems when a I try to list the elements of an abstract class. the exceptions is: Caused by: javax.ejb.EJBTransactionRolledbackException: javax.persistence.Persis import javax.persistence.Entity; impo...
    Profile Photo
    created by jflf83
  • Multi-Datasource Hibernate

    I'm a java developer that hasn't been in the mix for a while, and I've been recently looking at Hibernate together with the Spring framework. Does anybody know if its possible to have multiple datasources while using ...
    Profile Photo
    created by tchaar
  • SequenceGenerator issue within JPA/Hibernate3 strategy=AUTO?

    So after spending some time with Hibernate3 source and debugging our postgres database (8.1.3), it seems that the PostgresDialect class sets its default IdentifierGenerator to a SequenceGenerator (makes sense since Po...
    Profile Photo
    created by asack
  • Fix for org.jboss.util.file.ArchiveBrowser

    I'm not sure that this is the best place to post this, but I ran into the problem when doing JPA stuff, so this is where I came. If it needs to be moved, please do so. The class org.jboss.util.file.ArchiveBrowser in ...
    Profile Photo
    created by bnoll
  • Error when using TreeCacheProvider in JBoss 5

    Hi all, I hit against this error when running EJB3, in JBoss5, running the 'all' configuration, and use TreeCacheProvider provider as caching provider. 17:18:57,277 ERROR [AbstractKernelController] Error installing...
    Profile Photo
    last modified by thejavafreak
  • How to dynamically configure a datasource

    Hi, I have a web application requiring to connect to one of several SQL Server databases. They are all identical in structure; what changes is the IP address, user and password. So far I had configured datasources as ...
    Profile Photo
    last modified by alaiseca
  • JBOSSDO documentation and examples.

    We would like to try JbossDO. We are using JBoss4.x and Java1.5. Please point me to the JBossDO documentation and examples. Thank you so much. Regards, ramki
    Profile Photo
    last modified by ramkir
  • Entity - how dynamically change mapped table database schema

    I have an Oracle database with multiplies oracle schemas. Every oracle schema represent a project. All projects contain tables with same structure but have different data. Now we're using ejb2.1 bmp entity beans to re...
    Profile Photo
    created by kmrol