1. Ignore Hibernate @Where annotation stackoverflow.comI have an Entity which has an association to another Entity annotated with @Where, like so
|
2. Mapping @OneToOne with @Where clause stackoverflow.comI am trying to map an entity as following
I can assure that the data ... |
3. Hibernate @OneToOne mapping with a @Where clause stackoverflow.comWill this work -
This is what I am trying to do - get the record from ... |
4. HIbernate - @Where equivalent in XML configuration for Restricting Collections stackoverflow.comI would like to use the functionality that is provided by @Where to restrict collections only to the items that have status ACTIVE. However, I cannot use annotations only xml. Therefore I ... |
5. How to use @Where in JPA Hibernate stackoverflow.comSearched for a few hours, but I'm stuck in a my learning curve for PlayFramework with JPA. I'm building a sample website where posts can be made. But these posts can ... |
6. Hibernate - class level @Where annotation is not enforced on collections of that class? stackoverflow.comI have annotated a Hibernate entity with a @Where attribute at the class level. This restricts which entities are loaded when I query it directly, but it does not seem to be ... |
7. Hibernate Filter and @Where does not sufficient with entit... seamframework.org |
8. how to avoid @Where annotataion clause? forum.hibernate.org |
9. dynamic @where clause filter forum.hibernate.orgHello, I would like to know if it is possible to configure dynamic @where clauses with hibernate anotations. Let's say I have a relationship between two classes - company (parent) and invoces (child). If have a Annotation declaration like this (pseudo code). @OneToMany @JoinColumn (name = "company_id") @Where(clause="invoice_month=:month") private Set invoices = new HashSet(); public function getInvoces(Date date) { return invoices; ... |
10. @Where and true/false value forum.hibernate.org |
11. @Where annotation seems not working at Entity level forum.hibernate.org |
12. Issue with Entity using the @Where clause forum.hibernate.orgtable VALUES_HISTORY -------------------------------------------------------------------------- | Functional_Key | Valid_from | valid_to | data_one | ... -------------------------------------------------------------------------- | FKONE | 2007-01-01 | 2007-07-12 | XXXXX | ... | FKONE | 2007-07-13 | 2099-12-31 | XXXXX | ... | ... |
13. How can I set parameter for WHERE clause defined by @Where forum.hibernate.org |
14. @where and JPA forum.hibernate.org |
15. Do @Where and @ManyToOne work together? forum.hibernate.org |
16. @Where clause on collection ignored when @Cache used forum.hibernate.orgHibernate version: Annotations 3.4.0.GA, core-3.3.1.GA I've discovered that if I have a collection as such: private List |
17. @Filter vs @Where forum.hibernate.orgCorrect me if I am wrong. I gather @Where can be used at class level for a permanent where for all fetches. I mean something along the lines of @Entity @Where(condition = "not expiryDate is null" public class Item { @Id @Column Integer id; @Column(name = "EXPIRY_DATE") Date expiryDate } @Filter can be used at field or method level to filter ... |
18. @Where clause is triggering an ambiguous column error forum.hibernate.orgHas anyone seen this or does anyone know away around this other than changing the column name to be unique for each table? We're using Hibernate Core 3.3.1GA, Annotations 3.4.0GA, and PostgreSQL 8.3. I've created a jira issue for the problem as well ( http://opensource.atlassian.com/project ... se/ANN-837 ). Thanks! The following annotations are being used to simulate a soft delete strategy: ... |