Commit Graph

3477 Commits

Author SHA1 Message Date
Richard G. Curtis 1738c1f33b OPENJPA-1717: Disable FinderCache statistics by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961017 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 21:31:12 +00:00
Richard G. Curtis 17246f5ff2 OPENJPA-1692: Backing a previous change while investigating a test failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961008 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:24:58 +00:00
Richard G. Curtis 020b24e008 Update TestAutoIncrement to not run on Oracle and SQLServer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961000 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:03:25 +00:00
Michael Dick 5668a18ec0 OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:06:14 +00:00
Richard G. Curtis 2400bacd05 OPENJPA-1707: Log a warning message when a down level Entity is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Donald Woods d7c6f97a83 OPENJPA-1712 Don't publish tck POM to repos
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959376 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 16:59:03 +00:00
Albert Lee 4d5d3a6aed OPENJPA-1713 correct the push/pop clean up processing in EntityManagerImpl _plans map.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959352 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 15:37:17 +00:00
Donald Woods 7a1abe052b add empty relativePath to remove maven warning as suggested by David Jencks. also upgraded to latest apache-7.pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959279 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 12:24:04 +00:00
Pinaki Poddar 84c7dde7e6 Add missing source
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959003 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 15:03:52 +00:00
Michael Dick 45c555606d OPENJPA-1697: setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958597 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 14:57:33 +00:00
Milosz Tylenda 2f10cd4520 OPENJPA-6: Implement JDBC 3 methods in delegates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958120 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 21:34:46 +00:00
Albert Lee b27485bd8b OPENJPA-1708 - Change a message logging from info to trace and correct supported log levels in manual.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958018 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 16:13:53 +00:00
Richard G. Curtis 20f2966ea1 Update TestClearableScheduler to use a Vector for multithreaded test rather than an ArrayList
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:32:06 +00:00
Milosz Tylenda 8781af1e88 OPENJPA-1689: Coorect a comment and remove unused import statements.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957831 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 07:53:24 +00:00
Jeremy Bauer e372349aeb OPENJPA-1689 Provide better determination of PostgreSQL db owned sequences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957715 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 21:06:47 +00:00
Richard G. Curtis a88939693b OPENJPA-1701: Remove warning message from EntityManager.refresh(...) method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957709 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 20:43:19 +00:00
Jeremy Bauer f5639bb801 Fixed context root for secure WAS install
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957253 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 15:43:42 +00:00
Donald Woods 51cf5ee59e OPENJPA-1700 Findbugs - add commented out annotation so we'll ignore this in the future
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956990 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 19:32:51 +00:00
Donald Woods ee314e9586 OPENJPA-1700 FindBugs - ignore this warning and rollback previous changes in r956705
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956959 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 17:27:41 +00:00
Donald Woods e3075014f3 OPENJPA-1700 FindBugs - Should be a static inner class. This class is an inner class, but does not use its embedded reference to the object which created it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956952 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:55:56 +00:00
Donald Woods d5fc007b70 OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956939 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:13:27 +00:00
Donald Woods 2747862d5f OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator. Noticed this duplciated code while looking to resolve the entrySet warning.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:13:04 +00:00
Donald Woods 75bd5fe6a7 OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator. Also, inefficient use of temporary Map when results can be used immediately
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956883 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:31:01 +00:00
Donald Woods af772a734b OPENJPA-1700 FindBugs - Method invokes inefficient new String() constructor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956878 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:16:01 +00:00
Richard G. Curtis a7c61414ca OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956875 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:08:35 +00:00
Donald Woods c047527a4f OPENJPA-1700 FindBugs - Method may fail to clean up stream or resource
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956757 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 01:20:03 +00:00
Donald Woods 40d808099d OPENJPA-1700 FindBugs - Usage of GetResource may be unsafe if class is extended. Use DBDictionary.class.getResourceAsStream() like other places in the code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956705 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:32:46 +00:00
Donald Woods 18e329cf4e OPENJPA-1700 FindBugs - Suspicious reference comparison of Boolean values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956702 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:22:11 +00:00
Donald Woods 702fb78b14 OPENJPA-1700 FindBugs - equals() method does not check for null argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956696 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:16:37 +00:00
Donald Woods 004cbd9644 OPENJPA-1700 FindBugs - extraneous checks for null as a NPE would have already occurred
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956693 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:01:34 +00:00
Donald Woods 5e8b5afc72 OPENJPA-1700 FindBugs - was checking array and not member for null
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956687 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 20:39:47 +00:00
Donald Woods cbe90d792b use released Apache Bean Valdiation 0.1-incubating artifacts. Move some common dependency versions to parent POM.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956672 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 19:12:34 +00:00
Catalina Wei 3f79c25dfc OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955806 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:47:25 +00:00
Catalina Wei eac9c66b74 OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955805 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:41:16 +00:00
Catalina Wei dbaf9fa67e OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
Fix compile errors

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955581 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 13:07:21 +00:00
Catalina Wei 832b5048bd OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
backout changes - regression in xmlcolumn mappings

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955474 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 04:06:56 +00:00
Pinaki Poddar a79a96b86c OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955425 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:22:31 +00:00
Donald Woods 2e827c5eab OPENJPA-1700 FindBugs - Possible null pointer dereference; There is a branch where em1 would not get set.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955402 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:31:23 +00:00
Fay Wang 34a865c5bd OPENJPA-1699: clean up code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955400 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:28:11 +00:00
Donald Woods bc67e474bc OPENJPA-1700 FindBugs - Possible null pointer dereference; the clss cehck against null 3 lines up doesn't protect against a null value here
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955399 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:25:44 +00:00
Donald Woods 13002d2025 OPENJPA-1700 FindBugs - Possible null pointer dereference; strName could be set to null.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955394 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:17:57 +00:00
Michael Dick 7028247229 OPENJPA-1678: Update documentation re: PrintParameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955383 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:03:04 +00:00
Donald Woods cb099098ca OPENJPA-1700 FindBugs - Possible null pointer dereference; Could be caused by using bitwise instead of logical AND. This could also have lead to unexpected code behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955382 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:03:02 +00:00
Donald Woods f82b866318 OPENJPA-1700 FindBugs - Null pointer dereference; changeRow was not being set before being used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955381 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 20:59:58 +00:00
Donald Woods 8084af124c OPENJPA-1700 FindBugs - Call to equals() comparing different types. Make explicit call to getName() instead of relying on toString() to call it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955379 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 20:56:15 +00:00
Fay Wang 7450df02a4 OPENJPA-1699: Streaming LOB support for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955283 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:07:14 +00:00
Donald Woods 8a2b1c1f08 OPENJPA-1700 FindBugs - Method invokes inefficient Number constructor; use static valueOf instead
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955046 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:53:38 +00:00
Donald Woods 5e2f6c2288 OPENJPA-1700 FindBugs - Method concatenates strings using + in a loop - use StringBuffer instead.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955031 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:07:41 +00:00
Ravi Prakash Palacherla efa71484df OPENJPA-1695 OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954979 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:47:02 +00:00
Michael Dick 152e5d2d4f OPENJPA-1696: setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954905 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:16:06 +00:00