Commit Graph

1018 Commits

Author SHA1 Message Date
Michael Dick f946f8383b OPENJPA-1870: Check if columnDefinition was provided before overriding blob type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:00 +00:00
Michael Dick 24e547cdcb OPENJPA-1864: Add db dictionary for MaxDB & alias in JDBCConfImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 18:07:07 +00:00
Richard G. Curtis 2f6baf7119 OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Donald Woods eb2bf2acce OPENJPA-1759 Use new DATETIME2 type in MSSQL2008 for new tables with DATE or TIMESTAMP columns, but 3.0 driver still doesn't handle 2.0 created tables with DATETIME columns....
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030235 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:28:23 +00:00
Donald Woods 3b3063899b OPENJPA-1764 protect against java.lang.NoClassDefFoundError when being used in an app server but as app managed and the JVM exits quickly from under us
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030183 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:16:21 +00:00
Richard G. Curtis aa9573698b OPENJPA-1868: Fix checkstyle failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030178 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:03:22 +00:00
Richard G. Curtis be92a72ad7 OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030156 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:24:12 +00:00
Donald Woods 900304d3c3 OPENJPA-1861 build updates to support using Maven 3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +00:00
Pinaki Poddar c325e704eb OPENJPA-1821: Defensive thread guard on reparametrization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:25:14 +00:00
Pinaki Poddar 81e1f23a13 OPENJPA-1851: change to more appropriate variable name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:43:35 +00:00
Pinaki Poddar 54234f6102 OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Fay Wang c3c97f7cf3 OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Richard G. Curtis 6a12a3c121 OPENJPA-1312: Fix equals method name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:21:15 +00:00
Donald Woods 06c1e74358 OPENJPA-1313 Incorrect hashcode()/equals() implementation(s) in RowManagerImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:37:42 +00:00
Donald Woods ce416a8777 OPENJPA-1312 Incorrect hashcode()/equals() implementation(s) in SelectImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:31:24 +00:00
Donald Woods 582e91b867 OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
Jeremy Bauer c9bad3efcd OPENJPA-1853 Modified DB2Dictionary to disable auto retrieval of generated keys on iSeries V5R4 and earlier.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027250 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:03:01 +00:00
Michael Dick d54088a365 OPENJPA-1847: Use one connection to create schema objects.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026183 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:09:57 +00:00
Michael Dick 005a18a739 OPENJPA-1841: Use length() function to determine BLOB/CLOB nullity for Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:57:04 +00:00
Fay Wang 75bbc90899 OPENJPA-1837: fix the MaxEmbeddedLobFieldStrategy when there is limitation of max lob size and when the field is in an embeddable which is contained in an element collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024306 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:14:51 +00:00
Michael Dick 4e3f42e70e OPENJPA-1841: Allow DBDictionary to override IS NULL / IS NOT NULL clause for specific column types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:07:41 +00:00
Albert Lee fdf58d63ba OPENJPA-1837 - reset Oracle dictionary maxEmbedded*lobSize = -1 for jdbc driver (11.2.0.x) that can handle *lob size > 4000 characters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023925 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:48:30 +00:00
Catalina Wei 60e88f82fa OPENJPA-1828: Query with expression IN (collection_valued_input_parameter) gives wrong result when executed the second time
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023914 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:30:48 +00:00
Michael Dick f9cfbbfe2c OPENJPA-1840: handle query timeouts with Sybase - SQLState JZ006:JZ0TO
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023838 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:11:30 +00:00
Michael Dick d99e1dff36 OPENJPA-1838: allow FKs to be added when using Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023351 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:52:21 +00:00
Michael Dick 2e11a6a90b OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:00:30 +00:00
Michael Dick 2df8af7457 OPENJPA-1832: numeric is not fixed size.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 15:36:27 +00:00
Donald Woods 5a7b1765c7 close DriverDataSource when we're done with it
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:04:57 +00:00
Donald Woods be183a3a94 OPENJPA-1831 DataSourceFactory manipulates queryTimeout which is already in milliseconds
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021891 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 19:23:12 +00:00
Donald Woods 0bcdb27e8f OPENJPA-1818 Exclude 'order' as valid column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021875 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 18:31:13 +00:00
Michael Dick abf397a513 Add Sybase SQLState for EntityExistsException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:44:50 +00:00
Donald Woods b229fbd13e OPENJPA-1764 Minor cleanup for static variables and exception messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021489 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:03:18 +00:00
Michael Dick ea0a44edd3 Filter connection setup SQL from SybaseDictionary.decorate when running unit tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006010 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:32:21 +00:00
Milosz Tylenda 5a98879567 OPENJPA-1691: Support XML strings longer than 4000 bytes on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:46:38 +00:00
Fay Wang a4080f46f5 OPENJPA-1819: if there is a group-by clause, orderby_item must be in the group-by list
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003317 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 22:07:11 +00:00
Donald Woods c7a08227a3 OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods 4aa5b43825 OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Donald Woods ed85f020fd OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Jeremy Bauer 9b105a2f00 OPENJPA-1809 Modified syncVersion exception path to pass the lock level into the exception producer. This eventually allows the exception translator to correctly decide whether the exception was the result of a lock timeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999559 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:27:08 +00:00
Michael Dick c1b941f3d1 OPENJPA-1800: revert trailing whitespace variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997890 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:44:37 +00:00
Michael Dick a093e9daa6 OPENJPA-1800: prevent duplicate column in SybaseDictionary.getCreateTableSQL()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997889 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:37:20 +00:00
Catalina Wei c110e0d28a OPENJPA-1798: Improve messages in localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997373 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 15:52:34 +00:00
Michael Dick 208347e88d OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:11:19 +00:00
Fay Wang 35205c46ac OPENJPA-1784: clean up fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995596 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:35:19 +00:00
Fay Wang 9c25bd1633 OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Milosz Tylenda da688116d5 OPENJPA-735: Fix spelling in method name and comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990085 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:22:45 +00:00
Fay Wang f0f3a4c588 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988164 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 16:01:45 +00:00
Catalina Wei 833520766f OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987598 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:32:21 +00:00
Jeremy Bauer 696786e93e Added missing continuation character to message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987556 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:49:54 +00:00
Fay Wang 3a62393e06 OPENJPA-735: OpenJPA support for SolidDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 20:09:45 +00:00