1. Index Not Being Updated forum.hibernate.orgHi, I am having trouble trying to figure out why my index is not being updated. so any help would be most appreciated. the code is as follows: Code: @Entity @Name("profile") @Table(name = "PROFILE") public class Profile implements Serializable { @Id public Long getId() { return id; ... |
2. Index out of bounds on second iteration of updates forum.hibernate.orgIf I load an existing object, use that object to create a new transient object, and then modify the loaded object, I seem to be OK for one loop. If I attempt to do this for another iteration, I get an index out of bounds on the update of the second record. Here's a detail of it: 1) Load an existing ... |
3. Indexes not getting updated (I'm sooo close.) forum.hibernate.orgpublic void addContrib2(Contrib inContrib, int pos) throws GSException { if(inContrib == null) { throw new IllegalArgumentException("Null Contribution cannot be added"); } if(inContrib.getActivity() != null) { inContrib.getActivity().getContribs().remove(inContrib); } if (pos < 0) { pos ... |
4. "Parameter index out of bounds" in update using Di forum.hibernate.orgHi, I'm trying to execute a simple update of a subclass entity in a "Table per Class hierarchy" mapping. The SQL Hibernate is creating (and the resulting SQL error) seemed odd enough that it warranted posting. Here's what Tomcat is telling me: Hibernate: insert into Content (shortText, title, author_id, approveDate, approver_id, createDate, editDate, contentStatus, longString, type) values (?, ?, ?, ?, ... |
5. Unable to create index using "update" forum.hibernate.orgHi All, we are using JBoss-4.2.2 .GA that contains hibernate 3.2 jar Postgre SQL 8.2 We are using specification of EJB 3.0 Applying @org.hibernate.annotations.Index (name = " fk", columnNames = "coloum Name of Related table") on relationship object eg:- we have a class department having one-to-many relationship with employees Now Inside Department Class @Entity public class Department { @OneToMany (cascade = ... |
6. Unable to remove from Lucene index forum.hibernate.orgNewbie Joined: Sat May 02, 2009 4:36 am Posts: 3 Versions: Seam 2.1.0.CR1 hibernate-search 3.0.1.GA I have two entities which I want to manually index, viz. Product, and ProductInfo (OneToMany relationship) I get an exception when I index ProductInfo. I'm getting the following exception while running a manual index operation. Quote: org.hibernate.search.SearchException: Unable to remove from Lucene index: class za.co.mymed.model.Product#null at ... |
7. base offset not recognized when saving indexed collectio forum.hibernate.orgHibernate 3.3.1.GA: On fetch, the elements in schedSegMiscInfos are properly ordered, starting at the designated base index of "1" But on parent.saveOrUpdate(), the value assigned to the SEG_MISC_INFO_ORDER field of a newly-appended child element is zero-based. Thus its index value is equal to (not one greater than) that of the formerly last list element. This appears to be a bug. Any ... |