Pinaki Poddar
e11d0f7e12
Generate unique name for unique constraints created by @Column(unique=true)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712300 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 22:49:13 +00:00
Albert Lee
ea9378fc96
OPENJPA-580 - Improve jdbc url mapping to DB dictionary alias.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711726 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 22:31:42 +00:00
Albert Lee
f55dff2069
OPENJPA-761 - test for null column object and post a more meaning message to the warning log in SchemaGenerator.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 21:56:35 +00:00
Fay Wang
7e24608f52
OPENJPA-762: Batch execution fails for Oracle when batch
...
limit is set to -1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@711404 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 21:03:56 +00:00
Albert Lee
675ee18565
OPENJPA-760 - Commit contributions on behalf of Georgi Naplatanov.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@710180 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 21:52:49 +00:00
A. Abram White
3cc3bfe87c
Use full table name according to DBDictionary when constructing GetMapValue
...
subquery, which may include schema.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@710015 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 06:36:49 +00:00
Jeremy Bauer
54d4d0d07d
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist. Committing for Dinkar Rao.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@709527 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:39:16 +00:00
Fay Wang
1a378e13f9
OPENJPA-738: query cache performance improvement. Commit
...
the change in OPENJPA-738.11.patch on behalf of Sandhya
Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708980 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:06:58 +00:00
Albert Lee
509f41c801
OPENJPA-751 - Commit documentation changes contributed by Milosz Tylenda.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708975 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:36:39 +00:00
Albert Lee
7c1c9fca60
OPENJPA-754 - Add additional condition to determine if the pre/postUpdate callback should be called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708722 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:31:09 +00:00
Michael Dick
995c6a4acc
Code cleanup remove compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708580 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:15:01 +00:00
Michael Dick
b9476a8ae8
Code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708213 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 15:07:00 +00:00
Michael Dick
e1bd3c4dcb
Code cleanup: remove some unnescessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707937 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 04:31:28 +00:00
Albert Lee
f01e6bd0d4
OPENJPA-752: Enhance exception message text to improve serviceability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707740 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 20:35:24 +00:00
Michael Dick
284bd408f8
[maven-release-plugin] prepare release 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Michael Dick
660371bfd5
[maven-release-plugin] prepare branch 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707726 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:35 +00:00
Jeremy Bauer
044764a395
OPENJPA-750: Updates to code and doc based on code review comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707655 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 15:24:21 +00:00
Jeremy Bauer
c49f0e17d6
OPENJPA-750: Added option to Sybase dictionary to ignore truncation warnings, added doc for new dictionary option, and code to log any SQLWarnings when update count isn't expected value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707270 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 04:43:35 +00:00
Fay Wang
703a2b9b60
OPENJPA-745: streamline the fix to be consistent with the fix
...
in OPENJPA-750
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707214 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 22:12:37 +00:00
Michael Dick
e23ea92319
Organize imports for DistributedStoreManager to avoid protection problem with sun.reflect.ReflectionFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706841 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 01:29:16 +00:00
Fay Wang
ac40fde3f1
OPENJPA-745: raise string right truncation error for Sybase. Move
...
the call to _dict.initializedSettings inside the block of
checking whether _conn is null in JDBCStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706494 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 02:11:41 +00:00
Fay Wang
1e4aa60859
OPENJPA-745 raise string right truncation error for Sybase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706493 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 02:03:26 +00:00
Catalina Wei
e2388e9b3c
OPENJPA-738 QueryCache Improvement
...
Committing patch provided by Sandhya Sturaga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706481 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 00:23:29 +00:00
Pinaki Poddar
16e7a11f81
document ReplicationPolicy for Slice. Also assorted doc edit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@705487 13f79535-47bb-0310-9956-ffa450edef68
2008-10-17 06:21:49 +00:00
Catalina Wei
7131ef0748
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved code and additional testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@705335 13f79535-47bb-0310-9956-ffa450edef68
2008-10-16 19:37:02 +00:00
Michael Dick
83f526a3f0
OPENJPA-733 adding attributation to Charles Tillman in NOTICE.txt.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@704764 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 01:34:57 +00:00
Catalina Wei
5128ee06a4
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved for performance when OneToMany is fetch EAGER, the inverse ManyToOne relations are set such that relation fields in entities after detach remain valid.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@704585 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 17:22:39 +00:00
Catalina Wei
212ddcefc9
OPENJPA-744 OneToMany EAGER loading generates extra SQLs on inverse ManyToOne relation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@703912 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 04:37:48 +00:00
Albert Lee
99dc9d8a66
OPENJPA-732 - Re-commit the same original committed changes (code and tests) after test cases corrections were made.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702348 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:15:05 +00:00
Albert Lee
7b11877e36
Modified CombinationGenerator.generator() algorithm to create the complete combination set from added options.
...
Removed the test case which assumes "UPDATE CHILD SET PARENT_ID ..." will be issued for some test's conditions and make sure consistent successful execution from repeated test runs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702346 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:12:25 +00:00
Albert Lee
d31d40f511
Fix test case db preparation to allow tests to repeat run without taking various runtime exception.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702180 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 15:33:57 +00:00
Albert Lee
229220b922
Fix test case db preparation to allow test to repeat run without taking a duplicate key exception.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702177 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 15:30:34 +00:00
Fay Wang
050a99a3e4
OPENJPA-736 use jdbc api getGeneratedKey to combine insert
...
and select SQL for generated id strategy = GenerationType.IDENTITY.
Found some indentation problem and fixed it. No logic change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701555 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 22:39:53 +00:00
Fay Wang
e7867662bd
OPENJPA-736 use jdbc api getGeneratedKey to combine insert
...
and select SQL for generated id strategy = GenerationType.IDENTITY
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701537 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 21:16:50 +00:00
Albert Lee
50ff3ed693
OPENJPA-732 - Regressed a unit test. Reverting BrokerImpl back to previous level and disabling a test in the new TestMessageListener.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701266 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:50:41 +00:00
Albert Lee
f0ad75d7fd
OPENJPA-732 - Fixed BrokerImpl's fields of type Set to consistently use the correct implementation type of HashSet rather than ArrayList or LinkList.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701236 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 20:41:18 +00:00
Michael Dick
b1f1d3250c
OPENJPA-734 added dbcp.args property in openjpa-persistence-jdbc/pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700603 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 22:16:48 +00:00
Jeremy Bauer
ab42492100
OPENJPA-733: Updated state manager to use actual oid instead of owner oid.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700563 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 19:42:11 +00:00
A. Abram White
0226888590
OPENJPA-722 resolution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700158 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 16:07:01 +00:00
Catalina Wei
baa01d79dd
OPENJPA-731 Bug on FetchType.EAGER when QuerySQLCache is turned on
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@699156 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 03:05:52 +00:00
Albert Lee
07c6b1e5dd
OPENJPA-719 - Ensure English locale is used in toUpperCase/toLowerCase for locale insensitive code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698813 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 04:45:48 +00:00
Pinaki Poddar
85b44d83d5
Allows unrecognized hints (those not starting with openjpa.* as prefix) be stored opaquely - for extension plug-ins.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698714 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 20:21:51 +00:00
Pinaki Poddar
1706670152
Introduces notion of @Replicated entity. This feature allows to relax collocation constraint for quasi-stationary master data. A replicated entity is stored as identical copies across multiple slices. The ReplicationStrategy works similar to DistributionStrategy for replicated entity. The slice association cardinality has uniformly changed to array of slices from a single slice name both for replicated and non-replicated entity. The non-replicated entities can refer to replicated entities but not vice versa. The query operation (especially the ones with aggregate function) is aware of replicated data and queries only one of the slices to avoid duplication.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698284 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:58:00 +00:00
Michael Dick
7a7957d8cc
OPENJPA-685. Removing references to maven.compile.classpath and maven.dependency.classpath from enhancer ant task
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@697955 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 19:26:35 +00:00
Pinaki Poddar
9803879ff9
OPENJPA-704: Add field names of path-like syntax
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696590 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:57:51 +00:00
Pinaki Poddar
5600a778c9
Use username/password for triall connection to slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696512 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:21:25 +00:00
Michael Dick
05a8f02881
OPENJPA-650 adding documentation for openjpa.RuntimeUnenhancedClasses. Merging revision 696510 to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696511 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:20:56 +00:00
Michael Dick
e165e502d5
OPENJPA-724 committing patch provided by Milosz Tylenda.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696350 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 16:05:10 +00:00
Michael Dick
caf46298d6
OPENJPA-727 merge revision 696343 to trunk. Removing reference to missing image file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696347 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 15:51:38 +00:00
Michael Dick
2c86e1d910
OPENJPA-713 exclude sources and javadoc from aggregate openjpa jar
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696193 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 08:06:18 +00:00