Log in to follow, share, and participate in this community.
Thread Configuring one-to-one relation with shared key in CMP entity beans
Configuring one-to-one relation with shared key in CMP entity beansHi, 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...
Thread getting the hibernate tool to work with the ant task
getting the hibernate tool to work with the ant taskHi, 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...
Hibernate 4 multi join column annotationHi, 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 ...
JBOSS 6.1 final: Entity Beans not mappedWe have migrated from JBOSS4.2 to JBOSS6.1 final. Following is our ear structure my_application1.ear |-------------my_application_common_bea...
Thread JPA @Column annotation does not work in JBoss5.x, MySQL [my
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...
Dynamic data sources with EntityManagerI 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...
Jboss Prepared Statement CacheAn 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 ...
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...
cannot instatiate abstract classHello, 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...
cannot instatiate abstract classHello, 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...
Multi-Datasource HibernateI'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 ...
Thread SequenceGenerator issue within JPA/Hibernate3 strategy=AUTO?
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...
Fix for org.jboss.util.file.ArchiveBrowserI'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 ...
Thread Error when using TreeCacheProvider in JBoss 5
Error when using TreeCacheProvider in JBoss 5Hi 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...
How to dynamically configure a datasourceHi, 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 ...
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
Thread Entity - how dynamically change mapped table database schema
Entity - how dynamically change mapped table database schemaI 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...