Donald Woods
|
d8eadfe600
|
OPENJPA-1116: fix test case error on some DBs by providing a unique table name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818518 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-24 15:34:22 +00:00 |
Fay Wang
|
067a6f0ffb
|
OPENJPA-1253: support non-default uni-directional one to many map using foreign key strategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818410 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-24 09:00:12 +00:00 |
Fay Wang
|
65ff86ce24
|
OPENJPA-1116: fix test case error by providing a unique table name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818385 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-24 07:08:35 +00:00 |
Jeremy Bauer
|
2a98f2b93d
|
Fix SQL comparison failures in bidi eager tests on Oracle by using standard sql92 join syntax.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818349 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-24 02:32:38 +00:00 |
Jeremy Bauer
|
5d3fd3a726
|
Update TestEJBQLFunction test to assert empty strings as null for the Oracle DB.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818337 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-24 01:06:50 +00:00 |
Donald Woods
|
c5954aa4a5
|
OPENJPA-1116 Update PU name to reflect the test name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818215 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-23 19:17:06 +00:00 |
Donald Woods
|
85a609aa5d
|
OPENJPA-1116 Annotation Strategy not working. Checking in testcases as code patch already committed in r808703 by Pinaki. Patches contributed by Ashish Paliwal.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818212 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-23 19:12:07 +00:00 |
Fay Wang
|
6f1b9627fe
|
OPENJPA-1253: support non-default bi-directional one-to-many using foreign key strategy to find/query from the ower's side
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817831 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-22 20:38:36 +00:00 |
Jeremy Bauer
|
01c26a9e21
|
Updated test code to use mapping tool to regenerate subset of DB artifacts if running on Oracle. This will create the triggers required to support generated identity columns.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817815 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-22 20:15:07 +00:00 |
Michael Dick
|
f1af41c44c
|
OPENJPA-1298:
Remove WriteBehindCallbackManager which 'shared' a single callback with multiple EMFs unintentionally
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817679 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-22 14:45:26 +00:00 |
Fay Wang
|
19da9769b0
|
OPENJPA-1253: support non-default uni-directional OneToMany mapping using foreign key strategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817399 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-21 20:21:50 +00:00 |
Donald Woods
|
828e08ee0e
|
OPENJPA-1182 Backwards compatibility issues - PreUpdate and PostUpdate behavior. Patch contributed by Tim McConnell with some minor package name and version checking changes. Doc updates by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817389 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-21 20:01:44 +00:00 |
Catalina Wei
|
e53f8514f4
|
OPENJPA-1309 fix testcase for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817382 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-21 19:23:25 +00:00 |
Fay Wang
|
5c23058b0e
|
OPENJPA-1253: support non-default bi-directional one to many using Join Table/Join column annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817131 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-21 02:13:18 +00:00 |
Fay Wang
|
cf7f69bbd5
|
OPENJPA-1253: support non-default One-To-Many mappings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-18 21:53:47 +00:00 |
Donald Woods
|
9467818818
|
OPENJPA-1310 SQLServer requires JAXB marshalled XML to be in UTF-16 instead of UTF-8. Also updated some of the XmlElement names to match the case used in the XmlType annotation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816767 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-18 20:06:12 +00:00 |
Catalina Wei
|
3f43e3dd0e
|
OPENJPA-1309 DB2 requires CAST for argument passed to datastore MOD function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816737 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-18 18:38:00 +00:00 |
Michael Dick
|
1c0b9849f1
|
Remove uneeded imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816671 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-18 15:33:11 +00:00 |
Jeremy Bauer
|
95a2c8f680
|
Fix SQL comparison failures in Criteria query by example tests on Oracle by using standard sql92 join syntax.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816392 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 21:46:56 +00:00 |
Donald Woods
|
ac23a55b68
|
OPENJPA-1213 Additional Compatibility tests (patch #2) showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816330 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 18:44:29 +00:00 |
Michael Dick
|
846d1ef82a
|
OPENJPA-1173:
Revert driver update (not in repo yet).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816320 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 18:31:10 +00:00 |
Michael Dick
|
1318f98bc4
|
OPENJPA-1173:
Updating postgresql test dependency to v8.4-701
Submitted By: Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816317 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 18:10:09 +00:00 |
Donald Woods
|
daadd62bd2
|
OPENJPA-1213 Use OpenJPAVersion for handling expected test result differences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816295 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 17:29:01 +00:00 |
Donald Woods
|
cbe18c2f74
|
OPENJPA-1213 Compatibility tests showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816289 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 17:22:49 +00:00 |
Donald Woods
|
a94bb8ee06
|
OPENJPA-1214 moving testcases to the existing compat package
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816187 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 13:44:03 +00:00 |
Fay Wang
|
8c1e1a7ea5
|
OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-17 07:49:13 +00:00 |
Fay Wang
|
72f2cb8516
|
OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-16 22:13:26 +00:00 |
Jeremy Bauer
|
8fc1404dad
|
Modify entity definitions to avoid Oracle reserved words.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815473 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-15 20:38:07 +00:00 |
Pinaki Poddar
|
3146afb1bc
|
Persistence attribute type for singular attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815396 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-15 16:59:21 +00:00 |
Fay Wang
|
a9ea5c1817
|
OPENJPA-1151: fix test case error for MySQL. DB object in MySQL is case-sensitive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815369 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-15 15:38:12 +00:00 |
Fay Wang
|
c353d0541e
|
OPENJPA-1151: fix this test case error for MySQL. DB object in MySQL is case-sensitive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815366 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-15 15:28:10 +00:00 |
Pinaki Poddar
|
643f4d130f
|
Configure for trigger for auto-assign in Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814984 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-15 03:33:28 +00:00 |
Donald Woods
|
492a19573c
|
OPENJPA-1151 Cache the current-time timestamp in AbstractQueryCache.onTypesChanged(). Updated tests contributed by Jody Grassel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814802 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-14 19:39:36 +00:00 |
Donald Woods
|
b8dde5761f
|
OPENJPA-1214 Testcase to demonstrate RelationFieldStrategy behaviour differences between OpenJPA 1.x and 2.0. Testcase contributed by Tim McConnell. Doc updates by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814739 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-14 17:20:48 +00:00 |
Donald Woods
|
416b8d3ccb
|
OPENJPA-1227 SQL generation error when using data cache. Patch and testcase contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814706 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-14 15:42:03 +00:00 |
Donald Woods
|
ee9210be92
|
OPENJPA-1201 [Mapped by] field not set when contained in superclass. Patch and testcases contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814662 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-14 14:29:34 +00:00 |
Donald Woods
|
b889ccb834
|
OPENJPA-1247 WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache (testcase for OPENJPA-1296). Contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814644 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-14 13:54:59 +00:00 |
Milosz Tylenda
|
e9b5c53fd0
|
OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814295 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-13 10:02:01 +00:00 |
Pinaki Poddar
|
d7b4296c8f
|
Failed Oracle test on bad column name 'date'.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814105 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-12 02:49:29 +00:00 |
Fay Wang
|
60e55574c8
|
fix BigDecimal problem in the test case for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814085 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 23:41:34 +00:00 |
Fay Wang
|
15b5ec20dd
|
fix unique constraint syntax in the test case for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814029 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 21:05:30 +00:00 |
Donald Woods
|
46734cf443
|
OPENJPA-1184 apply source formatting to new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813990 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 19:27:08 +00:00 |
Donald Woods
|
32c6ca132c
|
OPENJPA-1184 Testcase contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813985 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 19:09:20 +00:00 |
Pinaki Poddar
|
b573799fc3
|
OPENJPA-1013: Tighten access to instance variables/methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813659 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 03:24:27 +00:00 |
Pinaki Poddar
|
df860912a7
|
OPENJPA-1288: stop re-alias(). Added new utility to check validity of names for JPA reserved words and special symbols.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813658 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 03:22:00 +00:00 |
Kevin W. Sutter
|
dac8af35b4
|
OPENJPA-1260. Committing this change for Ravi Palacherla. Mike had previously reviewed the patch for correctness. Ravi changed the patch slightly and re-submitted. Based on a request from the mailing list, I reviewed Ravi's second patch and am committing the changes with a couple of minor modifications. I updated the comments slightly to make sentences. And, I moved the testcases to the "generationtype" package to be with similar testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813597 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 21:35:57 +00:00 |
Donald Woods
|
fa49080f8f
|
back out last getLog() additions, which caused failures on when not using Derby
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813568 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 20:02:52 +00:00 |
Jeremy Bauer
|
b5fabd88dd
|
OPENJPA-869 Fixup order column test variations failing on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813556 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 19:31:01 +00:00 |
Donald Woods
|
0d3179cef9
|
updated getLog() methods and switched testcase to use setUnsupportedDatabases()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813519 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 17:16:31 +00:00 |
Pinaki Poddar
|
8e96965225
|
OPENJPA-1288: alias() first version. Assumes in-place change and does not create new instance. Retired TupleElementImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813514 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 16:58:44 +00:00 |