Commit Graph

1565 Commits

Author SHA1 Message Date
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
Michael Dick 666d189db9 OPENJPA-726 adding md5sum for nightly downloads
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696082 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:55:02 +00:00
Michael Dick 2f75495c57 OPENJPA-711 adding jai dependencies for building the manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@695674 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 22:27:47 +00:00
Pinaki Poddar cd5014ee54 OPENJPA-704: Changes were not assocaited with JIRA issue which was created after the change :)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694720 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 16:10:17 +00:00
Pinaki Poddar e047748e77 Fix wrong index in data cache statisitics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694117 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:54:49 +00:00
Catalina Wei a098b86d73 OPENJPA-720 The pushdown sql for version columns in primary and secondary tables has unpredictable ordering in the select and from clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694057 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 23:06:36 +00:00
Michael Dick b3951a1c11 OPENJPA-695 making nightly-upload profile more friendly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693888 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 16:37:41 +00:00
Michael Dick a904e32728 OPENJPA-695 making nightly-upload profile more friendly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693481 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 15:09:32 +00:00
Kevin W. Sutter 4aa64410ad OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693287 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:34:26 +00:00
Kevin W. Sutter 8e6db6cb65 OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693282 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:32:17 +00:00
Michael Dick 52a0f63097 OPENJPA-695 adding a profile that uploads the latest zip files, manual and javadoc to openjpa.apache.org/builds/latest.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693275 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:19:55 +00:00
Kevin W. Sutter 079aa06091 OPENJPA-646. Migrate this change from the 1.2.x branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693233 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 20:11:35 +00:00
Pinaki Poddar 939b122c09 OPENJPA-697: Join if version column is in secondary table
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693162 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 16:54:21 +00:00
Catalina Wei 0ea75e720e OPENJPA-712 Not correctly parsing the "having" clause with aggregate functions (ie. max, min, etc)
Committing patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@692609 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 03:47:40 +00:00
Pinaki Poddar a60fab2d7e OPENJPA-710: Do not add ORDER BY clause for unordered collection field. But select the field as it is expecetd subsequently for loading.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691421 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 23:07:22 +00:00
Pinaki Poddar 2988f75fc3 OPENJPA-365: This is a token commit. Original commit is 677147 but due to typo in commit message, the JIRA issue did not get assoicated correctly with the commit 677147
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691327 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 17:47:06 +00:00