Initially in our project we were using spring 3 + hibernate 3 Recently it has been decided to upgrade 3rd party jars, as part of that spring upgraded ...
Initially in our project we were using spring 3 + hibernate 3 Recently it has been decided to upgrade 3rd party jars, as part of that spring upgraded ...
In JPA 1.0 (TopLink Essentials) I have a native named query: where c1 in Oracle DB is number(5, 0), and c2 is number(6, 0). When following: Obje ...
I'm trying to persist a simple Map of attributes as a key value pair for one of my persisted objects. I found a good guide on this matter here. But it ...
Using: JPA 1 från Java EE 5: My problem is as follows: I like to persist an Entity object containing a collection of numbers (Integer[]) with max len ...
I'm relatively new to XA transactions. I've been struggling a few days to make a simple XA transaction work to no avail. First, I tried to use two d ...
I am trying to deploy the product in JBOSS AS 5.1.0 GA using eclipse in Linux. Previously it was executed successfully on tomcat 6. While deploying I ...
We've been using JPA 1.0 for some time now. We want to move ahead to JPA 2.0. How can this be done? ...
I seem to have problems with mapping a List in Hibernate. In our project there is a class Profile, it contains a List<String>. Is List<Strin ...
I have 2 questions: suppose we have one entity named class and another called student. each class has onetomany students. q1: i get the exception t ...
I have 2 questions: suppose we have one entity named class and another called student. each class has onetomany students. q1: i get the exception ...
I have a Table with name CNTNR and I made its primary key as generated with identity but its not working for me in JPA.Giving sql error-503 which sa ...
Good day, I have this weird problem: This following statement works Query q = em.createQuery("SELECT m from AccountClass as m"); whereas this fol ...
I have a problem with mapping a legacy database with JPA 1.0. The database is stored denormalized for data-mining purposes. I condensed it to a simple ...
Currently we're creating a single EntityManager per request in our web app. We're wanting to create a transaction at the beginning of the request and ...
We are planning to migrate to Java EE 5 from j2EE 1.4. All of our ORM needs were fulfilled well by Hibernate 2.1.0 s0 far. Since we are moving to Java ...
I am getting following exception while I try to execute simple JPA 1.0 code. What may be the cause? ...
I have a problem with a simple @OneToMany mapping between a parent and a child entity. All works well, only that child records are not deleted when I ...