Commit Graph

19986 Commits

Author SHA1 Message Date
Juraci Krohling 61a71d0e39 HHH-3637 - Reverted eviction of test for Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16030 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-25 12:21:36 +00:00
Gail Badner 1eb1957eba HHH-3701 HHH-3640 : Add support for mod, bit_length, and trim to SybaseASE15Dialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15960 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-12 05:24:31 +00:00
Gail Badner 638b43f04b HHH-3712 - Reorganize the Sybase dialect class hierarchy, add SybaseASE15Dialect, and mark SybaseDialect as deprecated
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15934 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-11 05:34:52 +00:00
Steve Ebersole a1263d35b3 HHH-3760 : document EntityNameResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15932 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-10 21:44:48 +00:00
Steve Ebersole 8cc5805eab HHH-3275 : custom tuplizers for components in a collection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15926 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-10 17:28:47 +00:00
Adam Warski 38e6babc34 HHH-3741: fix and testcase; properly computing the referencing property name in a unidirectional collection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15912 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-06 23:10:40 +00:00
Adam Warski dafb54a60f HHH-3729: applying patch with tests
Thank you to Erik-Berndt Scheper for providing the patches!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-05 08:22:40 +00:00
Steve Ebersole 5edebe4256 HHH-3750 : dialect first-result handling
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15894 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-04 23:05:57 +00:00
Juraci Krohling 3daba271a9 HHH-3640 - Added bit_length and mod to SybaseDialect.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15884 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-04 08:42:07 +00:00
Gail Badner cc78cbf6fe HHH-3691 : Sybase does not support Blobs and Clobs; skip unit tests that use Blobs/Clobs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15883 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-04 04:05:44 +00:00
Gail Badner 832b611185 HHH-3685 - Added workaround to unit test for creating Sybase stored procedures in chained transaction mode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15882 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-04 03:56:19 +00:00
Steve Ebersole 4ed21cbce5 HHH-3749 : limit FromElement reuse based on alias
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15866 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-03 14:22:51 +00:00
Steve Ebersole 687b28fc8d HHH-3357 : clear() performance
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15863 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-03 01:15:58 +00:00
Steve Ebersole 1e45c666e6 HHH-3701 : trim function emulation for sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15860 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-03 00:47:23 +00:00
Adam Warski 5e77669afd HHH-3740: fix with test
Thanks for the test to Erik-Berndt Scheper

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15836 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 13:38:07 +00:00
Adam Warski 1a1118c0bb HHH-3744: applying the patch.
Thank you to Ben Clark!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15835 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 12:01:00 +00:00
Adam Warski e6c9326438 HHH-3736: fix and testcase.
Thank you to Erik-Berndt Scheper for providing the patches!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15834 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 10:39:53 +00:00
Steve Ebersole 4bd552cfdb HHH-3742 : documentation corrections
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15831 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-29 20:06:25 +00:00
Chris Bredesen 4167921ea3 HHH-3159 replace 'oracle.jdbc.driver' with 'oracle.jdbc'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15820 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-26 20:30:09 +00:00
Gail Badner a115232c65 HHH-3696 : Sybase - unit tests fail when numeric values overflow in precision or scale on insert
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15815 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-23 23:17:08 +00:00
Adam Warski 45e93dc562 HHH-3563: changing tests to use the same convention
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15803 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-20 09:00:54 +00:00
Adam Warski bf8e6fed6f HHH-3563: relation support in components
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15802 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-20 08:13:54 +00:00
Juraci Krohling 6d56458124 ANN-795 - Added DateFormat to compare dates, otherwise, there are problems with Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15781 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-14 14:15:30 +00:00
Juraci Krohling d6e005a8b7 EJB-404 JBPAPP-1079 - Fixed the test case for PostgreSQL and DB2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15778 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-14 13:06:17 +00:00
Steve Ebersole bfcb39ce21 HHH-3698 & HHH-3699 : HQL parameter binding issues
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-12 15:37:04 +00:00
Steve Ebersole 52ed395147 HHH-3698 & HHH-3699 : HQL parameter binding issues
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15758 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-09 05:39:49 +00:00
Steve Ebersole 54b9e03c22 HHH-3693 : implicit polymorphism + pagination
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15753 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-07 20:33:16 +00:00
Adam Warski 50ec688066 HHH-3563, HHH-3561: component handling rework
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15744 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-31 11:29:37 +00:00
Adam Warski 92a4af082b HHH-3573: fix with tests (a not-insertable column can now be a many-to-one relation)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15743 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-29 08:52:31 +00:00
Gail Badner e1926b4ad9 HHH-3680 - Sybase - composite primary key in unit test exceeds maximum for index causing failure
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15742 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-27 01:51:28 +00:00
Gail Badner 12aadee674 HHH-3679 - Sybase conversion of Java byte to tinyint fails with 8-bit values causing unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15738 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-27 01:10:21 +00:00
Gail Badner 7e8b6a75bd HHH-3675 - Limitations on Sybase ResultSet implementation cause unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15734 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-26 23:57:29 +00:00
Gail Badner 1ff65ff30e HHH-3508 - Sybase Dialect - Override supportsCascadeDelete to return "false"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-26 23:19:25 +00:00
Gail Badner 07999ce59c HHH-3675 - Limitations on Sybase ResultSet implementation causes unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-22 23:31:15 +00:00
Adam Warski 76c4685117 HHH-3633: classes can be audited also if they don't contain any properties (w/ test)
Some corrections in the manual

