Pinaki Poddar
cbbc768673
OPENJPA-850: Add notion of equivalent property keys for configurable Value. Use this facility to support new javax.persistence.* style property keys alongside openjpa.* style property keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732443 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 19:38:45 +00:00
Jeremy Bauer
c924cc2fc8
OPENJPA-803 Added support to allow a specific schema name to be specified on sequence generators per JPA 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 21:22:18 +00:00
Michael Dick
16b7b1a7f7
OPENJPA-784 committing patch provided by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728004 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 11:36:13 +00:00
Pinaki Poddar
574d559860
OPENJPA-825: Introduced internal locking for shared contexts (BrokerImpl/QueryImpl).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727864 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 00:08:23 +00:00
Jeremy Bauer
04900fe85c
OPENJPA-819 Committing fix for NPE and corresponding test case contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727813 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 20:39:06 +00:00
Pinaki Poddar
0f7f03d8b0
OPENJPA-825: Cache unique flag for query to avoid lcoking. Use StateManager's instance lock rather than acquiring Broker's lock.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727297 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:23:00 +00:00
David Ezzio
9ba8587238
Merged changes 726860, 68, and 76 from branch 1.1.x. Added Cache Marshallers to descriptors, and renamed test case. Was not able to enable test case due to additional missing property descriptors in trunk. See Jira: OPENJPA-830.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727250 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 03:01:26 +00:00
Fay Wang
4cf216c21f
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 16:44:26 +00:00
Pinaki Poddar
548ccbcf95
OPENJPA-828: Switch field value access based on declaredTypeCode rather than typeCode to take care of externalized fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726927 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:59:34 +00:00
Catalina Wei
47eab49812
OPENJPA-805 JPQL updates iteration 1
...
add in-memory query constructs for Case, Coalesce, and NullIf expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726926 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:58:31 +00:00
Catalina Wei
debe82b8d0
OPENJPA-805 JPQL iteration 1 - add support for COALESCE and NULLIF expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725881 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 01:29:19 +00:00
Jeremy Bauer
cabd344397
OPENJPA-800 remove version milestone indicator from build artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Catalina Wei
979a6e373c
OPENJPA-805 JPQL iteration 1: add support for Case Expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725728 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 16:16:32 +00:00
Catalina Wei
2bb40626e6
OPENJPA-805 JPQL iteration 1 add support for select ScalarExpression & Order By selectAlias
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725530 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:43:52 +00:00
Pinaki Poddar
d1f498b59e
OPENJPA-806: Testing Criteria API by executing against the database. Persistent test classes declare fields as appropriate to the tested queries. Criteria that use new JPQL constructs such as KEY(), CASE etc. are compared literally with handcrafted JPQL string. The supported ones are executed against the database.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725522 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:29:10 +00:00
Catalina Wei
8f97b2248a
OPENJPA-805 JPQL updates - iteration 1
...
Sync up with JPQL.jjt to pass regression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725485 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 23:34:55 +00:00
Catalina Wei
243b68dbb7
OPENJPA-805 JPQL updates - iteration 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725429 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 20:52:36 +00:00
Pinaki Poddar
62e1deae8f
OPENJPA-801: PCPath is now a CandidatePath. But why was it not before?
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724856 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 20:08:32 +00:00
Michael Dick
82e702867e
OPENJPA-817 fixed in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724765 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 16:04:37 +00:00
Fay Wang
9946b6c19b
OPENJPA-792: MappedSuperClass problem. Commit on behalf of
...
Sandhya Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724490 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:22:58 +00:00
Fay Wang
e78a1bc079
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724437 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 18:27:45 +00:00
Jeremy Bauer
c60a95f77a
OPENJPA-800 Change release artifact versions for milestone 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Pinaki Poddar
c28c7830d5
More informative message when multiple fields used wrongly as primary key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@722060 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 12:42:00 +00:00
Michael Dick
9e67ec5ae8
OPENJPA-778 cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719739 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 22:55:38 +00:00
Michael Dick
2b1a1e69e2
OPENJPA-778 committing patch provided by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719698 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 20:16:32 +00:00
Fay Wang
bb937f3634
OPENJPA-742: add get lineNumber/ColumnNumber to SourceTracker
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719314 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 18:16:46 +00:00
Srinivasa Segu
031f525d4f
OPENJPA-680 - After load and after refresh callbacks were each resulting in a post load call resulting in the duplicate call. Fix addresses the same and re-introduces the original fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719166 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 05:37:59 +00:00
Pinaki Poddar
75b9ca7fa3
OPENJPA-764: Parse IN expressions with string functions such as UPPER()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712842 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 21:35:35 +00:00
Catalina Wei
5550d8dbb5
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist.
...
cosmatic changes only - removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712817 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:55:00 +00:00
Jeremy Bauer
54d4d0d07d
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist. Committing for Dinkar Rao.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@709527 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:39:16 +00:00
Fay Wang
1a378e13f9
OPENJPA-738: query cache performance improvement. Commit
...
the change in OPENJPA-738.11.patch on behalf of Sandhya
Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708980 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:06:58 +00:00
Albert Lee
7c1c9fca60
OPENJPA-754 - Add additional condition to determine if the pre/postUpdate callback should be called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708722 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:31:09 +00:00
Michael Dick
995c6a4acc
Code cleanup remove compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708580 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:15:01 +00:00
Michael Dick
e1bd3c4dcb
Code cleanup: remove some unnescessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707937 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 04:31:28 +00:00
Albert Lee
f01e6bd0d4
OPENJPA-752: Enhance exception message text to improve serviceability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707740 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 20:35:24 +00:00
Michael Dick
284bd408f8
[maven-release-plugin] prepare release 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Catalina Wei
e2388e9b3c
OPENJPA-738 QueryCache Improvement
...
Committing patch provided by Sandhya Sturaga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706481 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 00:23:29 +00:00
Albert Lee
99dc9d8a66
OPENJPA-732 - Re-commit the same original committed changes (code and tests) after test cases corrections were made.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702348 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:15:05 +00:00
Albert Lee
50ff3ed693
OPENJPA-732 - Regressed a unit test. Reverting BrokerImpl back to previous level and disabling a test in the new TestMessageListener.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701266 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:50:41 +00:00
Albert Lee
f0ad75d7fd
OPENJPA-732 - Fixed BrokerImpl's fields of type Set to consistently use the correct implementation type of HashSet rather than ArrayList or LinkList.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701236 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 20:41:18 +00:00
Jeremy Bauer
ab42492100
OPENJPA-733: Updated state manager to use actual oid instead of owner oid.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700563 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 19:42:11 +00:00
A. Abram White
0226888590
OPENJPA-722 resolution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700158 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 16:07:01 +00:00
Albert Lee
07c6b1e5dd
OPENJPA-719 - Ensure English locale is used in toUpperCase/toLowerCase for locale insensitive code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698813 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 04:45:48 +00:00
Pinaki Poddar
1706670152
Introduces notion of @Replicated entity. This feature allows to relax collocation constraint for quasi-stationary master data. A replicated entity is stored as identical copies across multiple slices. The ReplicationStrategy works similar to DistributionStrategy for replicated entity. The slice association cardinality has uniformly changed to array of slices from a single slice name both for replicated and non-replicated entity. The non-replicated entities can refer to replicated entities but not vice versa. The query operation (especially the ones with aggregate function) is aware of replicated data and queries only one of the slices to avoid duplication.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698284 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:58:00 +00:00
Pinaki Poddar
9803879ff9
OPENJPA-704: Add field names of path-like syntax
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696590 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:57:51 +00:00
Pinaki Poddar
cd5014ee54
OPENJPA-704: Changes were not assocaited with JIRA issue which was created after the change :)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694720 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 16:10:17 +00:00
Pinaki Poddar
e047748e77
Fix wrong index in data cache statisitics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694117 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:54:49 +00:00
Kevin W. Sutter
8e6db6cb65
OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693282 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:32:17 +00:00
Catalina Wei
0ea75e720e
OPENJPA-712 Not correctly parsing the "having" clause with aggregate functions (ie. max, min, etc)
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@692609 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 03:47:40 +00:00
Pinaki Poddar
2988f75fc3
OPENJPA-365: This is a token commit. Original commit is 677147 but due to typo in commit message, the JIRA issue did not get assoicated correctly with the commit 677147
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691327 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 17:47:06 +00:00
Pinaki Poddar
cb3e1705f5
OPENJPA-620: An eagerly initialized configuration with fail-fast behavior on persistent class resolution
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689503 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 15:49:53 +00:00
Pinaki Poddar
00c27c654a
Check for field inclusion in fetch group based on names of both decalring and defining class as owner.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688777 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 16:57:06 +00:00
Pinaki Poddar
4dd92231c5
Generate informative error message when query fails due to wrong unbound variables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:42:26 +00:00
Pinaki Poddar
d9712537da
OPENJPA-111: Modified tests to use correct binding parameter. Added methods in MetaDataRepository to look for NamedQuery only by name without defining class information.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686419 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 23:36:16 +00:00
Albert Lee
a7b9f8f7f3
Minor typo corrections in message files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686401 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 22:19:24 +00:00
Albert Lee
cf0985e524
OPENJPA-111: Minor message typo corrections.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686359 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 20:34:36 +00:00
Pinaki Poddar
d76c646acc
OPENJPA-111: Validate native SQL parameters by the numbers of parameters in StoreQuery level and bypass validation at facade layer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:38:10 +00:00
Albert Lee
404cbbf99b
OPENJPA-680 - revert changes due to TCK regression.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 21:58:19 +00:00
Pinaki Poddar
0d3812fcb5
OPENJPA-687: Add read/write/hit statitics to DataCache/StoreCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:39:39 +00:00
Albert Lee
352d799756
OPENJPA-680 - Format changes to standard 80 columns and spacing conventions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:32:01 +00:00
Srinivasa Segu
4668ea4e77
OPENJPA-680. Consistent with the beforeRefresh call check for new unflushed instances
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683805 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 02:42:36 +00:00
Catalina Wei
e97d6d1598
OPENJPA-674 javaagent enhancer (PCEnhancerAgent) ignores persistence units after the first in persistence.xml
...
committing PCEnhancerAgent.patch provided by Dinkar Rao
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:28:26 +00:00
Michael Dick
e41e1dd976
OPENJPA-628. Revert changes from revision 610922 and add testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682821 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:37:39 +00:00
Pinaki Poddar
bea15fff47
OPENJPA-28: GROUP BY clause on nested sub query should not appear on top-level query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681904 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:42:01 +00:00
Pinaki Poddar
b29b9b6c76
OPENJPA-75: Error message for missing identification variable shows nearest Levensthien choice and all avaialble choices
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 20:05:18 +00:00
Pinaki Poddar
4af04f30d9
OPENJPA-187: Allow managed, unmanaged, transient entity as binding query parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681207 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 21:30:26 +00:00
Albert Lee
adb9a6e3de
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680894 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:09:18 +00:00
Michael Dick
64dbe4c924
[maven-release-plugin] prepare release 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Michael Dick
1cf3826ae8
[maven-release-plugin] prepare branch 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680506 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:19:52 +00:00
Michael Dick
191f26d72d
OPENJPA-669 DBDictionary can specify the type of native sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:12:17 +00:00
A. Abram White
37d610ca2c
Fix a bug in which joined classes using an application identity hierarchy
...
couldn't be loaded correctly as an inverse relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679152 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:20:25 +00:00
Pinaki Poddar
4c0bf1be10
OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Michael Dick
948c38e332
OPENJPA-633 setting consistent eol-style for pom.xml files in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677472 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 00:09:55 +00:00
Pinaki Poddar
efdbbd7a92
OPENJPA:365: Raise informative exception when user supplied id argument is wrong type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 03:59:33 +00:00
Pinaki Poddar
434319cfee
OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Pinaki Poddar
94814adc39
Revert changes to exclude non-transactional states from dirty checking
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676642 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 16:54:05 +00:00
Pinaki Poddar
854eda8a19
Skip dirty check for nontransactional, runtime-enhanced instances
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676604 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 14:33:59 +00:00
Pinaki Poddar
cc85528f69
OPENJPA-656 : raise informational error on initial connection failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675952 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:48:50 +00:00
Albert Lee
c7a9063146
OPENJPA-653 - Commit for Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@674609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 19:41:32 +00:00
Pinaki Poddar
13e4897173
OPENJPA-647: Change cardinality of listeners for Value update so that ClassMetaData (and others) can sync with dynamic configuration changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673484 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:26:48 +00:00
Pinaki Poddar
1ad09239b3
OPENJPA-647: ClassMetaData listens to value updates of dynamic property
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +00:00
Michael Dick
bae08e93e4
Fix line length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673188 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 19:39:01 +00:00
Kevin W. Sutter
82e61ba0d5
OPENJPA-637. Reverting ConcurrentHashMap implementation per the patch provided by Jeremy Bauer. A more complete, configurable implementation is being tracked via the related sub-task OPENJPA-643.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672003 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:31:20 +00:00
Michael Dick
fb78813259
OPENJPA-545 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar
37cb4af35d
OPENJPA-581: Print WARN level message on JNDI lookup failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669356 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 01:41:32 +00:00
Pinaki Poddar
f62ea1ab0d
OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar
e00c6e8f80
OPENJPA-625: remove Embedded collection members throws exception in PCData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar
71519b0808
OPENJPA-610: Restored refresh() behavior for clean/new instances.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Patrick Linskey
90332224f7
Merge from ../branches/1.1.x. svn merge -c 657162 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666921 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:00:06 +00:00
Patrick Linskey
06ab9692d5
Merge from ../branches/1.1.x. svn merge -c 657148 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666920 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:44 +00:00
Patrick Linskey
12c0a094ee
Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey
5ee728e332
OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:58:16 +00:00
Patrick Linskey
753be68e24
OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey
f183c42b90
Merge from ../branches/1.1.x/. svn merge -c 653088 ../branches/1.1.x/
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666909 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:50:05 +00:00
Patrick Linskey
1ac94263ac
Merge from ../branches/1.1.x/. svn merge -c 653083 ../branches/1.1.x/
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666907 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:49:12 +00:00
Patrick Linskey
e8702b1ed3
Merge from ../active. svn merge -c 653000 ../active
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666900 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:40:27 +00:00
Patrick Linskey
547438ed18
OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Merge from ../active. svn merge -c 652987 ../active
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:29:11 +00:00
Patrick Linskey
96dd926f4a
OPENJPA-522. Backporting r652026 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey
8fb7ca2b5b
Backported r651121 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666891 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:21:46 +00:00
Patrick Linskey
4d668a44dd
Backported r650989 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666890 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:20:27 +00:00
Patrick Linskey
b589da8070
OPENJPA-245. Backported r646082 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +00:00
Michael Dick
981c023e0e
OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Pinaki Poddar
f1ac625b2c
OPENJPA-209: Detect identical instances being added to L1 cache multiple times during a load session.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 03:33:35 +00:00
Pinaki Poddar
1fda19f8b7
OPENJPA-610: Correcting the @since version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 19:06:01 +00:00
Pinaki Poddar
794305c2f1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 18:10:50 +00:00
Catalina Wei
dbbd1236f2
OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
...
Help comitting patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660825 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:08:41 +00:00
Pinaki Poddar
45693d4e7a
OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Catalina Wei
dcada13237
OPENJPA-574 Cached object in DataCache not evicted due to StatementBatching not reporting OptimisticException
...
Handle (-2) updateCount returned from Batching for Oracle.
Got a ClassCasstException while testing multiple entries in DataCache needed to be removed due to OptimisticException.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 08:05:00 +00:00
Catalina Wei
b3f87ba1ec
OPENJPA-596 ClassCastException during in-memory update with Informix IDS 10.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658541 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 03:17:04 +00:00
Michael Dick
8c756bf655
OPENJPA-559 set SerialVersionUID to a value compatible with previous releases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@657813 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 12:43:34 +00:00
Catalina Wei
01e08029e9
OPENJPA-595 A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654885 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 17:05:45 +00:00
Michael Dick
d35bc879cb
OPENJPA-149 remove maven warnings due to invalid pom
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654858 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 15:32:49 +00:00
Catalina Wei
3187089432
OPENJPA-589 Can not retrieve M-to-M data when DataCache is on
...
committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 00:13:48 +00:00
Catalina Wei
3f9dcdbb76
OPENJPA-595 A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654626 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 21:24:47 +00:00
Catalina Wei
63850bed0b
OPENJPA-590 cleanup unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654324 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 23:32:32 +00:00
Pinaki Poddar
33e094c6f1
OPENJPA-586 Query parameter binding for externalized fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654272 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 21:06:16 +00:00
Michael Dick
a31dfaa31f
OPENJPA-591
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654227 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:34:26 +00:00
Michael Dick
efcc2577a6
OPENJPA-590 committing patch provided by Fay Wang
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 20:52:29 +00:00
Catalina Wei
14eeab2c00
OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +00:00
Michael Dick
0f32d37668
OPENJPA-407 committing patch provided by Fay Wang and Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652913 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:09:14 +00:00
Michael Dick
78ff71749c
OPENJPA-584
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652090 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:38:05 +00:00
Michael Dick
a2beac443c
OPENJPA-149 OPENJPA-159 fix javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651457 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 23:27:40 +00:00
Michael Dick
bd2afc3f70
OPENJPA-149 OPENJPA-159 Moving suspendJTA code to ManagedRuntime
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651441 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 22:28:42 +00:00
Patrick Linskey
18a3db781b
OPENJPA-562, OPENJPA-536, OPENJPA-564, OPENJPA-536, OPENJPA-576, OPENJPA-577. Merging changes from 1.1.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650714 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 01:10:43 +00:00
Catalina Wei
50b81e6d77
OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
Patrick Linskey
8803104f41
moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
Albert Lee
1b5aac791d
OPENJPA-559 : Add SerialVersionUID.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644852 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 19:43:36 +00:00
Patrick Linskey
dd7014a527
OPENJPA-556. This implementation does some extra copying to accomodate DataCache.getAll(), which takes a List instead of a Collection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644627 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 06:55:13 +00:00
Patrick Linskey
999ce2e670
OPENJPA-536. Committing on behalf of Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:01:47 +00:00
Michael Dick
79b23557d3
OPENJPA-529. Clone issue with the configuration was accidentally re-introduced
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644006 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 18:35:50 +00:00
A. Abram White
6aa8fd3c35
Always consider the inclusion of subclasses as part of the query compilation
...
key, even when the candidate class is encoded in the query string instead of
set programmatically.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:29:26 +00:00
Patrick Linskey
6b5e0c6967
OPENJPA-544. Take advantage of tiger dependency.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643248 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 03:21:23 +00:00
Albert Lee
1b8ccc6245
OPENJPA-417 - Change isStoreMapCollectionInEntityAsBlob() to getStoreMapCollectionInEntityAsBlob()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 16:56:05 +00:00
Albert Lee
315a348848
OPENJPA-417 - add openjpa.Compability(StoreMapCollectionInEntityAsBlob=true) option to enable map/collection stores as Blob in the database. This allows existing application continues to work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641842 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 15:08:07 +00:00
Patrick Linskey
b2c1e8f16f
OPENJPA-544. Get rid of JDK1.4 support, fold the jdk1.5 modules into their siblings, get rid of some ugly reflection that was there for 1.5 support, and move to the java.util.concurrent collections classes. This includes a wrapper around ConcurrentHashMap that allows nulls, since the old OpenJPA concurrent map allowed nulls and we rely on that behavior. The implication is that putIfAbsent() and some of the other special JDK1.5 methods don't obey the same contracts as in the java.util.concurrent package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:37:56 +00:00
Kevin W. Sutter
6af619cd89
OPENJPA-540. Committing a simpler version of the patch. Got rid of the ClassResolver classloader and am now just relying on the Class.forName() classloading. This is similar to the processing used for the other *ManagedRuntime classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640666 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 01:35:28 +00:00
Patrick Linskey
aff3abd8ed
Fixed JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@637439 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 16:57:32 +00:00
Albert Lee
b4d72d5843
After OPENJPA-9, -help option in scripts is not working anymore. This is caused by Configurations.runAgainstAllAnchors returns true if no error is encountered (including no operation) during function execution. Since the check of the -help option is in the command's run method and if no anchor is found, the help check is skipped.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633921 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 16:38:46 +00:00
Patrick Linskey
126358f0e4
Fix NPE reported on newsgroup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633739 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:21:58 +00:00
Patrick Linskey
f3dd4c0397
OPENJPA-521. Committing on behalf of Qin Feng.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:12:19 +00:00
Patrick Linskey
777818d283
OPENJPA-520. Committing on behalf of Qin Feng.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633723 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 00:24:45 +00:00
Patrick Linskey
86e17fc210
Improve the error message when failing to find a field in a given identification variable's type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633668 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 22:05:51 +00:00
Patrick Linskey
9ece24ade3
Better error message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632412 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 19:16:27 +00:00
Patrick Linskey
c5309299b5
OPENJPA-521. This is a partial fix; we should be able to avoid the looping in clearInverseRelationCache with a bit of extra data structures in FieldMetaData, probably populated during FieldMetaData.getOrder() or MetaDataRepository.newOrder().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630063 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 01:09:05 +00:00
Patrick Linskey
de8a4760c8
Enable some of the new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628375 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 19:30:20 +00:00
Patrick Linskey
7d44e7a355
Enable some of the new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628233 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 03:06:37 +00:00
David Ezzio
754eb8d60c
Allow EntityManagerFactory objects to be serialized and deserialized successfully.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618844 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 00:51:34 +00:00
Patrick Linskey
3f439edc57
OPENJPA-506. Fixed behaviors for global listeners to get TCK working on trunk again. It turns out that global listeners and per-instance listeners are bound into the OpenJPA event framework differently.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618821 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 23:26:33 +00:00
Pinaki Poddar
24d2a42c22
Get the key from config only once as it is costly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618741 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:50:02 +00:00
Patrick Linskey
de14ad6630
OPENJPA-147. Changes resulting from tests via Kodo's harness.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:34:55 +00:00
Patrick Linskey
012efc034c
OPENJPA-147. Changes resulting from tests via Kodo's harness.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618537 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 04:34:54 +00:00
David Ezzio
4d336b2a2c
Rolledback change to AbstractBrokerFactory pending resolution of issues arising from r616972. Modified TestSerializedFactory to expect failure: it expects created EntityManagerFactory objects to be instances of Serialization, but to not be useful after serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617577 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:53:48 +00:00
Patrick Linskey
a747db9443
OPENJPA-506. svn merge -c 617334 ../branches/1.0.x; svn merge -c 617363 ../branches/1.0.x, plus modifications for serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617525 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:46:51 +00:00
Patrick Linskey
64d0ea8166
OPENJPA-135, OPENJPA-420 Merge from ../branches/1.0.x. svn merge -c 617164
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617200 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:41:46 +00:00
Patrick Linskey
171dc5d46a
OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617073
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617199 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:40:34 +00:00
Patrick Linskey
62c8c548d9
OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617039
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617198 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:39:25 +00:00
Patrick Linskey
18e83a09b1
OPENJPA-251, OPENJPA-329. svn merge -c 616961 ../branches/1.0.x/
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617191 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:01:45 +00:00
David Ezzio
d24bec6ed6
Allow EntityManagerFactory objects to be serialized and deserialized successfully.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616972 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 00:59:02 +00:00
Patrick Linskey
8d161ff99e
OPENJPA-357, OPENJPA-358. Changing @since tag to 1.1.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616905 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 21:10:49 +00:00
Patrick Linskey
badc4b924f
OPENJPA-437. Reverted back to hard-reference ArrayList instead of a concurrent set, since the new logic only performs local mutation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616845 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 19:03:48 +00:00
Catalina Wei
b2a10e285f
OPENJPA-477 no need to make changes to BootStrap, StateManagerImpl and PersistenceProviderImpl.
...
These files are restored to their previous version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 09:36:42 +00:00
Patrick Linskey
37c4e9148a
OPENJPA-437. Trivial change to be consistent with class usage between constructor and symbolic constant.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615361 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:53:57 +00:00
Patrick Linskey
78f5a95b2b
OPENJPA-437
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615360 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:52:05 +00:00
Patrick Linskey
2a612c1053
OPENJPA-245
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615317 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:57 +00:00
Patrick Linskey
2a45dc5929
OPENJPA-437
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615316 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:47 +00:00
Patrick Linskey
5a1faec471
OPENJPA-502
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614812 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 07:33:32 +00:00
Catalina Wei
a8f6d3c116
OPENJPA-477 Making StoreManager more flexible and extensible
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614763 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 01:33:48 +00:00
Patrick Linskey
13dd4f2252
Improve error message when checking metadata access types; correct recursive method to always include superclass information.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:15:09 +00:00
Michael Dick
4d9a6759db
OPENJPA-245
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614563 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:16:01 +00:00
Kevin W. Sutter
7f797f0226
OPENJPA-437. Changed AbstractBrokerFactory.loadPersistentTypes to be synchronized to get around the multi-threading issue during broker creation.
...
Also, migrated the change for OPENJPA-449 from trunk to the 1.0.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612846 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 15:35:45 +00:00
Pinaki Poddar
240d356314
OPENJPA-495 Populate Ordering/ProjectClauses from JPQL parser to be used for merging multiple ordered results
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612583 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:01:42 +00:00
Patrick Linskey
206f0f04e1
OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Reduce logging in test case; use onlyChild() to validate tree structure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612348 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:35:26 +00:00
Patrick Linskey
8c4cf9511e
OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612345 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 03:49:23 +00:00
Patrick Linskey
d4a2929a57
OPENJPA-147 -- managed interface support. Also includes failure test case for OPENJPA-481.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:44:35 +00:00
Patrick Linskey
2933147f53
proxy collection optimization for adding to the end of a list vs. adding elsewhere
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:37:36 +00:00
Patrick Linskey
07c046a077
Oops; earlier refactoring was not complete.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609825 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 01:03:43 +00:00
Patrick Linskey
5a0b5b39e7
Write output to the logging channels instead of to stdout.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609776 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 20:58:01 +00:00
Pinaki Poddar
82cd11cb19
Do not throw exception when failed to lookup JNDI, rather return null. Callers handle null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608009 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 05:14:52 +00:00
Craig Russell
69ee1ce7f0
OPENJPA-331 fix notices
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607478 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 22:07:29 +00:00
Pinaki Poddar
e868210ca0
Allow read-only access to operating set of instances to extensions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@606946 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 21:02:43 +00:00
Patrick Linskey
008b249c24
OPENJPA-331. Checking in on behalf of Miroslav Nachev. Includes minor whitespace reformatting and @since tags for new source classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604621 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 12:30:15 +00:00
Pinaki Poddar
a54f842624
OPENJPA-462: Narrow StoreException by SQLException.getSQLState()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603001 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 19:15:35 +00:00
Marc Prud'hommeaux
1928eeb611
Returned initialize() to be public (which was made package-private in r597155 for some reason)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 00:52:16 +00:00
Patrick Linskey
5018dfaa88
OPENJPA-126: EntityManager serializability. Also includes a fix to make LoadListener.afterRefresh() work. Committing directly (not via remote queue) as I'm about to lose my internet connection for a while. Hopefully, my local testing is accurate.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597155 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:54 +00:00
Pinaki Poddar
6ea5a81c93
OPENJPA-449 : initializing _pcClassLoaders in constructor instead of conditionally inside loadPersistentTypes(). Saves NPE on new Broker construction in multi-threaded scenarios' openjpa-kernel\src\main\java\org\apache\openjpa\kernel\AbstractBrokerFactory.java
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596871 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 23:12:33 +00:00
Michael Dick
e1dccc1872
OPENJPA-446
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596731 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 16:17:57 +00:00
Patrick Linskey
3ebf5a9a07
Make LoadListener.afterRefresh() work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596338 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 15:48:28 +00:00
Patrick Linskey
f875a5e98b
OPENJPA-200
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595912 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:38:33 +00:00
Patrick Linskey
0071f7b0d8
OPENJPA-316
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595510 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 01:09:26 +00:00
Patrick Linskey
634bdc5c92
OPENJPA-9
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595508 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 00:51:07 +00:00
Patrick Linskey
80269d0f19
OPENJPA-439
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@594234 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 17:57:50 +00:00
Pinaki Poddar
c96881a214
Set LockTimeout from configuration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592909 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 21:36:50 +00:00
Kevin W. Sutter
e5556e0fe5
OPENJPA-370. Backing out the changes for the LoadFetchGroup implementation. We need to re-think the implementation (both the real and the expected). I left the test Entities in SVN, but removed the testcase so that we wouldn't fail the builds.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@591176 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 00:36:54 +00:00
Patrick Linskey
bc9d60fe3b
OPENJPA-407. Backing out attempted optimization due to regressions in test suite.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590520 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 00:29:38 +00:00
Patrick Linskey
f187b3d995
Corrected extra whitespace in error message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590496 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 22:29:17 +00:00
Patrick Linskey
98ef3d9063
OPENJPA-407. Assorted performance improvements found while working on this issue. This change does not include any SQL caching work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590150 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:56:47 +00:00
Patrick Linskey
73b35874f0
Avoid potential NPE; fix error msg.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590143 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:51:32 +00:00
Patrick Linskey
cd2f9e978e
Localized error message clarification, based on user feedback.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589975 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:51:15 +00:00
Kevin W. Sutter
ddd0791346
OPENJPA-422. The reproxy() method needed the Calendar object type in it's switch statement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589207 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 20:18:56 +00:00
Patrick Linskey
e487d35da6
OPENJPA-419
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588533 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 05:39:48 +00:00