Richard G. Curtis
a1ad33d72a
OPENJPA-1545: Make new instance var transient in BrokerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919491 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 16:54:43 +00:00
Richard G. Curtis
73d4992a2f
OPENJPA-1545: Refactored detach code out of BrokerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 16:32:37 +00:00
Richard G. Curtis
76d184c106
OPENJPA-1545: Adding new faster way to auto detach the entire persistence context. Committing code changes, test, and doc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918643 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 19:20:57 +00:00
Richard G. Curtis
64be0455c3
OPENJPA-1549: Optimize StateManagerImpl.proxyFields(..).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918245 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 23:09:13 +00:00
Richard G. Curtis
a515a71fec
OPENJPA-1548: Refactored ClassMetaData and cached hashCode() to improve performance.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918167 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 20:04:42 +00:00
Michael Dick
06e6582ab8
OPENJPA-1500: Remove WriteBehind variable declarations in OpenJPAConfigImpl
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917803 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 23:46:33 +00:00
Donald Woods
42769bd9d8
OPENJPA-1544 Remove WebSphere version number from org/apache/ee/localizer.properties. Patch contributed by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917572 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 16:24:31 +00:00
Donald Woods
4cb276067a
OPENJPA-1538 Move hard coded text in OpenJPAVersion.java to localizer.properties. Patch contributed by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916757 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:03:25 +00:00
Richard G. Curtis
eca02573ba
OPENJPA-1542: Adding support for openjpa.DataCache Types and ExcludedTypes configuration back into trunk. Also updating TestCacheExclusions. No doc changes required as the user manual is up to date.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916714 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 15:23:26 +00:00
Richard G. Curtis
767f670490
OPENJPA-1539: Allow DataCacheManagerImpl.isCachable(ClassMetaData meta) to cache the cacheability for each given type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916388 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 18:32:35 +00:00
Donald Woods
daae61a6f5
OPENJPA-1535 Inconsistency in exceptions thrown from MetaDataRepository.resolve(). Patch contributed by Hiroki Tateno.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916338 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 16:28:54 +00:00
Richard G. Curtis
be33af366c
OPENJPA-1531: Adding support for a interval style syntax in the openjpa.DataCache.EvictionSchedule property. Added code changes, test case, and doc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916052 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 00:11:33 +00:00
Donald Woods
0befad7051
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods
099d18901e
[maven-release-plugin] prepare release 2.0.0-beta2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Catalina Wei
05e0669c07
OPENJPA-1533: JPA2 select math mix with aggregate reports syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915725 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 08:55:07 +00:00
Albert Lee
fa4b72d7f5
OPENJPA-1498 - Commit contribution by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915439 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:10:18 +00:00
Albert Lee
52e2d92544
Re-factor imports and use of generic in BrokerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@912477 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 04:29:45 +00:00
Donald Woods
e512e15ba0
OPENJPA-1520 Compile for 1.6 and update javadoc links to use 1.6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911682 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 02:52:51 +00:00
Pinaki Poddar
2f3da18be0
Throw informative error messages on bad enum field
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:11:36 +00:00
Richard G. Curtis
3cd8c4c6f0
OPENJPA-1517: Reduce synchronization in LifecycleEventManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911213 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 23:00:50 +00:00
Richard G. Curtis
d037890f74
OPENJPA-1515: Make CacheStatistics configurable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910667 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 20:00:38 +00:00
Pinaki Poddar
d82add658d
OPENJPA-1503:Metamodel reflection with security manager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910617 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:46:00 +00:00
Milosz Tylenda
e70d8bf5f2
Added GlassFish to javadoc and moved its JNDI location up in the list - see https://jira.jboss.org/jira/browse/JBCACHE-1354
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909792 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 11:09:57 +00:00
Patrick Linskey
23341c871c
OPENJPA-1509. In-mem bulk update + enums.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909669 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 00:10:11 +00:00
Patrick Linskey
e603bdc5c8
OPENJPA-1507. NPE fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909515 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 17:38:45 +00:00
Pinaki Poddar
feff96b4c4
OPENJPA-1334: Emulate 1.2 versions IncludedTypes/ExcludedTypes functionality via new distribution policy mechanics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909091 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 17:37:53 +00:00
Pinaki Poddar
fb004027ad
OPENJPA-1334: Emulate 1.2 versions IncludedTypes/ExcludedTypes functionality via new distribution policy mechanics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 16:18:46 +00:00
Donald Woods
dc61fa0680
OPENJPA-1334 add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908662 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 21:58:53 +00:00
Fay Wang
4a987190d9
OPENJPA-1460: resolve visibility scope of orm.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:23:59 +00:00
Pinaki Poddar
92f162bd4b
OPENJPA-1334: Separate distribution policy from DataCacheManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908325 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:32:41 +00:00
Pinaki Poddar
6fa32719b9
OPENJPA-1334: Separate distribution policy from DataCacheManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908322 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:26:31 +00:00
Pinaki Poddar
ad3cf2c682
OPENJPA-1503: Use AccessController to load metamodel class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908225 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 21:13:44 +00:00
Fay Wang
31265de187
OPENJPA-1496: fix temporal parameter processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908150 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:36:10 +00:00
Michael Dick
69c5eb11ff
OPENJPA-1498. Minor message file improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Michael Dick
a720a9c6f6
OPENJPA-1482:
...
Prevent NoSuchMethodError when calling setVersion.
Submitted By : Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905835 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 23:23:57 +00:00
Fay Wang
4197457c85
OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Donald Woods
9c90ca5506
merged in r902968 from beta branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Fay Wang
c15f473949
OPENJPA-1460: back out the previous change until the visibility scope of orm.xml is fully agreed upon.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902291 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:11:39 +00:00
Michael Dick
c246a7a4b1
OPENJPA-1150:
...
Removing incomplete WriteBehind implementation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902113 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 15:20:03 +00:00
Richard G. Curtis
55d7af6e23
OPENJPA-1475: Exclude calling syncVersion() if an Entity doesn't have a version field. Patch submitted by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901901 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 22:39:19 +00:00
Kevin W. Sutter
184cb41619
OPENJPA-1476. Turning off the QueryCache by default. The new default value for this property will be "false". Also, disabling the Write Behind testcases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:48:31 +00:00
Pinaki Poddar
b94d23268f
OPENJPA-1473: Replace null object with non-null default for aggregate expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901454 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:16:03 +00:00
Donald Woods
00c44aba43
OPENJPA-1460 Undo import of a spec api added in r900873, as openjpa-kernel does not have access to the spec api and should not by design.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900931 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 19:48:39 +00:00
Albert Lee
968634a738
OPENJPA-1470 Java 2 Security permission violation on getClassLoader caused JEE container unable to enhance entities on the fly.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900905 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:53:16 +00:00
Pinaki Poddar
3bff964503
OPENJPA-1460: Rename the setter method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900890 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:32:45 +00:00
Pinaki Poddar
1049796100
OPENJPA-1460: Rename the setter method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900873 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:10:30 +00:00
Pinaki Poddar
424da6212a
correct property name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900821 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 15:43:01 +00:00
Richard G. Curtis
f877a44a63
OPENJPA-1470: Change INFO messages in PCEnhancer to TRACE messages.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 22:24:44 +00:00
Richard G. Curtis
a91f6d553e
OPENJPA-1467: Revert ConcurrentDataCache.removeAllInternal(...) to prior revision (5529850).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900521 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 19:29:33 +00:00
Fay Wang
36e31ae445
OPENJPA-1460: resolve visibility scope of orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900245 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 23:41:45 +00:00
Richard G. Curtis
5a8c5de491
OPENJPA-250: Missed a line in the previous merge and remove a test from being excluded in pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899732 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:49:46 +00:00
Pinaki Poddar
ab032d8f73
Add constructor for more flexible signature
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899532 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:26:43 +00:00
Pinaki Poddar
342c27dfd5
Add Glassfish JNDI location
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899531 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:26:11 +00:00
Pinaki Poddar
db20d8a011
OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar
b5a412fd42
OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Fay Wang
2331d20522
OPENJPA-1458: fix named parameter problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898936 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:49:01 +00:00
Donald Woods
55bf86a4c8
OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Richard G. Curtis
0efea474f2
OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Pinaki Poddar
5cef9cff17
reduce performance cost of isCacheable().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897308 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 19:40:10 +00:00
Catalina Wei
a0e001e40a
OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893642 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 22:33:57 +00:00
Pinaki Poddar
fded22b2e0
OPENJPA-1445: Support enums as External values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:06:03 +00:00
Pinaki Poddar
df5a403700
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:35:07 +00:00
Pinaki Poddar
29e919f2cc
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:33:28 +00:00
Pinaki Poddar
3dee418d36
OPENJPA-1444: Use special result list for distinct query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Richard G. Curtis
35377aace9
OPENJPA-1441: Set pcVersionInit FieldMetaData to transient in PCEnhancer.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:27:19 +00:00
Fay Wang
5d9f08e728
OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
Michael Dick
40f017a2e9
OPENJPA-714:
...
Check l1 cache when looking for managed instances when cascading.
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:17:43 +00:00
Pinaki Poddar
f5c216eb19
OPENJPA-1050: Restore existing method signature but deprecate them.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890859 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:16:48 +00:00
Pinaki Poddar
fd5c79aabc
OPENJPA-1050: Restore existing method signature but deprecate them.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890857 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:15:21 +00:00
Donald Woods
60cae2ff51
OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Pinaki Poddar
b119e2b959
OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889801 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:33:32 +00:00
Pinaki Poddar
4715cc737b
OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00
Pinaki Poddar
43c55d0539
OPENJPA-1424: Fix. Do not lookup extraFieldData with another mapping's field
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889799 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:28:57 +00:00
Pinaki Poddar
77c3242465
OPENJPA-1334: Assign default named cache to PCData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889449 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 22:43:45 +00:00
Donald Woods
45bc22baa3
OPENJPA-1348 Embeddable data not persisted when using WriteBehind cache flush operation. Patch from Fay Wang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888497 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:54:12 +00:00
Richard G. Curtis
c1e0b6bd1c
OPENJPA-1414: Performance improvements for detach processing. Patch contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888481 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:53:56 +00:00
Pinaki Poddar
70518a3685
Print class loader when metadata processing fails
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:38:20 +00:00
Pinaki Poddar
89fe979f49
Relax metadata parsing flow
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888475 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:37:19 +00:00
Pinaki Poddar
6896c31d60
Use generic type argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888473 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:36:19 +00:00
Richard G. Curtis
d17c70965d
OPENJPA-1415: Suppress batched OLE messages.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888453 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:03:56 +00:00
Pinaki Poddar
7cebf2ed25
Use generic type for Result
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886290 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:44:08 +00:00
Pinaki Poddar
1aaa1aa086
OPENJPA-1409: Preserve type for currentDate/Time expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar
bc7da97658
Print class loader when metadata processing fails.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885955 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:46:29 +00:00
Richard G. Curtis
2c00f18f0c
OPENJPA-1400: Fix PersistenceCapable.pcIsDetached() when using no statemanager and version is zero.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885872 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:13:01 +00:00
Donald Woods
05226837fd
add missing or incorrect license headers found by rat plugin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:08:15 +00:00
Albert Lee
cbbe382ecd
OPENJPA-1402 - Improve concurrency by not locking relation field whenever appropriate for mixed lock manager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884744 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 05:11:21 +00:00
Pinaki Poddar
9438918465
Cut down processing cost for identical type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883895 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:05:26 +00:00
Fay Wang
c3a856faa0
OPENJPA-1396: fix metadata-complete problem so that it will override @Transient annotation in the entity class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882172 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:12:36 +00:00
Catalina Wei
ee30b010dc
OPENJPA-1388 JPQL named parameter using a reserved word (:vlaue) resulting in ArgumentException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:59:01 +00:00
Pinaki Poddar
befbc83945
OPENJPA-117: provide registered TransactionListeners as unmodifiable collection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:35:26 +00:00
Fay Wang
983b34b68e
OPENJPA-1380: queryCache is not refreshed for cross-join jpql.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 20:40:18 +00:00
Richard G. Curtis
19eb9f2615
OPENJPA-1379: Fixed locking problem in AbstractQueryCache when using timestamp eviction policy and added new test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 22:02:15 +00:00
Pinaki Poddar
faf2966816
OPENJPA-1334: Refresh should ignore cache.retrieve.mode settings. Assorted changes in property processing for usability
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:18:38 +00:00
Fay Wang
eabd0c9454
OPENJPA-1371: fail to extract correct id from an entity during merge when this entity has compound primary key using IdClass, and some field in the IdClass is a derived identity from a not-yet-managed toOne relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831626 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 00:50:15 +00:00
Albert Lee
8c8636fce9
OPENJPA-1306 - Add basic extended lock scope support, 3 junit testing basic, secondary table, join table, inheritance entity, element collections (lazy/eager), 1x1 (lazy/eager) and 1xm (lazy/eager).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831194 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:09:05 +00:00
Pinaki Poddar
5e73ca14ed
Consolidate property key-value processings for javax.persistence.* keys. They have been accumulating in OpenJPAConf and now moving to where they belong i.e. PersistenceProductDerivation. The value processing from String/integer/enums for these properties have also been spread across many places and now being localized.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:22:27 +00:00
Michael Dick
530a190ebb
OPENJPA-1141:
...
Optionally reorder MetaData resolution for entities which use derived IDs
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:34:45 +00:00
Pinaki Poddar
5016fc69f8
OPENJPA-944: Indirect recursion in fetch. Solution provided by Yanko Zhikov.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 03:43:27 +00:00
Jeremy Bauer
ad1029fde4
OPENJPA-1115 Wrap non-null sequence property values so they are processed as a single property value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830338 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 21:02:34 +00:00
Pinaki Poddar
13c88d75cf
OPENJPA-1334: i) Calibrate type-based cache eligibility logic to align better with new JPA 2 as well as previous @DataCache behavior.
...
ii) Use CacheMode settings via FetchPlan.
iii) Cleanup hint handler etc. Replace implementation by interface.
iv) Start organizing JPA property processing
v) Improve upon EntityManager.setProperty()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828880 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:33:13 +00:00