Fay Wang
c14838950c
OPENJPA-1330: support join table strategy for uni-directional many-to-one relation and uni-/bi-directional one-to-one relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820839 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 23:18:56 +00:00
Fay Wang
c2a723816b
OPENJPA-1330: bi-directional many-to-one/one-to-many using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820748 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 18:49:05 +00:00
Richard G. Curtis
c06481b452
OPENJPA-1224. Updated DBDictionary and AbstractDB2Dictionary to properly support java.math.BigDecimal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820050 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:12:15 +00:00
Fay Wang
c8d1003612
OPENJPA-1253: refactoring the checking of non-default mapping to AbstractFieldStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819822 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 03:31:34 +00:00
Pinaki Poddar
baf800f3b0
OPENJPA-1050: Use generics for BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Milosz Tylenda
363f7f6e3f
OPENJPA-1248: Remove OracleDictionary.insertBlobForStreamingLoad(Row row, Column col, Object ob) - it was dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819280 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 09:35:38 +00:00
Fay Wang
9f29552e85
OPENJPA-1253: support foreign key strategy for uni-directional one to many mapping using Map with entity as the Map key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819139 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:42:19 +00:00
Fay Wang
ef54e75107
OPENJPA-1253: support bi-directional one-to-many map using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818616 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 20:26:04 +00:00
Fay Wang
7d3497781c
OPENJPA-1253: clean up code for uni-directional one-to-many Map using foreign key strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818531 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 16:12:09 +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
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
Richard G. Curtis
4378977891
OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817429 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 21:59:21 +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
Richard G. Curtis
fdd330a116
OPENJPA-1172 - Committing changes to trunk. Patch submitted by Rick Curtis
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817370 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 18:51:23 +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
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
Jeremy Bauer
add24283b4
OPENJPA-1249 Make insertBlobForStreamingLoad method usage consistent for Oracle DB to eliminate NPE in updateBlob path.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816287 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:19:09 +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
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
Fay Wang
558446dfe9
OPENJPA-1295: fix the escape character
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814166 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 14:58:07 +00:00
Pinaki Poddar
fb34e0a0ec
Update error code for Oracle. Will pass ..openjpa.persistence.exception.TestException.testThrowsEntityExistsException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814096 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 00:51:05 +00:00
Fay Wang
1aab5c3c6c
OPENJPA-1295: fix the problem of escape character for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814074 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 23:15:06 +00:00
Pinaki Poddar
6b96b82d31
OPENJPA-1294: getNewConnection()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814072 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:59:15 +00:00
Pinaki Poddar
ec90648e2b
OPENJPA-703: Support RangeResultObjectProvider for prepared query cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814065 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:27:27 +00:00
Pinaki Poddar
5120b0e629
OPENJPA-1294: Allow a new connection to obtain query for size of the result set when the original connection is still being open.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814053 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:12:18 +00:00
Pinaki Poddar
38f31390a9
bad argument corrected
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813981 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:49:30 +00:00
Fay Wang
c534d29cb7
OPENJPA-1285: fix InitializerError in JDBCStoreManager$RefCountConnection.prepareStatement(JDBCStoreManager.java:1543)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813930 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 17:14:52 +00:00
Pinaki Poddar
a8640cc5d2
OPENJPA-1285: Dynamic JDBC 4 Wrappers use constructor to save reflection cost
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:43:49 +00:00
Jeremy Bauer
ed40459a2a
OPENJPA-1289 Added Oracle specific type to compatibility checking method. Added new method to dictionary to pass in XML indicator. Updated Oracle dictionary to use it to make LOB determination.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813098 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 19:56:37 +00:00
Catalina Wei
5d6581bf7f
OPENJPA-1283 Incorrect SQL for a JPQL query selecting Map value from an elementCollection of a Map and the map the value is an embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810744 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 00:45:17 +00:00
Fay Wang
ac939f7b5f
OPENJPA-1281: fix reparameter when PreparedQueryCache is on
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810331 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 01:46:54 +00:00
Pinaki Poddar
250186fbcb
OPENJPA-1100: Raise exception for unsupported version field type rather than silently ignoring
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808725 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:39:15 +00:00
Pinaki Poddar
12015d3f1d
getLong was using INT. Patch by Criag Russell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808701 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:53:50 +00:00
Fay Wang
4083018e38
OPENJPA-1266: no need to cast for JDBC escape syntax for date, time, timestamp in DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:10:55 +00:00
Fay Wang
e19c75a9c3
OPENJPA-1266: JDBC escape syntax for date, time, timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807851 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:22:59 +00:00
David Ezzio
6303e9a753
OpenJPA-525 : Applied Milosz Tylenda's OPENJPA-525.3.patch to trunk, after testing by Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807642 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:09:23 +00:00
Catalina Wei
917b49befe
OPENJPA-1261 JPQL query result shape for multi-selections including multi-select-new-constructor
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 17:47:06 +00:00
Michael Dick
bb7048d27c
OPENJPA-1200:
...
Discriminator column ignored for in select statement for OneToMany relationships.
Submitted By : Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806693 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 19:55:09 +00:00
Pinaki Poddar
4e6a98f634
OPENJPA-849,OPENJPA-1251: Property management, hidden values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Fay Wang
c35c13497b
OPENJPA-1250: fix ClassCast exception with eagerly fetched ElementCollection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805090 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:47:59 +00:00
Michael Dick
9eb8af5a72
OPENJPA-948:
...
Adding support for Ingress database (new dictionary, build config etc.).
Submitted by : Alan Raison
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804261 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:29:35 +00:00
Fay Wang
ccfbe6cd31
OPENJPA-1185: check in embeddable in subquery support on behalf of Catalina
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804011 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:01:38 +00:00
Michael Dick
6c2e3e2d03
OPENJPA-1189:
...
Try delimited table names if we can't find a match for non-delimited names
Submitted by : Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803720 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 21:45:51 +00:00
Jeremy Bauer
3dda949ce4
OPENJPA-1115 Committing code and test updates contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803612 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 17:22:52 +00:00
Jeremy Bauer
9af553bc8d
OPENJPA-1235 Added support for named unique constraints
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802864 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 17:03:42 +00:00