1. ManyToOne association is not fetched from cache? forum.hibernate.orgI wanted to introduce caching in my enterprise app, so I configured everything and made simple unit test to check if it works. And it did work, log file proved everything, I saw entities being cached and later picked up from cache. This was a unit test and hibernate was configured with JPA RESOURCE_LOCAL DS. (i think this may be important) ... |
2. Query Cache misses and @Inheritance forum.hibernate.org |
3. Hibern8IDE caching mapping file? forum.hibernate.orgAuthor Message brian_wainwright Post subject: Hibern8IDE caching mapping file? Posted: Fri Apr 02, 2004 4:05 pm Beginner Joined: Mon Dec 29, 2003 12:49 pm Posts: 41 Location: Boston, MA Hey all, Does Hibern8IDE store/cache a copy of the hbm.xml file anywhere? I'm trying to us it with an update hmb.xml file, but I get a ClassNotFoundException because its apparently ... |
4. Caching Maps or Sets: deletions and inserts/no cache expire? forum.hibernate.orgNewbie Joined: Thu Sep 16, 2004 7:37 am Posts: 2 Hi, we've encountered a problem with caching and we're not sure if the behaviour is wanted or not. We use EHCache (version 0.7 and tried also 0.9) and also changed the Hibernate release from 2.1.3 to 2.1.6 but had the same effects. These are as follows: we use second level caching ... |
5. Caching not mapped members of persistent objects forum.hibernate.orgHibernate version: 2.1.6 Name and version of the database you are using: Sybase ASA ver 9 Hi I have a general question I'm using EhCache for some of mine persistent objects and it works just fine. For example I have an object Node, having members which part of them are mapped and the others are not. I'd like to see changes ... |
6. Two Mappings on one Table (one without cache, one read-only) forum.hibernate.orgList result = session.find( "select o from LightObject as o left join o.entries as oe WHERE oe.someInformation is not null" ); for( Iterator it = result.iterator(); it.hasNext(); ) { LightObject lo = (LightObject it.next(); Object ob = ObjectDAO.getInstance().load( lo.getId() ); ob.setSomeFlag( 1 ); ObjectDAO.getInstance().saveOrUpdate( order ); } |
7. class inheritance and cache issue forum.hibernate.org |
8. Collection cache does not update when a child is inserted forum.hibernate.orgI have a table (Merchant) which has a set of Credentials, containing the username/password combinations that are allowed to access that merchant. I have a Merchant object that has been persisted to the database, and I want to create a credential object that relates to that merchant. I create the credential and call credential.saveOrUpdate(). This saves the row to the database, ... |
9. Inheritance and caching forum.hibernate.orgHere is the class hierarchy I have: Person -superClassOf-> StaffMember -superClassOf-> VIP What's happening is the same person is a StaffMember and VIP. So when I try and load them both into memory, Hibernate seems to try and cast a StaffMember to a VIP (an vice versa) depending on which is loaded first. I know that this may not be the ... |
10. Is map caching supported? Please help forum.hibernate.org |
11. L2 Cache Not Caching Non-mapped Properties? forum.hibernate.orgHibernate version: 3.1.2 Does the L2 cache hold the values of extended properties that are not mapped to the database by hibernate? For example, this POJO: Code: public class Account implements java.io.Serializable { //Mapped to database via hibernate private int accountid; private int name; ... |
12. Mapping data to be cached but not persisted forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.0.5 Name and version of the database you are using:DB2 8 Hello, I want to associate clases to hibernate entities as properties , or associations that i dont want to be persistent but i want to be cached by second level cache. I want to do that to no ... |
13. How to configure caching for parent child environments forum.hibernate.orgIn my environment we have parent object and child objects extends the parent. I want to enable caching for these objects. How can i set up. In single object environment is working correctly. But in case of inherited objects, If i set the |
14. Caching problems while using one-to-one mapping forum.hibernate.orgHibernate version: 3.1.3 AND Ehcahe 1.2 Name and version of the database you are using: MS SQL Server 2000 I have a problem with one-to-one mapping. The way I use one-to-one mapping is by using a one-to-one on the parent side and a many-to-one reference on the child side. The problem I face is that while caching the parent entity, the ... |
15. Hibernate 3.2.4 Mapping Problem (with cache enabled) forum.hibernate.orgBeginner Joined: Fri Apr 22, 2005 5:58 pm Posts: 26 I have an app that has been running without a 2nd level cache for a couple years... so I am pretty familiar with the Hibernate technology. I am going through the steps of upgrading from 3.0.5 to 3.2.4, and at the same time I am introducing some cacheing. I have everything ... |
16. Caching issues with Map properties forum.hibernate.org |
17. Caching dynamic-maps in Hibernate forum.hibernate.org |
18. Parent/Child relationship delete with cached children forum.hibernate.orgclass Parent { @OneToMany(mappedBy = "parent", fetch = FetchType.LAZY) @Cascade({org.hibernate.annotations.CascadeType.DELETE_ORPHAN}) @Cache(usage = CacheConcurrencyStrategy.READ_WRITE, region = "com.foo.DefaultCollectionCache") protected Set |