From 20dd9ccc5f7a88b5b99b889e19b84776ffcb000d Mon Sep 17 00:00:00 2001 From: Hardy Ferentschik Date: Thu, 30 Oct 2008 12:36:16 +0000 Subject: [PATCH] * Moved orm_1_0.xsd into the src/main/resources so that it properly get copied at build time * Enabled query cache in hibernate.properties git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15452 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../main/{java => resources}/org/hibernate/ejb/orm_1_0.xsd | 0 annotations/src/test/resources/hibernate.properties | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename annotations/src/main/{java => resources}/org/hibernate/ejb/orm_1_0.xsd (100%) diff --git a/annotations/src/main/java/org/hibernate/ejb/orm_1_0.xsd b/annotations/src/main/resources/org/hibernate/ejb/orm_1_0.xsd similarity index 100% rename from annotations/src/main/java/org/hibernate/ejb/orm_1_0.xsd rename to annotations/src/main/resources/org/hibernate/ejb/orm_1_0.xsd diff --git a/annotations/src/test/resources/hibernate.properties b/annotations/src/test/resources/hibernate.properties index e65a2fca11..e5cae5f973 100644 --- a/annotations/src/test/resources/hibernate.properties +++ b/annotations/src/test/resources/hibernate.properties @@ -36,4 +36,6 @@ hibernate.format_sql true hibernate.max_fetch_depth 5 hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file +hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider + +hibernate.cache.use_query_cache true