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
Michael Dick
8d032a0d62
OPENJPA-1875: Add generics to graph code.
...
Submitted By: Guy Korland
M openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/BreadthFirstWalk.java
M openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java
M openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Graph.java
M openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1138467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:54:05 +00:00
Richard G. Curtis
053d81db95
OPENJPA-1803: Add support for obtaining a connection via EntityManager.unwrap. Patch contributed by Sebastian Laskawiec.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1138059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:46:46 +00:00
Michael Dick
cd486f73f5
OPENJPA-2017: Comment out constant count for AutoDetach - less error prone than storing an offset.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137728 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 18:15:10 +00:00
Pinaki Poddar
f054aa705b
OPENJPA-2017: Modify test to adjust for changes in AutoDetach constant
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137659 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:25:12 +00:00
Michael Dick
27e0e704ad
OPENJPA-2008: Setting svn eol-style for DistributedSQLStoreQuery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137651 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:09:37 +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
41f09d9226
OPENJPA-2008: Draft support for native SQL in Slice
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135806 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:33:28 +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
Michael Dick
a7778ff6a9
Use clear tables with TestOrderColumn
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135600 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:24:41 +00:00