Commit Graph

15867 Commits

Author SHA1 Message Date
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
Juraci Krohling 8719e10c1c EJB-405 - Changed the column name for properties which are reserved keywords in some databases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15677 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 12:05:04 +00:00
Juraci Krohling 468743d2a7 EJB-407 - Fixing the test cases, to close the EM and/or finish the active transaction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 12:01:47 +00:00
Chris Bredesen ff1be35e7d HHH-3636 test case + fix
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15674 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-10 01:47:56 +00:00
Juraci Krohling 19e258ce5a HHH-3632 - Changed version of jcl-over-slf4j, to 1.5.2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15671 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-08 14:05:46 +00:00
Adam Warski e2ae25a9a9 HHH-3623: collectin proxies are serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15615 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-25 15:25:46 +00:00
Adam Warski 0e8bdf990b HHH-3623: collectin proxies are serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-25 15:23:40 +00:00
Adam Warski 266fbedbd3 Performance tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-20 13:09:44 +00:00
Adam Warski 3ad01d08f5 Removing unused HibernateVersion class, updating demo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-19 14:35:40 +00:00
Adam Warski a499ae2273 Adding the missing chapter on queries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15590 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-19 13:49:52 +00:00
Adam Warski ef45d04181 HHH-3611: improved query interface
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15589 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-19 13:10:40 +00:00
Adam Warski a91681858e HHH-3564: updating the manual
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15572 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-17 07:34:10 +00:00
Adam Warski f5253722a4 HHH-3564: support for joined inheritance with tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-17 07:19:44 +00:00
Adam Warski 18074af9b4 HHH-3564: support for table-per-class inheritance strategy with tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15566 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-15 15:23:25 +00:00
Adam Warski 044efaeeb3 HHH-3602: bug fix with test (generating a CollectionChangeWorkUnit for the proper entity in case a relation is owned by a superclass, when inheritance is used)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15565 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-14 15:16:23 +00:00
Adam Warski edf3822cfb HHH-3594: bug fix with test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-12 12:28:54 +00:00
Adam Warski 1013fef216 HHH-3598: revision type property can be used as query restriction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-12 11:03:15 +00:00
Steve Ebersole 6d74f28f9e correct H2 database artifact coord for testsuite profile
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15544 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-10 22:32:17 +00:00
Steve Ebersole 3f20292fb5 HHH-530 : problem with parameter-pulling when row value constructor morphed on dialects not supporting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15538 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-10 18:14:18 +00:00
Adam Warski b4d814bbff HHH-3568: all audit entites are mapped with update="false"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15519 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-05 09:23:49 +00:00