4697 Commits

Author SHA1 Message Date
brmeyer
38b5367f54 HHH-7718 Support "import" in HBM mappings 2012-10-25 15:11:47 -04:00
Esen Sagynov
e4fbe2fc99 HHH-7716 Added a fallback data type for cases when VARCHAR length is
over
4000
chars.

In such cases the column type will be STRING which is equivalent to
VARCHAR(1,073,741,823).
2012-10-25 11:18:11 -04:00
Esen Sagynov
a0d02a0660 HHH-7716 FIxed a bug which didn't allow BOOLEAN type to be saved to
CUBRID DB.
BIT(8) data type solves this issue.
2012-10-25 11:17:44 -04:00
Esen Sagynov
220365600c HHH-7716 Fixed a bug in CUBRIDLimitHandler. Now correctly processes
LIMIT
clause
in SQL.
2012-10-25 11:17:30 -04:00
Esen Sagynov
e7af2f4b76 HHH-7716 Skip these tests for CUBRID dialect as temp tables aren't
supported yet.

Raises: "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables"
2012-10-25 11:17:13 -04:00
Esen Sagynov
9be3666141 HHH-7716 Skip this JoinedSubClassTest for CUBRID dialect as temp tables
are not
supported yet.

Raises "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables".
2012-10-25 11:16:54 -04:00
Esen Sagynov
b9145ab132 HHH-7716 Skip testParameterMixing test for CUBRID dialect. 2012-10-25 11:16:37 -04:00
Esen Sagynov
d4ab63ccc0 HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but
internally
saved as short.
2012-10-25 11:16:20 -04:00
Esen Sagynov
9534ffc94c HHH-7716 Registered reserved words for CUBRID dialect. 2012-10-25 11:16:01 -04:00
Esen Sagynov
f647ecf7ae HHH-7716 Added import for RowSelection used in buildLimitHandler. 2012-10-25 11:15:47 -04:00
Esen Sagynov
f52d0a9d63 HHH-7716 Added imports for CUBRID limit handler. 2012-10-25 11:15:31 -04:00
Esen Sagynov
f0ebd2f378 HHH-7716 Updated CUBRIDDialect.
Added supported SQL functions and data types. Removed limit related
methods in favor of CUBRIDLimitHandler. Improved the dialect by
correctly setting values (true/false) for certain dialect features.
2012-10-25 11:15:10 -04:00
brmeyer
b7855e944b HHH-7682 Audit records are not rolled back when transaction is rolled
back
2012-10-25 10:13:37 -04:00
Lukasz Antoniak
ac511bf72e HHH-7690 - @EmbeddedId with @ManyToOne inside 2012-10-25 12:56:27 +02:00
brmeyer
61eaf4ce4e HHH-7359 accidentally committed TRACE log levels 2012-10-24 23:10:38 -04:00
brmeyer
30ea167c41 HHH-7359 Added a new method to MessageHelper to intelligently handle
property-ref issues in logging.  Rolled it out to as many MessageHelper
users as possible.
2012-10-24 22:51:05 -04:00
brmeyer
9968ce3adb HHH-7359 Corrected trace logging of HibernateProxy objects 2012-10-24 16:05:33 -04:00
brmeyer
deaff9705e HHH-7513 Corrected trace logging for one-to-one cascading 2012-10-24 13:39:36 -04:00
brmeyer
d627089242 HHH-7513 Corrected trace logging for collections using property-refs 2012-10-24 13:39:04 -04:00
Strong Liu
9fbfcdcabf HHH-7712 remove deprecated code 2012-10-24 15:22:56 +08:00
brmeyer
b115f56f57 HHH-7479 formatting 2012-10-24 00:27:37 -04:00
mutazkabashi
1172fd94dc HHH-7479 getForUpdateString() of HSQLDialect returns empty string. 2012-10-24 00:26:52 -04:00
Dmitry Geraskov
6d718a24b0 HHH-7711 Added test for SchemaExport 2012-10-23 18:38:21 -04:00
Dmitry Geraskov
e7e28dd978 HHH-7711 Generate ddl to file even if scriptToConsole and
exportToDatabase are
set to false
2012-10-23 18:37:33 -04:00
brmeyer
1a00abc3a6 HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
2012-10-23 17:44:36 -04:00
brmeyer
5501336c28 HHH-7695: @NotNull ignored on @Embeddable static classes
https://hibernate.onjira.com/browse/HHH-7695
2012-10-23 11:25:22 -04:00
Strong Liu
cc1ce680a4 HHH-7709 - change org.hibernate.type.ForeignKeyDirection to enum 2012-10-23 16:45:30 +08:00
brmeyer
5e158e8861 HHH-7693 Formatting and duplicate code 2012-10-22 13:20:46 -04:00
Bryan Turner
1333725bcf HHH-7692 Use Postgres82Dialect for 9 and 9.1. 2012-10-22 13:14:21 -04:00
Bryan Turner
189a8d3386 HHH-7693 Use SQLServer2008Dialect for 2012.
- Previously, SQL Server version 11 (SQL Server 2012) was an unknown
  version, resulting in the SQLServerDialect
