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
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
Michael Dick
be88506438
Add order by clause for TestOrderColumn which was failing on Sybase. Also cleaned up asserts and removed DROP_TABLES
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135273 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:50:24 +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
e9dd20c9e9
OPENJPA-1999: Optional support for non-sequential positional parameters - made additional changes, per Mike Dick, to QueryImpl ctor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134463 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 22:20:41 +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
b9e61a8923
OPENJPA-2013: Add TEXT to the fixed size type list for Derby and HSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133904 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:55:25 +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
Pinaki Poddar
14816f465b
Add code comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133602 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:37:58 +00:00
Pinaki Poddar
5cceefda8e
OPENJPA-1050: Use generics wherever possible
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133601 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:36:45 +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
Michael Dick
43b545eca4
OPENJPA-1725: Add documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133516 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 19:17:42 +00:00
Kevin W. Sutter
511fbec886
Minor update to find the code in the right place...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133403 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 13:56:03 +00:00
Jeremy Bauer
b6f39e246d
OPENJPA-2007 Replace mistakenly removed assertion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128008 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 17:57:27 +00:00
Jeremy Bauer
50bfa5d261
OPENJPA-2007 jUnit for fetch plan isolation query hint validation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128005 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 17:52:23 +00:00
Michael Dick
dcf90c68eb
OPENJPA-2005: check for unexpected (null) sequence names in PostgresDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 13:28:00 +00:00
Jeremy Bauer
7b0d1140ac
OPENJPA-2007 Updated supported hint set to include correct name for fetch plan level isolation hint.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127690 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:26:26 +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
Mark Struberg
350ed99379
add Intellij Idea artifacts to ignore rules
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1103328 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 11:34:15 +00:00
Richard G. Curtis
258cf99784
OPENJPA-1987: Do not use null table for getImportedKeys in Ingres dictionary.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1102784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 15:09:23 +00:00
Jody Grassel
64bd51ea04
OPENJPA-1996: OpenJPA Samples fail on MacOS X
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101989 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 17:24:01 +00:00
Richard G. Curtis
862e818e50
OPENJPA-1989: Flip FeildMetaData.DefaultFetchGroupExplicit flag when parsing ToOne xml relationships.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 16:19:04 +00:00
Michael Dick
aa88b32b06
OPENJPA-1725: make old behavior optional
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101519 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 16:00:44 +00:00
Michael Dick
1125b86310
OPENJPA-1725: cleanup comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101474 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 14:32:20 +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