Commit Graph

3904 Commits

Author SHA1 Message Date
Richard G. Curtis 643c87437b OPENJPA-1415: Back out some of previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005657 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 22:41:26 +00:00
Richard G. Curtis 7c6c7f2d02 OPENJPA-1415: Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005642 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 21:26:53 +00:00
Michael Dick 8f587779d6 Excluding tests for sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005636 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 21:00:23 +00:00
Richard G. Curtis b67e3d83ac OPENJPA-1801: Add missing test Entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005044 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 14:02:06 +00:00
Richard G. Curtis 426dce3867 OPENJPA-1801: Remove debug.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005016 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 13:15:39 +00:00
Richard G. Curtis 54bef663e7 OPENJPA-1801: Refactor cache statistics.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004818 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 21:12:52 +00:00
Michael Dick a67852d2c0 Set table names for attach entities in kernel.common.apps.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004759 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 18:25:17 +00:00
Michael Dick b664ab8b94 Make column names consistent for cache tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 17:02:32 +00:00
Kevin W. Sutter 4230248357 Updating documentation to remove the restriction of using only a single type of access (field or property) for each class. As of JPA 2.0, this restriction no longer applies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004701 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 16:30:01 +00:00
Kevin W. Sutter 93357de778 Update ExternalValue testcase to show a "common" boolean to char mapping...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004441 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 21:34:20 +00:00
Milosz Tylenda 5a98879567 OPENJPA-1691: Support XML strings longer than 4000 bytes on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:46:38 +00:00
Albert Lee 8fa232c933 revert r1003634 "<useSystemClassLoader>true</useSystemClassLoader>" change that caused failure in TestEnhancementWithMultiplePUs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004017 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 18:03:38 +00:00
Milosz Tylenda ccd2dde6dc Remove outdated comment related to metamodel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003828 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 16:24:50 +00:00
Milosz Tylenda 8f5bc3cd56 OPENJPA-1821: Upgrade Commons DBCP to version 1.4.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003825 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 16:07:18 +00:00
Donald Woods 2f996c2883 revert o-m-p usage added in r1003657
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 22:13:41 +00:00
Donald Woods d58eaa98ee try using o-m-p instead of antrun to reduce memory overhead. this is a temp change, as enhancing takes 5x longer with o-m-p...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003657 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:35:50 +00:00
Donald Woods c92c435728 minor pom updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:24:41 +00:00
Fay Wang a4080f46f5 OPENJPA-1819: if there is a group-by clause, orderby_item must be in the group-by list
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003317 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 22:07:11 +00:00
Richard G. Curtis 1f64b37ec5 Misc test update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 21:29:00 +00:00
Donald Woods c7a08227a3 OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods fce1fe0972 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002795 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 18:10:54 +00:00
Pinaki Poddar fb7a54909d Adding an example of query target policy. A service URI support. And comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002780 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:40:31 +00:00
Donald Woods 4aa5b43825 OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Richard G. Curtis 6dbe665329 Misc test cleanup.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002630 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 13:55:57 +00:00
Catalina Wei cde2a4aaf2 OPENJPA-1814: JPQL fails with Group By and Having aggregate_expression IN (subquery)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:36:54 +00:00
Donald Woods ed85f020fd OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Michael Dick 9f392edc9d fix typo in db2 configuration property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000594 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 19:50:42 +00:00
Michael Dick 06537153ca Remove compiler warnings in AbstractStoreManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000572 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 18:42:33 +00:00
Donald Woods d079a88733 OPENJPA-1804 Add note that dynamic enhancer behaves the same as the javaagent loaded enhancer, in that when a <class> list is given in the PU, then only those classes will be enhanced.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000445 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 13:01:27 +00:00
Michael Dick 474c1b60c9 OPENJPA-1790: Added ProxyConcurrentMaps class (minor formatting changes from Jody's patch)
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 02:20:07 +00:00
Donald Woods cccd4c799d OPENJPA-1811 Dynamic load of enhancer agent on Mac OS X fails
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000209 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 20:41:15 +00:00
Jeremy Bauer 9b105a2f00 OPENJPA-1809 Modified syncVersion exception path to pass the lock level into the exception producer. This eventually allows the exception translator to correctly decide whether the exception was the result of a lock timeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999559 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:27:08 +00:00
Donald Woods b76ab3884e OPENJPA-1804 change subclassing w/o redefinition from a info to warn level logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 14:09:17 +00:00
Donald Woods 782b86628c add missing SolidDB profile and other connection.url examples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999083 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:33:57 +00:00
Richard G. Curtis f4fc93c128 OPENJPA-1807: Add trace to EM/EMF create/close path.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999077 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:28:46 +00:00
Michael Dick e5f835fbd0 Recover from failed assertion in TestTimeoutException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@998196 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 16:48:49 +00:00
Donald Woods 9b1577b6f1 OPENJPA-1786 temporary workaround until we hear back on our challenge from Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@998107 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 13:00:08 +00:00
Michael Dick 6f67c88603 convert long->string in testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997925 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 21:01:03 +00:00
Michael Dick f943cc83b2 reverting 997888 - committed wrong testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997894 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:47:47 +00:00
Michael Dick c1b941f3d1 OPENJPA-1800: revert trailing whitespace variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997890 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:44:37 +00:00
Michael Dick a093e9daa6 OPENJPA-1800: prevent duplicate column in SybaseDictionary.getCreateTableSQL()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997889 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:37:20 +00:00
Michael Dick b877e90db8 convert long->string in java - database might not support implicit conversion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997888 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:27:53 +00:00
Donald Woods 0fd180d95a OPENJPA-1786 add ability back in to run sub-buckets based on -Djpatck.pkg.dir by using ant-contrib for if/then/else support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997435 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:06:25 +00:00
Donald Woods eaaecc5043 upgrade to Hibernate 4.0.2.GA as the optional Bean Validation provider for integration tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997432 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:02:32 +00:00
Catalina Wei c110e0d28a OPENJPA-1798: Improve messages in localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997373 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 15:52:34 +00:00
Richard G. Curtis 679fee98d6 Fix capitalization localizer.properties file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997354 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 14:42:44 +00:00
Michael Dick dd36c1d629 add profile for testing sybase with jConnect
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997041 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 19:01:18 +00:00
Albert Lee 243b443983 OPENJPA-1791 Collect test base classes in daytrader module.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996637 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:46:44 +00:00
Donald Woods 8cf2d1d259 OPENJPA-1791 remove obsolete depends on openjpa-testsupport
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996618 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 17:53:00 +00:00
Michael Dick 208347e88d OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:11:19 +00:00