- Added version 11 to the switch statement so that SQLServer2008Dialect
  is now returned by default, as SQL Server 2012 is much more similar
  to SQL Server 2008 than SQL Server 2000
- Added test cases to verify dialects for several SQL Server versions
2012-10-22 13:07:19 -04:00
Strong Liu
46a0cbe7fa HHH-6109 format code 2012-10-22 17:53:00 +08:00
Strong Liu
1b62f92c07 HHH-6109 bind sql result mapping and named query 2012-10-22 17:52:19 +08:00
Strong Liu
58e68ee58e HHH-7706 reorg the imports to see how many @FailureExpectedWithMetamodel left 2012-10-22 17:11:11 +08:00
Strong Liu
064c355cd0 HHH-7706 some minor issues in the metamodel branch 2012-10-22 17:06:14 +08:00
Strong Liu
d2a76dbe1a HHH-7459 test fixed 2012-10-21 01:19:53 +08:00
Strong Liu
210a7f2707 HHH-7459 inverse attribute resolution w/ mappedBy enabled ( the Annotation case ), since from Annotation perspective, we don't have the inversed key, so, have to do the mappedBy attribute look up 2012-10-21 01:07:16 +08:00
Strong Liu
98603cce86 HHH-7459 inverse attribute resolution w/ mappedBy enabled ( the Annotation case ), since from Annotation perspective, we don't have the inversed key, so, have to do the mappedBy attribute look up 2012-10-21 01:04:37 +08:00
Strong Liu
845c757e07 HHH-7459 lazyness is not processed correctly 2012-10-21 01:01:10 +08:00
Strong Liu
5cd3f85ac5 HHH-7459 remove unused class 2012-10-21 00:56:18 +08:00
Strong Liu
2fdf563999 HHH-7459 remove FailureExpectedWithNewMetamodel from fixed tests 2012-10-21 00:55:27 +08:00
brmeyer
ec3f649ad5 HHH-7698: In efficient LOB creations backed by streams
https://hibernate.onjira.com/browse/HHH-7698
2012-10-19 17:10:16 -04:00
brmeyer
22b0203ea7 HHH-7703: @TypeDefs processed, but not used
https://hibernate.onjira.com/browse/HHH-7703
2012-10-19 13:40:37 -04:00
brmeyer
567df233cc HHH-7703: @TypeDefs processed, but not used
https://hibernate.onjira.com/browse/HHH-7703
2012-10-19 12:17:35 -04:00
brmeyer
eaa3f7ef6d HHH-7703 @TypeDefs processed, but not used 2012-10-18 19:17:22 -04:00
Sanne Grinovero
4fe494d13d HHH-7699 DriverManagerConnectionProviderImpl is not exact in counting checked-out connections 2012-10-18 19:42:57 +01:00
Sanne Grinovero
e4300d279c HHH-7699 More aggressive in checking log levels before creating log messages 2012-10-18 19:42:57 +01:00
Sanne Grinovero
e27afb8ded HHH-7699 Proper code formatting of log statements 2012-10-18 19:42:57 +01:00
Galder Zamarreño
a074d3244d HHH-7640 Improve single node Infinispan 2LC performance
* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
2012-10-18 15:57:15 +02:00
brmeyer
d17f5d1662 HHH-7664 5.0.0 unit test clean-up 2012-10-18 09:57:13 -04:00
brmeyer
b55e173ec4 HHH-7702 PluralAttributeElementBinding.Nature.AGGREGATION -> COMPONENT 2012-10-17 22:08:39 -04:00