Commit Graph

1276 Commits

Author SHA1 Message Date
Richard G. Curtis 961e957be0 OPENJPA-1692: Comment out failing case in TestClearableScheduler while this change is backed out.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961510 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 21:21:39 +00:00
Catalina Wei 90a54ac7e7 OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
fix testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei ee83defe59 OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
add testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Richard G. Curtis 020b24e008 Update TestAutoIncrement to not run on Oracle and SQLServer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961000 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:03:25 +00:00
Michael Dick 5668a18ec0 OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:06:14 +00:00
Richard G. Curtis 2400bacd05 OPENJPA-1707: Log a warning message when a down level Entity is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Richard G. Curtis 20f2966ea1 Update TestClearableScheduler to use a Vector for multithreaded test rather than an ArrayList
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:32:06 +00:00
Jeremy Bauer e372349aeb OPENJPA-1689 Provide better determination of PostgreSQL db owned sequences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957715 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 21:06:47 +00:00
Richard G. Curtis a7c61414ca OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956875 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:08:35 +00:00
Catalina Wei 3f79c25dfc OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955806 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:47:25 +00:00
Catalina Wei eac9c66b74 OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955805 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:41:16 +00:00
Catalina Wei dbaf9fa67e OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
Fix compile errors

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955581 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 13:07:21 +00:00
Catalina Wei 832b5048bd OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
backout changes - regression in xmlcolumn mappings

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955474 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 04:06:56 +00:00
Pinaki Poddar a79a96b86c OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955425 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:22:31 +00:00
Fay Wang 7450df02a4 OPENJPA-1699: Streaming LOB support for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955283 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:07:14 +00:00
Ravi Prakash Palacherla efa71484df OPENJPA-1695 OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954979 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:47:02 +00:00
Richard G. Curtis 703bd8db8a OPENJPA-1692: Revert some of previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:10:46 +00:00
Richard G. Curtis 14cfcaa3cc OPENJPA-1692: Clean up extra initialization from PersistenceProviderImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954891 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:04:26 +00:00
Richard G. Curtis 15d2f36ab0 OPENJPA-1692: Rename TestBrokerFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954532 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:06:31 +00:00
Catalina Wei d781b913d1 OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954345 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 01:47:08 +00:00
Catalina Wei 493bfe0e14 OPENJPA-1696: Type discriminator for polymorphic queries limited to Single Table inheritance
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954007 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 14:05:43 +00:00
Richard G. Curtis ea8dc8b630 OPENJPA-1692: Add post creation callback to BrokerFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 16:37:30 +00:00
Michael Dick 6b38f0cb8e OPENJPA-1678: delete tests which write to log files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953182 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 23:04:48 +00:00
Michael Dick 323ebee840 OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953169 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:48:44 +00:00
Pinaki Poddar a873065db7 OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Pinaki Poddar fafc33b3cd OPENJPA-1682: Unique constraint to a column will imply the column to be non-nullable per database basis. The commit adds a new model in
internal schema design by making Column-Constraint relation bi-directional.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952371 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:08:49 +00:00
Richard G. Curtis 97232e67b4 OPENJPA-1612: Reverting change 942871 to restore previous behaviour.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952244 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 14:28:33 +00:00
Donald Woods f0517dd09c add missing ASL 2.0 header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951487 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:47:10 +00:00
Milosz Tylenda 18dd7e8542 OPENJPA-1667: Fix incorrect column type for LOB streaming in MySQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947144 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 19:49:58 +00:00
Richard G. Curtis 1c01e8da2a OPENJPA-1670: PCRegistry should not save duplicate listeners.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946332 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:39:56 +00:00
Richard G. Curtis 93d76e21d3 Remove extraneous import from org.apache.openjpa.persistence.nullity.TestBasicFieldNullity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945243 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 17:15:14 +00:00
Richard G. Curtis 1cef932cc4 OPENJPA-1563: Fix StackOverlfowError in JPAFacadeHelper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945171 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 14:09:03 +00:00
Richard G. Curtis 5903f31e69 OPENJPA-1665: Update BrokerImpl to skip check for duplicate ids when they are auto generated.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:11:14 +00:00
Richard G. Curtis 2765b756bc OPENJPA-1612: Check for having a relationship to a type that is mapped to a blob field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942871 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 19:46:21 +00:00
Pinaki Poddar 7bd2b4ae49 OPENJPA-1387: Unique should not impose non-null constraint automatically.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941362 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:17:31 +00:00
Michael Dick ed2940d547 OPENJPA-1536: set svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940555 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:21:14 +00:00
Michael Dick 0b73d9f1a9 OPENJPA-1570: set eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940554 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:18:55 +00:00
Richard G. Curtis 78614963a0 OPENJPA-1634: Process JAXB metadata when preloading the MetaDataRepository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940093 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 19:00:23 +00:00
Richard G. Curtis 62bed3cf3d OPENJPA-1563: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940090 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 18:02:34 +00:00
Richard G. Curtis 00799c73f0 OPENJPA-1563: Update JPAFacadeHelper.toOpenJPAObjectId(...) to perform validation on parameters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940077 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:53:56 +00:00
Jeremy Bauer 7425ffca2d OPENJPA-1613 Per JPA spec, OpenJPA should take the @Transient annotation into account when making a default access determination. This commit includes test code contributed by Simon Droscher.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936930 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:12:50 +00:00
Pinaki Poddar 4502c30b16 OPENJPA-703: Add a test for thread-safety of cache statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935074 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:37:39 +00:00
Pinaki Poddar 53e63d202f OPENJPA-703: Disable query statistics by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Fay Wang 8a034d6717 OPENJPA-1627: fix OrderBy with EmbeddedId.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:30 +00:00
Donald Woods 7188baa2c0 OPENJPA-1179 openjpa.jdbc.QuerySQLCache plugin no longer accepts value=all, so doc it in the Migration section. Testcase contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932929 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 16:21:01 +00:00
Donald Woods 26d306c232 OPENJPA-1624 Fix intermittent datacache timeout failures in TestSJVMCache and CacheTest
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932530 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:47:32 +00:00
Dianne E. Richards aefe784c94 OPENJPA-1623 Add tests for qualified paths in JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932487 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:18:41 +00:00
Donald Woods e247f78922 OPENJPA-1621 Fix TestGeneratedValues for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 02:04:53 +00:00
Donald Woods 9fd0cadd87 OPENJPA-1616 remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932196 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:35:54 +00:00
Donald Woods f102795700 OPENJPA-1620 Fix TestJDBCEscapeDate test for HSQLDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932191 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:29:38 +00:00