Pinaki Poddar
931496e6ea
correct ordering of message parameters with actual message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 10:25:48 +00:00
Michael Dick
655ec577e9
OPENJPA-1218:
...
Evict subclasses automatically when called from JPA facade.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799764 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 22:54:25 +00:00
Michael Dick
ff932542e8
OPENJPA-1174:
...
Ensure lazy hint from mapping-file is handled the same as an annotation
Submitted by: Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799754 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 22:04:13 +00:00
Pinaki Poddar
385558d275
OPENJPA-1013: Clean up test cases. Make Path.get(String) generalized for Root/From. assert before String based navigation. Change ResultPacker. Make ParameterExpressionImpl.alias(String name) equivalent to setName().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799520 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 05:17:19 +00:00
Donald Woods
08d76bc36d
OPENJPA-1107 Provide TraversableResolver for use with Bean Validation Factory. Current TraversableResolverImpl behaves identical to the default JPA aware one that BV providers must implement, so not sure why we have to provide this yet....
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799491 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 02:13:04 +00:00
Pinaki Poddar
39cad98231
OPENJPA-1013: Add support for JPA 2.0 result processing. Modify kerenl's ResultPacking logic to asses impact for JPA 2.0"
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 22:42:04 +00:00
Pinaki Poddar
3ae614fc26
OPENJPA-1013: Add tests for multiselect()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799432 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 19:56:52 +00:00
Jeremy Bauer
9706a82960
OPENJPA-1175 Updated util methods to handle load state checking of embeddables and collections.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799425 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 19:34:33 +00:00
Michael Dick
b9d609a3b0
OPENJPA-1210:
...
Add properties for derby timeouts to pom.xml. Initially set deadlocktimeout to 5 and waitTimeout to 60 (Derby default).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 16:30:04 +00:00
Michael Dick
5f83298a95
OPENJPA-1211:
...
Adding brackets.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799346 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 16:05:12 +00:00
Fay Wang
5432ffecbb
OPENJPA-1211: check null value to prevent NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799340 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:57:31 +00:00
Michael Dick
d91fa6a2ac
OPENJPA-1211:
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799290 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 14:37:46 +00:00
Michael Dick
aa72c08d44
OPENJPA-1211:
...
Add getPath method to FromImpl.
Remove @allowFailure annotation from passing testcases in TestStringCriteria.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799289 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 14:36:53 +00:00
Albert Lee
d35e668190
OENJPA-1206 - Enable Java 2 security on BV buildDefaultValidatorFactory call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799155 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 02:09:02 +00:00
Catalina Wei
53805483fc
OPENJPA-1185 JPA2 fix thread-safe problems of subquery restructured code.
...
Committing patch provided by Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799134 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 23:53:46 +00:00
Donald Woods
16344b5b33
OPENJPA-1120 idEquals() broken in BigDecimalId and BigIntegerId. Patch contributed by Dieter Von Holten with additional updates from Albert Lee.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799132 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 23:53:18 +00:00
Pinaki Poddar
8ca7664bd9
OPENJPA-1013: Support constant TRUE|FALSE literals
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799071 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:52:03 +00:00
Donald Woods
803c4daaa4
OPENJPA-890 Fix some inconsistent whitespaces in example code around method signatures and arguments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799064 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:36:20 +00:00
Donald Woods
efaf681a46
OPENJPA-890 Fix some typos/wording/formatting
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799063 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:33:16 +00:00
Fay Wang
a10a0a5d80
OPENJPA-1143: fix test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799061 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 20:32:42 +00:00
Fay Wang
0928de7512
OPENJPA-1202: code clean up
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799028 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 19:26:44 +00:00
Pinaki Poddar
91ab01643a
OPENJPA-1198: Query by example.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799018 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 19:07:56 +00:00
Albert Lee
ba84a115bc
OENJPA-1206 - Enable Java 2 security on BV validate call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799013 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 18:58:00 +00:00
Pinaki Poddar
856fde5686
Move embed related test entities to its specific test
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798994 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 18:02:34 +00:00
Donald Woods
c295a07fbe
OPENJPA-946 Remove Derby connectionURL from createEMF properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798991 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 17:55:02 +00:00
Fay Wang
ec483537da
OPENJPA-1204: fix enum evaluation in EmbeddedId
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798868 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 12:09:16 +00:00
Fay Wang
1b128ce338
OPENJPA-1143: embeddable test case and support for Criteria
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798735 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 00:30:41 +00:00
Michael Dick
76e82998f6
OPENJPA-1202: Upgrade to Geronimo JPA 2.0 EA6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798684 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 19:49:03 +00:00
Donald Woods
7c4cf09bca
OPENJPA-1076 Handle changes in geronimo-jpa_2.0_spec Rev798659 to not wrapper all exceptions as PersistenceExceptions and allow the spec to call other providers it discovers. We'll keep the createEMF behavior of returning exceptions sometimes instead of null, until we see if the JPA2 TCK forces the issue....
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798662 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 19:19:51 +00:00
Donald Woods
9658b657c2
OPENJPA-1076 revert accidential change to pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798635 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 18:17:02 +00:00
Donald Woods
b7b0b15777
OPENJPA-1076 cleanup code formatting and add some comments about the current behavior of returning exceptions instead of null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798616 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 17:42:47 +00:00
Donald Woods
a31b0ee95d
OPENJPA-1076 Log current exceptions being thrown by PersistenceProviderImpl.createEMF
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798338 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 00:03:50 +00:00
Jeremy Bauer
f4d7e532e3
OPENJPA-1175 Added test for PersistenceUtil. Req's minimum of geronimo-jpa_2.0_spec-1.0-EA5-20090727.164859-7.jar. Run mvn -U <goal(s)> to pick up the latest snapshot of this dependendency.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798243 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 18:21:27 +00:00
Michael Dick
8c9c54e652
OPENJPA-1197:
...
Upgrade to MySQL JDBC drvier v 5.1.6 (keep in sync with previous
releases).
modified: openjpa-persistence-jdbc/pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798204 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 16:23:18 +00:00
Michael Dick
e47be7dc3f
OPENJPA-1150:
...
Adding javadoc for WriteBehind interfaces.
modified: openjpa-kernel/src/main/java/org/apache/openjpa/writebehind/WriteBehindCache.java
modified: openjpa-kernel/src/main/java/org/apache/openjpa/writebehind/WriteBehindCacheKey.java
modified: openjpa-kernel/src/main/java/org/apache/openjpa/writebehind/WriteBehindCacheManager.java
modified: openjpa-kernel/src/main/java/org/apache/openjpa/writebehind/WriteBehindCallback.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798189 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 15:24:45 +00:00
Jeremy Bauer
60d17df05f
OPENJPA-1175 Refactor of perisistence utility methods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798182 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 15:04:50 +00:00
Fay Wang
62a32c5596
OPENJPA-1143: embeddable support for Criteria API
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798026 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 05:18:37 +00:00
Michael Dick
b8610366f0
pass pom.version to upload ant task. Fix prompt problems with sshexec (should handle existing directories better).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797637 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 20:25:33 +00:00
Michael Dick
e7f9191695
Add braces for a few one line if statements.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797626 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 19:29:51 +00:00
Michael Dick
81c7abc64e
Fixing nightly upload script. Documentation is now zipped and transfered in one file (multiple files were timing out). Resulting zip is unzipped on people.apache.org.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797606 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 19:03:58 +00:00
Jeremy Bauer
7022d018da
OPENJPA-1175 Initial implementation and tests for ProviderUtil and PerisistenceUnitUtil
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797551 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 16:27:30 +00:00
Michael Dick
ec35dff093
Moving nightly upload ant script to a separate file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797456 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 13:52:15 +00:00
Pinaki Poddar
7099c084fb
OPENJPA-1195: Datastore function for in general usage as well as JPA 2.0. CriteriaQuery Parameter indexing during registration.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797257 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:01:55 +00:00
Pinaki Poddar
001c9e4fd2
OPENJPA-1180: Parameter processing for JPA 2.0. Implements Parameter in concrete. Parameter holding structure in Query has changed for Map<String|Integer,Object> to Map<String|Integer, Parameter>. Parameters themselves hold values (a doubtful decision).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796931 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 02:47:11 +00:00
Michael Dick
5136bbc8d3
OPENJPA-922:
...
Allow DB2 to use setByteArrayInputStream instead of setBytes when needed.
Submitted by : B. J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796907 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:09:02 +00:00
Michael Dick
fc5d50bf18
OPWNJPA-1191
...
Adding messages exceptions thrown by TupleImpl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 19:36:59 +00:00
Donald Woods
c6e394d936
OPENJPA-1190 javax.persistence.Caching is now javax.persistence.spi.SharedCacheMode in EA5 (20090720) API
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796790 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:42:08 +00:00
Pinaki Poddar
1f58f05c52
formatting
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796784 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:26:44 +00:00
Pinaki Poddar
3bfcd22c9e
line length edit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796783 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:25:43 +00:00
Michael Dick
49f000f54a
OPENJPA-1191 :
...
Add Tuple implementation and unit tests. Also added some basic typed result and multiselect testscases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796773 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:47:47 +00:00