Performance tests

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15722 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-22 19:16:28 +00:00
Gail Badner 4e5381eb9f HHH-3672 - Sybase - second(), minute(), hour(), and extract() cause GenericJDBCException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15721 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-20 00:37:02 +00:00
Gail Badner c55e3ac7ef HHH-3668 : Sybase does not support implicit conversion from character types to numeric types causes failing unit tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-19 23:08:24 +00:00
Gail Badner 8d677f2b92 HHH-3670 - Invalid test for str() for SQL Server and Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-19 20:56:19 +00:00
Gail Badner 490acd8a0d HHH-3508 - SybaseDialect overrides supportsCascadeDelete to return "false"; SQLServerDialect returns "true"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-19 19:05:29 +00:00
Dave Stephan d3b224103d HHH-3584 - Modified getPropertiesToUpdate to check if version property has been marked as updateable==false before adding.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-16 22:24:53 +00:00
Juraci Krohling 4fa064b209 EJB-404 - Changing the order of the predicates in testIsNull. Now it pleases PostgreSQL as well
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15696 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-15 10:46:00 +00:00
Juraci Krohling a824ec66b5 HHH-3640 - Reverting the eviction of SybaseDialect, as we need to fix the SybaseDialect and the test case itself is valid
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 20:48:49 +00:00
Juraci Krohling 4d23b82803 HHH-3650 - Added fixed 'not null' to the create-table statement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15690 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 15:37:44 +00:00
Juraci Krohling becf5568a4 HHH-3652 - Format the timestamps to a common format, to avoid issues with milliseconds
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15687 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 14:35:08 +00:00
Juraci Krohling fb2eb9e870 EJB-406 - Makes a test to fail if there are unfinished transactions, and closes it to not affect other tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 13:10:10 +00:00
Juraci Krohling cc12ed8c53 HHH-3649 - Added supportsPooledSequences() method, to return true
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-12 12:48:09 +00:00
Juraci Krohling 6483cfb3e5 ANN-790 - Added a missing tx.commit()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-11 12:42:46 +00:00
Juraci Krohling 2473d0e184 HHH-3639 - Column 'role' becomes 'roles_', because 'role' is a reserved keyword in Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15680 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 16:56:10 +00:00
Juraci Krohling 65faf0232a HHH-3640 - Evicting some tests for Sybase on ASTParserLoadingTest, due to unsupported functions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15679 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 16:55:00 +00:00
Juraci Krohling 7a9b8ba19c HHH-3637 - makes the test to be evicted if the Dialect is the Sybase one, based on similar eviction code from other tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15678 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 16:23:10 +00:00