Bug « Field « JPA Q&A





1. HQL Bug and nullable fields    stackoverflow.com

Why does this query NOT work

FROM WorkflowConfiguration
WHERE ((saReplacement IS NOT NULL) AND (:currentTime >= saReplacement.start) AND (saReplacement.end >= :currentTime)) OR
            ...

2. I have a feeling that adding fields marked with @Transient annotation to entity is very bug-prone. Am I right?    stackoverflow.com

I have some philosophical intuitive feeling that adding fields which doesn't mapped to the DB corrupts entity classes and is a wrong way of solving problems. But are there any concrete situations ...

3. Bug?: Field name "Category" is not possible in Hib    forum.hibernate.org

I have a small Table called Table_LL_Category with two fields: Category_ID and Category (name of category). With Hibernate 2 and Spring 1.0 all worked find, but when I upraded to Hibernate 3 and Spring 1.2, the category (String getCategory()) always contained the Id (field Category_ID) and not the field Category. Hibernate did not even select the field category: Code: Hibernate: select ...

4. PersistentClass.getProperty(field) bug ?    forum.hibernate.org

5. some Bug In hibernate3's date field to oracle!!!!!    forum.hibernate.org

/** * Return the value of the YHBGABTIME column. * @return java.util.Date */ public java.sql.Timestamp getYhbgabtime() { return this.yhbgabtime; } ...

6. [BUG?] Interpretation Criteria Error with a field named ID    forum.hibernate.org

Hello, I have an error when I use a criteria with a field named id (witch is not the primary key) I think my error is to name a simple field id and the primary key dbId. So, when I use a criteria on the field id, Hibernate interprets this like the primary key and tries to cast the value id ...

7. HIBERNATE:clob field bug!!!! (oracle 10g )    forum.hibernate.org

org.hibernate.Session session = org.trundle.cms.db.HibernateUtil.getNewSession(); org.hibernate.Transaction t = session.beginTransaction(); org.trundle.cms.po.Clob po = new org.trundle.cms.po.Clob(); po.setClob(MyExample.readFile());[b][color=blue]//file length is 1115 byte[/color][/b] session.save(po); ...