Commit Graph

1164 Commits

Author SHA1 Message Date
Pinaki Poddar 905500dd19 Checkstyle problems
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1162349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:39:46 +00:00
Pinaki Poddar 18fed4dd53 OPENJPA-2030: Refactor AuditManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1162163 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 16:54:04 +00:00
Pinaki Poddar 5e073afe94 OPENJPA-2030: Audit is inactive by default
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161622 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 16:11:08 +00:00
Albert Lee 184922df56 OPENJPA-2030 Add newline to EOF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161618 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 16:00:50 +00:00
Pinaki Poddar ab5e97d06d OPENJPA-2030: Fix Checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161580 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 14:37:51 +00:00
Michael Dick cdd53067bf OPENJPA-2030: set eol-style on new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161564 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 13:32:15 +00:00
Pinaki Poddar 8996376462 OPENJPA-2030: First version of Audit facility
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 01:06:39 +00:00
Pinaki Poddar a35c187d8f OPENJPA-2030: First version of Audit facility
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161348 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 01:06:11 +00:00
Albert Lee d99c5c06c3 OPENJPA-2043 make cached hashcode non-transient and avoid using variant hashcode from Class object.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160528 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 02:34:48 +00:00
Michael Dick 78d8843009 OPENJPA-2040: Default to non-strict MetaData and Mapping Factories when a user provided factory class is set.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1159318 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 17:20:04 +00:00
Heath Thomann 3598a2d8eb OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155394 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 15:21:06 +00:00
Richard G. Curtis 45bceaa991 OPENJPA-2035: Backing out previous changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1154992 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 15:32:39 +00:00
Michael Dick 4412599698 OPENJPA-2036: Check JAVA_HOME for lib/tools.jar for all java vendors, not just IBM.
Submitted By: Jason Pyeron

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1151885 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:03:04 +00:00
Richard G. Curtis 868035a540 OPENJPA-2035: Remove JMock from imports from testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150810 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 17:51:41 +00:00
Richard G. Curtis 139cd88d35 OPENJPA-2035: Fix testcase to run from cmd line.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150757 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 15:49:06 +00:00
Michael Dick 22356a66e7 OPENJPA-2035: setting svn:eol-style on new file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 13:46:15 +00:00
Richard G. Curtis 03f054f8c9 OPENJPA-2035: Allow distributed cache(s) operate without needing domain classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150346 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 12:54:45 +00:00
Michael Dick 928aa703cb OPENJPA-2027: Use SingularAttribute for unannotated arrays. ListAttribute for @PersistentCollections
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143519 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:17:36 +00:00
Milosz Tylenda 8a85ffb402 OPENJPA-487: Simplify generated SQL for SUBSTRING and LOCATE JPQL functions by switching from JDO style to JPA style in expressions. SUBSTRING parameters are still inlined to support grouping by SUBSTRING.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1142426 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 12:32:03 +00:00
Pinaki Poddar 31c0249e14 OPENJPA-2017: Adding DEATCH.NONE option. Retry commit after local test run
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141556 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 14:54:31 +00:00
Richard G. Curtis c8c6c9d68c OPENJPA-1986: Remove newly added serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141158 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:46:18 +00:00
Richard G. Curtis 01082363b7 OPENJPA-2020: Undo some of previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:00:54 +00:00
Michael Dick 3a2d50e011 OPENJPA-1768: Check whether the broker is already loading before recursively loading an entity from datacache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1140315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:59:01 +00:00
Richard G. Curtis ba7f21fcf1 OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1140197 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:06:21 +00:00
Michael Dick f0fbbaa26a OPENJPA-2017: Changes cause test failures in openjpa-lib. Reverting for now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137645 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 14:54:58 +00:00
Pinaki Poddar db960fbeae OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135857 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 23:51:18 +00:00
Pinaki Poddar 9be9d836c4 OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135776 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 20:18:20 +00:00
Pinaki Poddar 0046a656c9 Print configuration array values properly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135320 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:17:40 +00:00
Richard G. Curtis cc3c3eb055 OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134726 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 19:00:01 +00:00
Heath Thomann cabf34a6fd OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134128 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 23:16:09 +00:00
Michael Dick 8ef3f3db35 OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133900 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:49:11 +00:00
Pinaki Poddar 0de12ed492 OPENJPA-2012: Support in-memory MIN()/MAX() on non-numeric types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:50:30 +00:00
Michael Dick 0bcded74e1 OPENJPA-2010: Check line number and source file before logging duplicate meta data warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:19:03 +00:00
Jeremy Bauer 81c46c503f OPENJPA-2006 If flushing, also pre-flush non-provisional entities to allow sequence ID population.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127573 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:11:47 +00:00
Michael Dick 1148ba809d OPENJPA-1995: detect mixed parameter types in JPQL query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101289 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 02:42:30 +00:00
Michael Dick 26aa776627 OPENJPA-1992: Throw exception if a JPQL query is missing the first positional parameter
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100787 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 18:39:07 +00:00
Jody Grassel 6fc7d55a09 OPENJPA-1993: Deadlock Potential with XML ORM Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100363 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:22:23 +00:00
Richard G. Curtis 1b8ce008b2 OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097209 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 19:16:36 +00:00
Pinaki Poddar bb50bc3caf Reduce verbosity of missing canonical meta-classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096937 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 22:39:12 +00:00
Michael Dick 76552a11fd remove casts for broker factory aliases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:54:27 +00:00
Albert Lee 9ea0354f1b OPENJPA-1984 - Skip non-root object validation when performing remove(root object). Let's validation provider to perform root object validation so that the contraint violation can report the correct root bean.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 16:00:52 +00:00
Richard G. Curtis 354eb3078e OPENJPA-1983: Don't cascade to an unloaded field when merge is called on a managed Entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095401 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 13:27:56 +00:00
Jeremy Bauer e6b590d73d OPENJPA-1966 Updated attach strategies to query attach cache before going to the broker for entity references. Prevents merging in a detached entity that is being used for field attachment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:32:41 +00:00
Richard G. Curtis 9b5fa5152a OPENJPA-1960: Allow openjpa.InitializeEagerly to be used with BV.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084349 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 20:50:21 +00:00
Richard G. Curtis 7eb317e488 OPENJPA-1928: Fix @Factory method resolution when name is ambiguous. Patch contributed by Edward Sargisson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084280 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:23:28 +00:00
Richard G. Curtis 2cfb4f6232 OPENJPA-1944: Properly handle a null version field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084265 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:41:58 +00:00
Jeremy Bauer 0971bd301c OPENJPA-1787 Fixed VLEM hasUpdateListeners & hasPersistListeners methods and added additional validation test cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1082259 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:48:11 +00:00
Michael Dick d3d944ccd2 OPENJPA-1959: make runtime exception translator transient
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080978 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 19:05:55 +00:00
Jeremy Bauer 6fdcebd673 OPENJPA-1787 Updated "new entity" merge path through AttachManager and BrokerImpl to refrain from firing a pre-persist event before the state of the merged entity is copied to the new entity. Test cases based upon code provided by Oliver Ringel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080751 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 20:29:50 +00:00
Albert Lee 0c37fc6e57 OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00