Commit Graph

4272 Commits

Author SHA1 Message Date
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 8daa92c745 OPENJPA-2030: Audit documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161350 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 01:08:14 +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
Pinaki Poddar 2a75640c21 Correct artifact id for jai libraries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161319 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 23:37:35 +00:00
Pinaki Poddar 9cf12d186b Add error code for SQLServer database
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161289 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 21:33:48 +00:00
Pinaki Poddar 3cfadba263 Relocate org.apache.openjpa.jdbc.kernel.MixedLockManager configuration to JDBC product derivation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161288 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 21:32:22 +00:00
Heath Thomann 3842a3d1a9 OPENJPA-1691: Made update to localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160891 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:38:37 +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
Milosz Tylenda dbf066de8e OPENJPA-867: Use 3-argument version of LOCATE-like SQL function where possible, instead of a trick with SUBSTRING.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160003 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 15:34:37 +00:00
Albert Lee 49f069f268 Refactor/remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1159795 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 22:06:29 +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
Richard G. Curtis ea499a8ed6 OPENJPA-2039: Update javadoc and minor formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1158364 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 16:39:40 +00:00
Richard G. Curtis e032624813 OPENJPA-2039: Update configuration properties.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1158027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:54:40 +00:00
Michael Dick 27a7e91688 Add order by to query. Testcase was failing on DB2 and Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1157928 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 17:56:29 +00:00
Richard G. Curtis 42099529a2 OPENJPA-2039: Select FKs for fields that are in the DFG, but not in active fetchplan.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1157903 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 16:36:07 +00:00
Michael Dick eb7fb7421f OPENJPA-2038: Add tests for tablename including schema
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1156340 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:47:24 +00:00
Richard G. Curtis 29213af88a OPENJPA-1803: Fix EM.unwrap(java.sql.Connection.class) to account for a non-jdbc(sql) backed store.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155500 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 19:17:07 +00:00
Michael Dick 67d00f4fca Add quotes for for literal curly braces in message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155475 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:46:04 +00:00
Michael Dick 1b55762471 Add example for connection pooling with slice.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155474 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:45:58 +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
Heath Thomann 529827b0fb OPENJPA-1376: Added property for forward compatibility, documented property and migration considerations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155358 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:30:29 +00:00
Heath Thomann 8a7ef392f3 OPENJPA-1691: Added property for forward compatibility, documented property and migration considerations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155056 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 18:53:55 +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
Richard G. Curtis 6439d3ebdf OPENJPA-2029: Fix Entity compile bug.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1153176 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 16:07:52 +00:00
Richard G. Curtis 692b0cc7fa OPENJPA-2029: Add additional tests for query named to positional parameter conversion. Patch contributed by Jacob Nowosatka.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1153150 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 14:46:51 +00:00
Michael Dick c053d371d3 Exclude antruntime when building samples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1152362 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 20:10:24 +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 9a974626fd OPENJPA-2034: Update error codes for H2 database.
Submitted By: Prashant Bhat

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149697 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:20:57 +00:00
Michael Dick eb4e83fa27 OPENJPA-2000: Update realTypeName for Postgres to match the Postgres manual.
Submitted By: Jacob Nowosatka

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149387 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 21:58:24 +00:00
Michael Dick de47911079 OPENJPA-1343: Fix openjpa.Sequence example.
Submitted By: Jacob Nowosatka

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149380 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 21:52:05 +00:00
Milosz Tylenda 81f032dd60 OPENJPA-1932: Documentation update: Correct the example on disabling prepared SQL cache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149322 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 19:13:29 +00:00
Michael Dick a295b563da OPENJPA-2031 : configure included and excluded plugins when using the m2eclipse plugin for eclipse.
Submitted By: Jacob Nowosatka

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1148372 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 14:52:46 +00:00
Albert Lee 391c4c2117 Fix sample code typo; em -> emf.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1146252 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 19:17:14 +00:00
Milosz Tylenda dae5ba7def OPENJPA-487: After simplifying SQL generation for LOCATE function, the function works on Firebird 2.1 (wow!).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143985 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 19:15:42 +00:00
Michael Dick ff4dc0c5ce OPENJPA-2025: Generate SingularAttribute for unannotated arrays, ListAttribute will be used for @PersistentCollections.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:18:43 +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 bfa48697eb OPENJPA-2024: Ignore non-canonical fields during metamodel assignment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141583 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:52:11 +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