Commit Graph

4272 Commits

Author SHA1 Message Date
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
Michael Dick c159730005 OPENJPA-1725: Ignore schema when checking the length of a table name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101243 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 22:09:40 +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
Michael Dick c00af8d5e8 Remove @AllowFailure in passing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099900 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:02:18 +00:00
Michael Dick 849a77b5d3 OPENJPA-1994: Add index to reserved words for MySQLDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099899 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:01:54 +00:00
Richard G. Curtis f9c5a20200 OPENJPA-1990: Skip calling back to DB2 when an exception is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097826 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:54:20 +00:00
Richard G. Curtis fb91730361 Fix test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097536 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:30:11 +00:00
Richard G. Curtis d450910b0a OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097517 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:00:58 +00:00
Michael Dick b6ddcab383 OPENJPA-1987: do not use null table for getImportedKeys in postgres dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097465 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:06:41 +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
Michael Dick 69fd9dbad9 OPENJPA-1985: Check for abstime as a timestamp type for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097160 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:00:37 +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
Milosz Tylenda d1d356c151 OPENJPA-1932: Documentation update: Add information about other lock-related methods to the entity locking section.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096425 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 07:49:27 +00:00