Commit Graph

3687 Commits

Author SHA1 Message Date
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
Fay Wang 35205c46ac OPENJPA-1784: clean up fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995596 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:35:19 +00:00
Donald Woods d3ca8f3cc4 merge in release note updates from 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995542 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 19:03:16 +00:00
Michael Dick 9ec516a346 OPENJPA-1782: setting eol-style
MM   TestDoubleQuotedStringLiteralInJPQL.java


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995469 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:41:03 +00:00
Donald Woods 00b99e267f OPENJPA-1784 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 14:09:12 +00:00
Fay Wang 9c25bd1633 OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Donald Woods 9a0f463d6c OPENJPA-1786 Upgrade to the latest jpatck-2.0_15-Jun-2010 level
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995072 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 14:46:46 +00:00
Catalina Wei f5dbf21ca5 OPENJPA-1782: Accept double quoted string literal in JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@993601 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 04:54:47 +00:00
Michael Dick 4628962d2a OPENJPA-1372: Add testcases - no mainline code changes.
Submitted By: Pinaki Poddar and Milosz Tylenda

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@993552 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 22:47:13 +00:00
Pinaki Poddar 238beccbfd Delete redundant classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@992533 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 04:20:16 +00:00
Milosz Tylenda 7569f437db OPENJPA-6: Implement JDBC 3 and JDBC 4 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990349 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:52:47 +00:00
Pinaki Poddar f56c4ca729 OPENJPA-1776,OPENJPA-1777: Delay distribution decision to flush. Set diagonistic context by reflection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:33:37 +00:00
Donald Woods f80e2398fa OPENJPA-6 fix line length, which must be <=120 for checkstyle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990231 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:14:38 +00:00
Milosz Tylenda 96ee7d32e9 OPENJPA-6: Implement JDBC 4 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990218 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 18:05:34 +00:00
Pinaki Poddar 52f468bf3b Use generalized environment variables instead of hard-coded paths
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990208 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 16:58:37 +00:00
Milosz Tylenda da688116d5 OPENJPA-735: Fix spelling in method name and comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990085 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:22:45 +00:00
Milosz Tylenda 3ba73bc59f OPENJPA-6: Replace JDBC 3 reflection with direct method calls.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990081 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:06:52 +00:00
Donald Woods dc42b99108 OPENJPA-1712 Merged in from 2.0.x - turn off creation of sources.jar for developer builds and fix test-java5 profile by adding m-compiler-p back in
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@989848 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 17:53:22 +00:00