operation « Insert « JPA Q&A





1. insert- update operation in hibernate    coderanch.com

hi all, I'm novice to the hibernate world...i've a simple application wherein i've

2. (Hibernate operation: could not insert:    coderanch.com

Hi, I have two tables with bi-directional association between the two. The hbm.xml files, DAOs, model classes and interfaces are all generated by middlegen. I'm constructing the objects of these generated model classes using Spring's ApplicationContext. The child object has a reference to the parent object in the spring config xml file. I try to insert an object of type child ...

3. Problem trying to perform an insert operation in Postgresql with JPA(Hibernate)    coderanch.com

Hi, My Application is using Hibernate as JPA implementation provider. When I try to persist a bean using the Entity Manager, I'm having a JDBC ERROR saying that the entity doesn't exist in postgresql. Due I have show_sql on true I saw the following query: "insert into my_entity.....", so I went to pgAdmin and tried to run the same query and ...

4. Hibernate operation: could not insert:    forum.hibernate.org

I am able to update and delete records from this table, but I am not able to insert a new record into the table. I am using Hibernate 3.2 with an Oracle 9i DB. This specific table has a sequence on the primary key. I am also mapping BigInteger with the Oracle type of Number. This is the error I get: ...

5. Repeated insert operation gets progressively slower    forum.hibernate.org

Newbie Joined: Sat Jan 06, 2007 3:46 pm Posts: 11 Hibernate version: 3.2.6.ga Mapping documents: Done with annotations. Code between sessionFactory.openSession() and session.close(): Name and version of the database you are using: MySQL 5.1.18-beta I have what I think is a fairly basic Hibernate (w/Annotations)/Struts/Spring webapp running on Resin. I use the OpenSessionInViewFilter provided by Spring. I have two entities, a ...