Commit Graph

3481 Commits

Author SHA1 Message Date
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
Richard G. Curtis 703bd8db8a OPENJPA-1692: Revert some of previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:10:46 +00:00
Richard G. Curtis 14cfcaa3cc OPENJPA-1692: Clean up extra initialization from PersistenceProviderImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954891 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:04:26 +00:00
Donald Woods 2230521c78 OPENJPA-1700 FindBugs - Exception is caught when Exception is not thrown. This method uses a try-catch block that catches Exception objects, which could mask potential bugs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954697 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:38:42 +00:00
Donald Woods 4d5d2fb2bf OPENJPA-1700 FindBugs - A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954696 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:16:27 +00:00
Donald Woods 73692a6d32 OPENJPA-1700 FindBugs - This method might drop an exception. In general, exceptions should be handled or reported in some way, or they should be thrown out of the method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954695 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:15:13 +00:00
Donald Woods 72ddd27a00 OPENJPA-1700 FindBugs - Suspicious reference comparison of Boolean values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954694 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 02:09:06 +00:00
Donald Woods bc6c92ca64 OPENJPA-1700 Findbugs - The initial value of this parameter is ignored, and the parameter is overwritten here. This often indicates a mistaken belief that the write to the parameter will be conveyed back to the caller.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954689 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 01:29:53 +00:00
Pinaki Poddar 3865aedfaa OPENJPA-1686: Upgrade to Java runtime version 5. Remove reflection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954678 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:09:17 +00:00
Pinaki Poddar 2d21d726ab OPENJPA-1686: Support when a parameterized type has parameterized type arguments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954667 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 23:10:55 +00:00
Donald Woods 69b8e4a1fd OPENJPA-1700 Setup findbugs-maven-plugin to allow for manual usage
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954654 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 21:38:14 +00:00
Richard G. Curtis 15d2f36ab0 OPENJPA-1692: Rename TestBrokerFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954532 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:06:31 +00:00
Catalina Wei d781b913d1 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@954345 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 01:47:08 +00:00
Catalina Wei 493bfe0e14 OPENJPA-1696: Type discriminator for polymorphic queries limited to Single Table inheritance
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954007 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 14:05:43 +00:00
Richard G. Curtis 3905b52a90 OPENJPA-1692: Update method signature for BrokerFactory.getInstance(...) to take a classloader.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953830 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 18:51:47 +00:00
Richard G. Curtis ea8dc8b630 OPENJPA-1692: Add post creation callback to BrokerFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 16:37:30 +00:00
Pinaki Poddar 59c7001e09 OPENJPA-1686: Support when a parameterized type has parameterized type arguments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953717 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:14:24 +00:00
Michael Dick 6b38f0cb8e OPENJPA-1678: delete tests which write to log files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953182 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 23:04:48 +00:00
Michael Dick 323ebee840 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/trunk@953169 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:48:44 +00:00
Pinaki Poddar 939f644e77 OPENJPA-1690: Make DistinctResultList serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953165 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:21:02 +00:00
Richard G. Curtis 8de998f90b OPENJPA-620: Update CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953138 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 20:02:48 +00:00
Donald Woods ddda5ee6a0 only run apache-rat on common source files during normal builds and move the strict checking back to the release profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953040 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 15:18:43 +00:00
Pinaki Poddar 10a056a073 OPENJPA-1686: Remove incompatibility of FieldMapping strategy -- not true anymore
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952984 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 12:52:19 +00:00
Pinaki Poddar d31ec1274b OPENJPA-1686: Refactor in RelationStrategies.isRelationId()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 12:03:15 +00:00
Pinaki Poddar a873065db7 OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Jeremy Bauer 9d33fe34b8 OPENJPA-1685 Updated ValidatorImpl to remove potential whitespace within a comma separated list of validation groups.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952730 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 16:41:27 +00:00
Michael Dick c68f1de780 add eol style to Images.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952465 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 22:24:44 +00:00
Pinaki Poddar 79b9583a46 OPENJPA-1682: Remove uncessary and incorrect method from Unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952386 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:36:44 +00:00
Pinaki Poddar fafc33b3cd OPENJPA-1682: Unique constraint to a column will imply the column to be non-nullable per database basis. The commit adds a new model in
internal schema design by making Column-Constraint relation bi-directional.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952371 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:08:49 +00:00
Richard G. Curtis 97232e67b4 OPENJPA-1612: Reverting change 942871 to restore previous behaviour.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952244 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 14:28:33 +00:00
Pinaki Poddar f03598fe59 OPENJPA-1683: Adding toString() on LongId to align with other built-in id toString(). May need to rollback if regresses existing systems
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951750 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 18:49:24 +00:00
Donald Woods dc265d929e run apache-rat:check during every build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951496 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 17:15:05 +00:00
Donald Woods a28d7ad275 add missing ASL 2.0 reference, so we can stop excluding these from rat:check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951491 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:56:47 +00:00
Donald Woods 299b54b61b add missing ASL 2.0 reference, so we can stop excluding these from rat:check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951490 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:55:52 +00:00
Donald Woods e8dbbfd63f add missing ASL 2.0 headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951489 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:48:33 +00:00
Donald Woods f0517dd09c add missing ASL 2.0 header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951487 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:47:10 +00:00
Donald Woods 4647f308c6 delete duplicate file that differs on in capitalization, which breaks svn update on Mac/Linux
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951479 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:30:28 +00:00
Pinaki Poddar 8db65104cf Image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951465 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:57:26 +00:00
Pinaki Poddar c3563ec823 Image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951464 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:56:10 +00:00
Pinaki Poddar 7b14267281 image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951463 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:53:16 +00:00
Pinaki Poddar 4937150c9a image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951460 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:51:54 +00:00
Pinaki Poddar 969693edff image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951459 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:50:43 +00:00
Pinaki Poddar e919a8fa01 image management
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951458 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:49:41 +00:00
Jeremy Bauer 6bdb269a8b Base source for JPA Bean Validation example
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 17:07:17 +00:00
Pinaki Poddar 632639bb62 Add images
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@950979 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 12:41:13 +00:00
Pinaki Poddar df01babdcf detect logged in user
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@950978 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 12:33:16 +00:00
Pinaki Poddar a89c57d229 Adjust image locations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@950977 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 12:31:46 +00:00