Commit Graph

3410 Commits

Author SHA1 Message Date
Donald Woods 315a0d0e43 OPENJPA-1712 Move common test-java5 profile depends to the parent pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986101 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 19:22:06 +00:00
Michael Dick 4560ddf64f get lock clause from DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985574 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 19:39:01 +00:00
Michael Dick 212bfb1a4a OPENJPA-1752: TestPessimisticLocks JUNIT test produced inconsistent behavior with various backends.
Submitted By: Catalina Wei

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985560 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:37:41 +00:00
Michael Dick 0a0d7f7810 Check if database supports query timeouts, merged from Fay's changes for OPENJPA-1726
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985551 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:09:18 +00:00
Michael Dick 83560d0854 OPENJPA-1424: Adding testcase.
Submitted By: Heath Thomann and Daryl Stultz

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 20:18:48 +00:00
Albert Lee d1ed604dc1 OPENJPA-1753 Update same test case changes from trunk to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985280 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 16:50:34 +00:00
Michael Dick 077f9d7f82 OPENJPA-1668: Allow custom sequence SQL strings for DB2 on z/os and iseries.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985013 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 22:05:27 +00:00
Donald Woods 78fe423ce1 OPENJPA-1712 BVAL requires commons-lang 2.4 or later
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@984151 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 18:04:38 +00:00
Donald Woods c39937c68f OPENJPA-1712 add validation build notes for Java SE 5 testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983986 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 13:17:25 +00:00
Donald Woods 0a7765ecaf OPENJPA-1712 switch validation providers from Hibernate to Apache BVAL to match trunk and to fix Java SE 5 testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983972 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:48:15 +00:00
Donald Woods df61400a8c OPENJPA-1712 cleanup some whitespace formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983965 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:41:55 +00:00
Donald Woods 697b34b9ee OPENJPA-1712 Upgrade builds to use Apache hosted Nexus repo. Backported from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983230 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 14:00:37 +00:00
Donald Woods 010870ed56 OPENJPA-1712 Some POM cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983095 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 18:49:38 +00:00
Michael Dick 4a1501ed9d OPENJPA-1749: Throw exception when incompatible configuration options are set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@980199 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 20:32:42 +00:00
Michael Dick dba341a7d9 Fix timing window with TestTimestampVerson and MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979755 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:45:13 +00:00
Michael Dick d20e84a294 OPENJPA-1722, OPENJPA-1690: Make DistinctResultList serializable, and add writeReplace method.
Submitted by: Dianne Richards and Pinaki Poddar

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979418 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:43:36 +00:00
Michael Dick 426db6e2b6 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries. Merged from Catalina's changes for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979375 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:32:01 +00:00
Michael Dick 2b92c3586a OPENJPA-1742: setting eol-style native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966730 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 16:22:16 +00:00
Michael Dick f847c41369 OPENJPA-1742: add documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966702 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:06:07 +00:00
Michael Dick d39c580688 OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966602 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:58:16 +00:00
Michael Dick 51805b02f0 OPENJPA-1743: reverting in 2.0.x at least for now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966496 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 03:49:38 +00:00
Patrick Linskey a6f62b829c resolves OPENJPA-1743: anchors in mappingtool config invocation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966482 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 02:43:16 +00:00
Donald Woods b0b74b2b58 OPENJPA-1735 Mark commons-logging as provided in the build to remove transient maven dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966426 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 21:32:05 +00:00
Donald Woods 6595dac6b0 OPENJPA-1637 Upgrade to latest Geronimo Specs for JPA2 and Bean Validation which fixes some OSGi metadata and service registry for Apache Aries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966391 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:55:59 +00:00
Donald Woods 3a993a604e OPENJPA-1737 Fix the openjpa bundle creation so MANIFEST.MF is the first artifact entry
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966359 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:56:25 +00:00
Michael Dick bfffc19ab6 OPENJPA-1714 Added Optimistic check as part the logic for setting the default lock mode for named queries in order to retain 1.x behavior.
Original changes made in trunk by Jeremy Bauer

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966333 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:00:18 +00:00
Michael Dick 1d667e8d67 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
Originally fixed in trunk by Catalina Wei

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966307 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:42:02 +00:00
Michael Dick e34e85396e OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966225 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 13:42:53 +00:00
Michael Dick a2d0e05649 OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method. Merged to 2.0.x - submitted by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@965610 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 20:02:23 +00:00
Michael Dick dcb8e626a3 OPENJPA-1713: correct the push/pop clean up processing in EntityManagerImpl _plans map.
Submitted By: Albert Lee

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961473 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:40:10 +00:00
Catalina Wei 5f2d51e23e OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
fix testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei d7a9cdf3de OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
add testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Michael Dick ae5c2c881e OPENJPA-1678: Update documentation re: PrintParameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@955385 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:08:46 +00:00
Michael Dick 939b1b5a95 OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@955073 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 22:26:47 +00:00
Michael Dick 3963e82692 OPENJPA-1641: Try JDBC standard column names as well as Sybase specific ones
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@954567 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 17:52:29 +00:00
Richard G. Curtis 3ee3f24400 OPENJPA-620: Update CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@953136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 19:57:32 +00:00
Fay Wang 65bf030d71 OPENJPA-1596: port the change to 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@950604 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 15:42:20 +00:00
Richard G. Curtis ebd07c943a OPENJPA-1673: Update 2.0.x docs for MetaDataRepository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@946733 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 18:05:01 +00:00
Richard G. Curtis 33315f6496 Update svn:ignore for openjpa-integration\daytrader
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@946729 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 18:01:33 +00:00
Donald Woods 44e8ae25cf OPENJPA-1660 Add support to test with Apache Bean Validation provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@943157 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 15:54:42 +00:00
Michael Dick 6dd93052c8 OPENJPA-1622: setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@940549 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:12:10 +00:00
Donald Woods eaf2cb0417 strip eol chars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@939897 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:36:19 +00:00
Donald Woods b31de158c8 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/branches/2.0.x@939893 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:17:51 +00:00
Michael Dick 2edfd4fa5c Update manual on difference between nullable=false and optional=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@939452 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:54:58 +00:00
Donald Woods 32dad9975e 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/branches/2.0.x@936865 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 14:27:37 +00:00
Donald Woods 7f6d88f8a4 OPENJPA-1639 Create some simple openjpa-xmlstore tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@936860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 14:13:00 +00:00
Richard G. Curtis cb34b9f07f OPENJPA-1638: Add new testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@936453 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:18:14 +00:00
Richard G. Curtis e42f17fa48 OPENJPA-1604: Doc update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@936440 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 18:54:35 +00:00
Pinaki Poddar 26bd0a50c8 OPENJPA-1682: Merge doc change from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935970 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 15:58:23 +00:00
Donald Woods 14b6a637de [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935684 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:42 +00:00