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
Patrick Linskey
b50c73f357
OPENJPA-413. Some more clarifications in confusing error messages.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588373 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 22:14:55 +00:00
Michael Dick
35fb37ea38
OPENJPA-413 revised message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588115 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 02:19:00 +00:00
Michael Dick
8a67bc2813
OPENJPA-413 committing for Teresa
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588004 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:28:07 +00:00
Michael Dick
9e5cc06fcb
OPENJPA-416
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587943 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 18:09:01 +00:00
Michael Dick
a282456a91
reverting javacc change so we will build on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587896 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 14:21:50 +00:00
Michael Dick
eb4c307446
Remove packages from javacc directories and upgrade to version 2.2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587782 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:50:28 +00:00
Albert Lee
92919929f8
OPENJPA-413, commit localizer.properties files for Teresa in 110 trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587688 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:07:36 +00:00
Marc Prud'hommeaux
647cbf2ae7
Force javacc-maven-plugin to use version 2.1 of the plugin, since the newer version seems to cause problems.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587685 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:58:32 +00:00
Marc Prud'hommeaux
61c789dbaf
OPENJPA-322 reverted change #567170 to restore previous behavior of TimeZones in Calendar fields; added test case to confirm that the Calendar fields behave as expected
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@586649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 00:49:37 +00:00
Kevin W. Sutter
aca5f3351d
OPENJPA-409. Message update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585773 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:30:28 +00:00
Kevin W. Sutter
86f79ae640
OPENJPA-405. Dropping Teresa's patch for trunk and 1.0.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585269 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:47:39 +00:00
Patrick Linskey
09c894a368
OPENJPA-403. Assuming that ignoring the new code is sufficient in cases where the fetch configuration is unavailable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 23:21:30 +00:00
Patrick Linskey
716b008346
OPENJPA-293. Moved localized message to correct package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584900 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:34:43 +00:00
Kevin W. Sutter
a1fb5b7f72
OPENJPA-396. Going ahead with the commit of the patch. Per the discussion in the Issue and the dev mailing list, I have added a few more comments to the clone() generation. Thanks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582974 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 21:06:45 +00:00
Albert Lee
704fc1b513
Minor typos and javadoc updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582341 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 16:42:42 +00:00
Craig Russell
cafd3d7a62
OPENJPA-366 Trivial typo in new message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581619 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:08:04 +00:00
Albert Lee
03d19774c2
OPENJPA-366 - Add message text to InternalException.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581608 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 14:09:43 +00:00
Marc Prud'hommeaux
abff87ef35
OPENJPA345 The last patch had the side effect that the artifact zip doesn't contain most of the required dependency jars (e.g., commons-lang), since the transitive dependencies are not followed to pick up these jars. Resolved this by explicitly listing the required jars in the openjpa-all dependencies. Also moved most of the dependency version numbers into the parent pom.xml dependencyManagement section to ensure that all dependency versions are the same.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 09:10:54 +00:00
Kevin W. Sutter
60062e27a2
OPENJPA-370. Committing Teresa's patch with a few minor updates (per my JIRA Issue remarks).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581039 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 19:08:19 +00:00
Michael Dick
89b030c3d1
OPENJPA-380
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:38:31 +00:00
Kevin W. Sutter
7524219f6a
OPENJPA-369. Committed Albert's changes for the Java 2 Security updates for the Solaris platform.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 19:44:06 +00:00
Pinaki Poddar
c8ca563046
OPENJPA-24: Relaxing access to connect() for extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:47:52 +00:00
Kevin W. Sutter
884d6b5460
OPENJPA-367. Committing Albert's patch (since he doesn't have his committer karma quite yet...).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576552 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 18:12:46 +00:00
Patrick Linskey
44c08403ac
NPE check. Checking in on behalf of Abe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 16:33:09 +00:00
Patrick Linskey
809cb37003
OPENJPA-335. 'svn merge -c 575492 ../branches/1.0.x'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:24:12 +00:00
Pinaki Poddar
6d5fe3bb8a
OPENJPA-357, OPENJPA-358: Adding @since tag/comments to new additions to FetchGroup inclusion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574289 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:01:40 +00:00
Patrick Linskey
d022b18ad5
OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00