Results 1 to 2 of 2
Thread: composite-id and hibernate
- 05-27-2007, 02:02 AM #1
Member
- Join Date
- May 2007
- Posts
- 38
- Rep Power
- 0
composite-id and hibernate
Hello I have the following problem:
I have a composite-id with 4 fields, they belong to a multitable;inside of this fields I have to update two dates
to do this I obtain the entity, then I modify them from facade and I send them again to the service.update..
it returns me this:
R org.hibernate.HibernateException: Unexpected row count: 0 expected: 1
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(N onBatchingBatcher.java:32)
regards
- 05-28-2007, 04:34 AM #2
Member
- Join Date
- May 2007
- Posts
- 39
- Rep Power
- 0
Similar Threads
-
composite-id problem hibernate
By javadev in forum JDBCReplies: 14Last Post: 07-27-2009, 06:30 PM -
composite key Hibernate
By Problem in forum Web FrameworksReplies: 0Last Post: 07-25-2007, 11:13 AM -
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1
By Heather in forum JDBCReplies: 2Last Post: 06-30-2007, 03:01 PM -
Hibernate
By Alan in forum JDBCReplies: 2Last Post: 05-11-2007, 01:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks