Commit Graph

3804 Commits

Author SHA1 Message Date
Pinaki Poddar cb77af09f2 OPENJPA-1657: Save NPE for some database connect on null properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942815 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:33:06 +00:00
Pinaki Poddar 990bfb8d96 OPENJPA-1649: Add a test to verify transaction atomicity across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941541 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 23:28:26 +00:00
Pinaki Poddar 4c24a47a8e OPENJPA-1649: Share metadata/mapping repository across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941515 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 22:11:51 +00:00
Pinaki Poddar 7bd2b4ae49 OPENJPA-1387: Unique should not impose non-null constraint automatically.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941362 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:17:31 +00:00
Pinaki Poddar c7addd5f51 OPENJPA-1648,OPENJPA-1649,OPENJPA-1650: Replace fixed thread pools by cached thread pool.
Stop creating thread pools on every flush/query. 
Streamline property parsing/processing to create slice configurations.
Retain addSlice() on Persistence Unit and remove from Persistence Context and Configuration.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941084 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 23:01:51 +00:00
Michael Dick ed2940d547 OPENJPA-1536: set svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940555 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:21:14 +00:00
Michael Dick 0b73d9f1a9 OPENJPA-1570: set eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940554 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:18:55 +00:00
Michael Dick 5c497a7353 OPENJPA-1622: setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940553 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:14:35 +00:00
Michael Dick 4e48533de7 OPENJPA-1563: setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940546 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:09:27 +00:00
Richard G. Curtis ee299cc0bd OPENJPA-1646: Move DataCacheManager initialization to EMF creation time to close timing window.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940490 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 15:55:16 +00:00
Richard G. Curtis 78614963a0 OPENJPA-1634: Process JAXB metadata when preloading the MetaDataRepository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940093 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 19:00:23 +00:00
Richard G. Curtis 62bed3cf3d OPENJPA-1563: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940090 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 18:02:34 +00:00
Richard G. Curtis 2aacb58f68 Update svn:ignore props for openjpa-integration-daytrader
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940079 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:58:28 +00:00
Richard G. Curtis 00799c73f0 OPENJPA-1563: Update JPAFacadeHelper.toOpenJPAObjectId(...) to perform validation on parameters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940077 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:53:56 +00:00
Donald Woods 3dbb43b854 strip eol chars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939895 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:31:12 +00:00
Donald Woods 94cc84d768 update license files to include full CDDL+GPL license text for persistence schemas, even though we're choosing CDDL. this was based on recent discussions between legal-discuss@apache, Aries and Geronimo projects.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939892 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:16:12 +00:00
Michael Dick 014ac689b5 Update manual on difference between nullable=false and optional=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939453 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:55:19 +00:00
Pinaki Poddar 4fec004e9d Documentation on QueryCache Statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939447 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:36:37 +00:00
Pinaki Poddar d43fea80d8 OPENJPA-1643: Parse connection factory name. Add a constructor for serializability. Make CriteriaQuery sharable among slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939125 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:47:15 +00:00
Michael Dick 7851202ec6 OPENJPA-1641: Try JDBC standard column names as well as Sybase specific ones
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938610 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 19:19:38 +00:00
Fay Wang aef5474423 OPENJPA-1596: use unqualified name to check index name length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938571 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:12:26 +00:00
Jeremy Bauer 90355300bb OPENJPA-1604 Added Optimistic check as part the logic for setting the default lock mode for named queries in order to retain 1.x behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938203 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 19:34:34 +00:00
Donald Woods 6bc7930a14 OPENJPA-1639 remove code changes for another issue
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936942 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:34:31 +00:00
Jeremy Bauer 7425ffca2d OPENJPA-1613 Per JPA spec, OpenJPA should take the @Transient annotation into account when making a default access determination. This commit includes test code contributed by Simon Droscher.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936930 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:12:50 +00:00
Donald Woods 4ad9478ffa move openjpa-maven-plugin version to parent pom, since two modules are using it now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936861 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 14:19:52 +00:00
Donald Woods fdb539d972 OPENJPA-1639 Create some simple openjpa-xmlstore tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936851 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 13:59:49 +00:00
Donald Woods f35802f702 OPENJPA-1639 revert for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936504 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:55:50 +00:00
Donald Woods 4791781de0 OPENJPA-1639 use 2.0.1-SNAPSHOT until 2.0.0 is released
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936502 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:47:50 +00:00
Donald Woods 2c9790e84f OPENJPA-1639 Create some simple openjpa-xmlstore tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936497 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:42:04 +00:00
Fay Wang 5e6d42a5bc OPENJPA-1596: fix index name for DB2 zOS when schema is present.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936449 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:11:45 +00:00
Richard G. Curtis 0cfb656770 OPENJPA-1638: Add new testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936445 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:05:41 +00:00
Richard G. Curtis 58f33c2119 OPENJPA-1604: Doc update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936436 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 18:48:29 +00:00
Donald Woods ba9dedd4d4 update title to say 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936399 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 17:27:14 +00:00
Pinaki Poddar 72b145a562 OPENJPA-703: Ignore prepared query if query using locks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935231 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 19:10:15 +00:00
Donald Woods 5cbc3c4e3f merge in latest release notes from branches/2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935080 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 21:10:34 +00:00
Pinaki Poddar 4502c30b16 OPENJPA-703: Add a test for thread-safety of cache statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935074 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:37:39 +00:00
Pinaki Poddar 53e63d202f OPENJPA-703: Disable query statistics by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Pinaki Poddar fb1808b2a3 OPENJPA-703: Remove sync on stats
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935035 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:32:32 +00:00
Pinaki Poddar 191c7fd329 OPENJPA-703: Collect query statistics for a fixed number of queries, in a thread-safe manner.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935033 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:29:33 +00:00
Donald Woods 82af197ca6 update tck2 scripts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 14:05:00 +00:00
Pinaki Poddar 296752741e OPENJPA-1628: Usability changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:25:46 +00:00
Jeremy Bauer 5de5b5136f OPENJPA-1605 Correct regression issue with table generation issue in schema generator. Only the first table name returned in a generic DBMD query was used to populate the schema. This broke the reverse mapping tool, which uses a generic query by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934493 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 17:24:02 +00:00
Donald Woods cdc597a26b update tck runs to use new openjpa.Log setting. force usage of new patch subset until we get the final ones.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:48:27 +00:00
Richard G. Curtis 1ddfdcef96 OPENJPA-1630: Synchronize when modifying MetaDataRepository._registered regardless of MetaDataRepository.Preload setting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934103 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:39:54 +00:00
Fay Wang 8a034d6717 OPENJPA-1627: fix OrderBy with EmbeddedId.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:30 +00:00
Richard G. Curtis f90b0bb16f OPENJPA-1631: Add synchronization to AnnotationPersistenceXMLMetaDataParser.parse() method to make it thread safe.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:14 +00:00
Donald Woods 6eb56facc2 remove usage of current patches until we get either an updated TCK or patchset from Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933710 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 17:28:41 +00:00
Pinaki Poddar 85b89a8701 OPENJPA-1628,OPENJPA-1187,OPENJPA-1622: Use javac's -s option to control output rather than extraneous -Aout option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933342 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 18:12:49 +00:00
Donald Woods 0ca80f7f79 test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932974 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:23:50 +00:00
Donald Woods 2fbfba0705 merge in release note updates from 2.0.0 branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932973 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:59:14 +00:00