Michael Dick
4dc0267629
OPENJPA-1551:
...
Storing connectionFactoryName in BrokerImpl - this factory will be used at JDBCStore creation time to override the value from the configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919557 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:35:53 +00:00
Pinaki Poddar
a7d613f3bf
Categorize one-to-one correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919502 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 17:06:29 +00:00
Pinaki Poddar
1950c467f7
toString() returns a JPQL-like query string, if possible. Otherwise Object.toString()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919501 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 17:06:02 +00:00
Pinaki Poddar
e71cd295fc
OPENJPA-1503: Throw persistence exception not illegalargument exception as per spec when fails to unwrap()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918748 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:50:55 +00:00
Donald Woods
3aea82e40c
OPENJPA-1546 OpenJPA doesn't work as internal JPA inside web applicaion in JBoss AS due to PersistenceMetaDataFactory trying to parse directories as unparsed XML files. Original patch contributed by Dmitri Babaev.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918070 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 15:17:18 +00:00
Donald Woods
d96883f502
OPENJPA-1538 Minor grammar fixes in messages. Patch contributed by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916759 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:04:35 +00:00
Donald Woods
0befad7051
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods
099d18901e
[maven-release-plugin] prepare release 2.0.0-beta2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods
fb57d61322
OPENJPA-1490 Add new message for pending Aries changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915900 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 17:59:43 +00:00
Albert Lee
fa4b72d7f5
OPENJPA-1498 - Commit contribution by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915439 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:10:18 +00:00
Kevin W. Sutter
b44715211e
OPENJPA-1516. Introduce prepareForPooling method on EntityManagerImpl to allow for more efficient EntityManager "clear" operations. This also allows to go outside of the spec just a bit and clean up resources before pooling as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915015 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:53:45 +00:00
Donald Woods
f738b0ba62
OPENJPA-1520 remove jdk5 profile
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911520 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 18:44:57 +00:00
Pinaki Poddar
c043302e1e
OPENJPA-1503: Set txn for rollback directly on illegal argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911241 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 01:28:00 +00:00
Pinaki Poddar
ad106583e8
OPENJPA-1503:Metamodel reflection with security manager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910616 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:44:30 +00:00
Fay Wang
4a987190d9
OPENJPA-1460: resolve visibility scope of orm.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:23:59 +00:00
Donald Woods
d3b3ee0438
OPENJPA-1502 Improve WARN msg for unrecognized EntityManager properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 15:23:16 +00:00
Michael Dick
69c5eb11ff
OPENJPA-1498. Minor message file improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Pinaki Poddar
784e4560db
OPENJPA-960: Block unwrap for Object.class or null argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905355 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:28:18 +00:00
Fay Wang
7aad95a75b
OPENJPA-1485: null collection value can still be treated as loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 04:46:42 +00:00
Fay Wang
54ef07f799
OPENJPA-1485: fix potential classCast exception for StateManagerImpl
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903964 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 05:53:47 +00:00
Fay Wang
4197457c85
OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Jeremy Bauer
a32573481e
OPENJPA-1485 Check persistent collection attributes for null when determining load state.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:57:59 +00:00
Donald Woods
9c90ca5506
merged in r902968 from beta branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Fay Wang
c15f473949
OPENJPA-1460: back out the previous change until the visibility scope of orm.xml is fully agreed upon.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902291 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:11:39 +00:00
Donald Woods
d299ac4311
OPENJPA-1410 Undo removal of code that was added by OPENJPA-1460
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901968 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 03:34:57 +00:00
Pinaki Poddar
ec8dba1465
OPENJPA-1477: Do not use cached PreparedQuery unless it is initialized
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901845 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 20:17:50 +00:00
Donald Woods
acafc94a5e
OPENJPA-1410 Class linkage exception when creating an EMF with OpenJPA M3 caused by ValidationUtils.setupValidation(). First round of cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901385 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:24:14 +00:00
Donald Woods
9ea3fe0895
OPENJPA-1374 undo changes to PersistenceProviderImpl.java, which are for OPENJPA-1410 instead
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901384 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:22:10 +00:00
Donald Woods
2b2ede1e38
OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Pinaki Poddar
1049796100
OPENJPA-1460: Rename the setter method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900873 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:10:30 +00:00
Fay Wang
36e31ae445
OPENJPA-1460: resolve visibility scope of orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900245 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 23:41:45 +00:00
Fay Wang
7f66117b5a
OPENJPA-782: element collection field in orm.xml should not be serialized
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900236 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 22:47:47 +00:00
Jeremy Bauer
fadd48fe5b
OPENJPA-1115 Remaining delimited identifiers support, including pluggable identifier utility. Includes code and test contributions from Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899784 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:38:18 +00:00
Pinaki Poddar
db20d8a011
OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar
b5a412fd42
OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Donald Woods
55bf86a4c8
OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Richard G. Curtis
0efea474f2
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@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Pinaki Poddar
775c627b80
OPENJPA-1445: Support enums as External values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893504 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:07:33 +00:00
Pinaki Poddar
df5a403700
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:35:07 +00:00
Pinaki Poddar
29e919f2cc
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:33:28 +00:00
Pinaki Poddar
3dee418d36
OPENJPA-1444: Use special result list for distinct query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Pinaki Poddar
d491a9cbed
OPENJPA-1439: Cover for InputStream/Reader type fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892884 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 17:13:23 +00:00
Richard G. Curtis
d8ef5c1792
OPENJPA-993: PersistenceProductDerivation.getAnchorsInxxx(..) should only return PUs that belong to OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892877 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 16:44:27 +00:00
Fay Wang
5d9f08e728
OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
David Ezzio
a05e007394
OpenJPA-1258: Applied Amy Yang's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:02:25 +00:00
Pinaki Poddar
fd5c79aabc
OPENJPA-1050: Restore existing method signature but deprecate them.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890857 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:15:21 +00:00
Donald Woods
60cae2ff51
OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Pinaki Poddar
4715cc737b
OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00
Pinaki Poddar
1aaa1aa086
OPENJPA-1409: Preserve type for currentDate/Time expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar
ab52f1fa03
remove unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885978 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:36:16 +00:00