Steve Ebersole
e79eae88bc
HHH-5853: Problem loading cachable collections defined with a property-ref key with a versioned owner
2011-01-20 15:12:52 -06:00
Hardy Ferentschik
cb7cd71fdf
HHH-5843 Adding a log.isTraceEnabled call before the actual log call
...
Not really related to the HQL parsing, but it is also a small logging performance change
2011-01-19 10:05:37 +01:00
Hardy Ferentschik
3bf6625ab1
Merge branch 'HHH-5843' of git://github.com/Sanne/hibernate-core into Sanne-HHH-5843
2011-01-19 09:27:21 +01:00
JPAV
af24178145
Give each project a single logger
2011-01-18 16:01:00 -06:00
JPAV
3712e1ad7e
Give each project a single logger
2011-01-18 16:00:59 -06:00
JPAV
9b7eb48b55
Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so.
2011-01-18 15:35:50 -06:00
JPAV
a9b1425f3f
Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so.
2011-01-18 15:35:49 -06:00
Gail Badner
126592a55d
HHH-5695 : Test case for derived ID with bidirectional one-to-one
2011-01-17 13:50:39 -08:00
Gail Badner
a6d19f257b
Merge branch 'master' of github.com:hibernate/hibernate-core
2011-01-17 12:26:43 -08:00
Gail Badner
15cc1e7493
HHH-5359 : Derived entity use case fails when the association is bidirectional
2011-01-17 12:25:16 -08:00
Sanne Grinovero
adbe3920f1
HHH-5843 - Avoid useless branches during HQL parsing when trace logging is disabled
2011-01-14 16:31:01 +00:00
Emmanuel Bernard
60857d3966
HHH-5280 Fix excessive caching of the owner
...
An entity can have more than one owner
(eg 2 unidirectional collections pointing to same object)
Make the cache filter by type
2011-01-14 16:03:44 +01:00
Emmanuel Bernard
0600527a6b
HHH-5280 Add test failing on multiple owners
2011-01-14 15:52:43 +01:00
Gail Badner
1c158b0bb7
HHH-5826 : SerializationHelper.resolveClass() never tries loader3
2011-01-11 17:21:08 -08:00
Gail Badner
ca057ccb4c
HHH-5717 : LockOptions not set correctly for queries
2011-01-07 16:35:26 -08:00
Gail Badner
35bf5300c3
Merge branch 'HHH-5811-ByteArrayLob'
2011-01-04 12:59:24 -08:00
Gail Badner
a45ada43e2
HHH-5811 : flush causes update on unchanged Byte[] field
2011-01-04 12:58:09 -08:00
Emmanuel Bernard
20f8a8e2d3
HHH-5816 Expose list of modified properties in PostUpdateEvent
2011-01-04 15:45:02 +01:00
Hardy Ferentschik
dc91727742
HHH-5800 This test now also derives from HibernateTestCase. This way the test is aligned with the tests added for this issue.
2011-01-03 16:58:46 +01:00
Hardy Ferentschik
95c23b6f50
HHH-5800 Applying Hibernate code formatting style
2011-01-03 16:55:30 +01:00
davidmc24
bde29a52d2
HHH-5800 Fix override handling for associations as per chapter 12 of the JPA 2.0 specification.
...
Some subelements should merge with Java annotations in some contexts (such as directly within an entity) but not in others (such as in an association mapping). The methods to handle these elements were enhanced to be aware of these two different modes through the use of a boolean flag.
2011-01-01 18:34:11 -05:00
davidmc24
99c4ecef99
HHH-5800 Add tests for element-collection orm XML support
2011-01-01 14:46:49 -05:00
davidmc24
af1e078f83
HHH-5800 Add tests for many-to-many orm XML support
2011-01-01 14:46:48 -05:00
davidmc24
33d9cbaa76
HHH-5800 Add tests for one-to-one orm XML support
2011-01-01 14:46:48 -05:00
davidmc24
e0b06e8a57
Attempt to match Hibernate code conventions
2011-01-01 14:46:47 -05:00
davidmc24
6de52c2db3
HHH-5800 Add tests for one-to-many orm XML support
2011-01-01 14:46:47 -05:00
davidmc24
9bdd76b0e7
HHH-5800 Add tests and fixes for many-to-one orm XML support
2011-01-01 14:46:47 -05:00
Strong Liu
f97d02c61b
HHH-5806 mapping static inner class causes hsqldb tests fails
2010-12-23 17:54:37 +08:00
Gail Badner
bf6bd51c7e
HHH-5325 : Improvements to test suite (fixes HQLDB 2.0 failures)
2010-12-20 17:27:10 -08:00
Gail Badner
262f25311d
HHH-5791 : NPE merging transient entity with non-nullable property set to null with delayed insert if check_nullability set to false
2010-12-17 16:10:33 -08:00
Gail Badner
66f8e90e7c
Merge branch 'HHH-5778-batch'
2010-12-16 23:59:10 -08:00
Gail Badner
1f0c74cb5e
HHH-5778 : Wire in new batch code
2010-12-16 17:36:18 -08:00
Hardy Ferentschik
e5da3bf149
HHH-5794 Adding/Updating license headers
2010-12-16 15:33:00 +01:00
David M. Carr
66f7018b9d
Remove extraneous comments from test entity.
2010-12-16 15:33:00 +01:00
David M. Carr
48f5b51ca7
More changeset cleanup.
2010-12-16 15:33:00 +01:00
David M. Carr
5cbffa051d
Tidy up the changeset a little.
2010-12-16 15:33:00 +01:00
David M. Carr
13f25fe72f
Enhance the test to cover additional mapping elements, and implement support for them.
2010-12-16 15:32:59 +01:00
David M. Carr
363aa25c55
Add support for map-key-class in orm.xml
2010-12-16 15:32:59 +01:00
dcarr
7d884f4bb6
Enhance Ejb3XmlTest to try to persist an entity mapped using <map-key-class> in the orm.xml
2010-12-16 15:32:59 +01:00
Gail Badner
7262276fa9
HHH-5778 : Wire in new batch code
2010-12-15 12:36:23 -08:00
Strong Liu
4c7983151c
HHH-5727 Collection member declaration not handling optional AS in HQL.
2010-12-14 04:53:15 +08:00
Emmanuel Bernard
55e27c3825
Fix minor typos in the Dialect JavaDocs
2010-12-10 14:19:20 +01:00
Gail Badner
e7daff9d93
HHH-5782 HHH-5783 : Remove "throws SQLException" from ConnectionManager methods; ConnectionManager should set timeout
2010-12-09 20:23:08 -08:00
Gail Badner
b006a6c3c5
HHH-5765 : Refactor JDBCContext/ConnectionManager spi/impl and to use new proxies
2010-12-08 17:23:44 -08:00
Strong Liu
cc4055d50c
merge https://github.com/hibernate/hibernate-core/pull/20
2010-12-03 22:39:38 +08:00
Gail Badner
97fef96b98
HHH-5765 : Integrate LogicalConnection into ConnectionManager
2010-12-02 11:16:10 -08:00
Gail Badner
da1750881a
HHH-5765 : changed ConnectionManager.Callback to extend ConnectionObserver
2010-11-30 22:47:28 -08:00
Gail Badner
fda684a5a6
HHH-5765 : remove dialect and connection provider from Settings
2010-11-30 20:31:53 -08:00
Gail Badner
3ca8216c7c
HHH-5765 : Wire in SQLExceptionHelper for converting SQLExceptions
2010-11-30 18:50:34 -08:00
Gail Badner
91d444423b
HHH-5765 : Wire in dialect factory and resolvers from service registry
2010-11-30 14:31:30 -08:00
Gail Badner
88543c7a58
HHH-5765 : Wire in connection provider from service registry
2010-11-30 11:38:53 -08:00
Strong Liu
5aed6b19cb
HHH-5726 update test case
2010-11-29 18:11:44 +08:00
Strong Liu
915d6f9eea
update StandardDialectResolver to return correct dialect for ms sql server
2010-11-29 17:38:31 +08:00
Strong Liu
01dd9a44e5
Merge branch 'mssql2005' of https://github.com/valotas/hibernate-core into valotas-mssql2005
2010-11-29 16:57:03 +08:00
Yoryos Valotasios
38cd2fe25c
SQLServer2005Dialect: Made some comments more specific
2010-11-23 00:46:48 +02:00
Yoryos Valotasios
2ae06c9469
SQLServer2005Dialect: removed useless commented code
2010-11-23 00:44:02 +02:00
Yoryos Valotasios
f6a349bcb8
SQLServer2005Dialect: Moved the small methods on top of the class
2010-11-23 00:25:14 +02:00
Yoryos Valotasios
48239bbbcc
Added some comments
2010-11-23 00:22:39 +02:00
Yoryos Valotasios
b47dc5aeda
SQLServer2005Dialect: modifications in order to support variable limit
2010-11-23 00:19:22 +02:00
Yoryos Valotasios
11a98623e5
Dialect: Improved exception messages by adding the dialect class name
2010-11-15 00:58:57 +02:00
Yoryos Valotasios
71cef3831d
SQLServer2005Dialect: Added @Override to the supportsVariableLimit method
2010-11-15 00:33:09 +02:00
Yoryos Valotasios
571318e6e4
Added comments. The dialect should also fix HHH-3936
2010-11-15 00:12:10 +02:00
Yoryos Valotasios
ceba976e57
SQLServer2008Dialect should extend SQLServer2005Dialect
2010-11-14 23:56:33 +02:00
Yoryos Valotasios
2964b975ef
HHH-3965: registered some more columntypes as varchar(max) and varbinary(max)
2010-11-14 23:55:06 +02:00
Yoryos Valotasios
c9833f3eaa
HHH-3965 fix, make use of varbinary(max) and varchar(max)
2010-11-14 23:51:15 +02:00
Yoryos Valotasios
9e2902807c
Make use of generics for the Dialect and TypeNames class
2010-11-14 23:31:20 +02:00
Steve Ebersole
5d8c5d371b
Merge branch 'HHH-5709' of https://github.com/tblachowicz/hibernate-core into tblachowicz-HHH-5709
2010-11-11 11:41:38 -06:00
Hardy Ferentschik
ce56969173
HV-361 Taking into account that applyDDL can be called multiple times. Adding comment that @Range annotation is automatically taken care of, because it is a composing constraint of @Min and @Max
2010-11-11 17:31:46 +01:00
Hardy Ferentschik
ff47006731
HV-361 Adding test for @Range constraint
2010-11-11 17:31:46 +01:00
Hardy Ferentschik
0cb3e66eef
HV-361 Adding test entity for @Range constraint
2010-11-11 17:31:46 +01:00
Hardy Ferentschik
c07ee1a4c0
HV-361 Making sure that multiple column checks are properly added
2010-11-11 17:31:46 +01:00
Hardy Ferentschik
c22a6be533
HV-361 Changing existing tests to use @RequiresDialect(DialectChecks.SupportColumnCheck)
2010-11-11 17:31:46 +01:00
Hardy Ferentschik
d24a06ee8d
HV-361 Formatting and adding/updating copyrights
2010-11-11 17:31:46 +01:00
Strong Liu
97f8ceac9b
HHH-5727 Collection member declaration not handling optional AS in HQL.
2010-11-11 19:09:50 +08:00
Yoryos Valotasios
ae271db9ba
renamed the old SQLServerDialect unit tests to SQLServer2005DialectTestCase
2010-11-10 22:06:42 +02:00
Yoryos Valotasios
e3ad6c881e
SQLServer2005Dialect: supports sql server 2005 but not 2000
2010-11-10 22:05:23 +02:00
Yoryos Valotasios
2ec009440e
SQLServerDialect fallback to the pre HHH-2655 one
2010-11-10 22:03:47 +02:00
Strong Liu
6e565102b5
HHH-5715 revert the change made in hibernate.properties, default is H2
2010-11-10 22:58:30 +08:00
Emmanuel Bernard
42261a61df
HHH-5724 display the constraint failures on Bean Validation exception
2010-11-10 13:12:07 +01:00
Tomasz Blachowicz
fb26f4c1a0
HHH-5709: New property of PersistentClass finally renamed to jpaEntityName
2010-11-09 09:53:02 +00:00
Yoryos Valotasios
69ed7a9b88
Make use of better method names
2010-11-06 15:39:44 +02:00
Yoryos Valotasios
d390f85544
SQLServerDialect: Added comments and refactored some varibles
2010-11-06 15:34:35 +02:00
Yoryos Valotasios
b9f84044e6
removed useless wrong assert statement
2010-11-06 15:33:45 +02:00
Yoryos Valotasios
74c9ec6bda
Modified the SQLServerDialect in order to replace the distinct keyword with a groub by clause
2010-11-06 14:59:53 +02:00
Yoryos Valotasios
55c822c56e
HHH-5715 test case
2010-11-05 11:23:08 +02:00
Tomasz Blachowicz
f29fab99a6
HHH-5709: New property added to PersistentClass to hold the name of the entity compliant with JSR-317 spec. Used by JPA2 metamodel.
2010-11-03 14:10:58 +00:00
Strong Liu
ba040a3378
HHH-5700 incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest
2010-11-02 20:47:37 +08:00
Strong Liu
528b652d07
HHH-2655 ROW_NUMBER for Paging
2010-11-02 20:39:03 +08:00
Steve Ebersole
61060d13a9
HHH-5706 - Incorrect accounting for 1-based LOB offsets
2010-11-01 13:57:29 -05:00
Strong Liu
a3a732b494
HHH-2655: make use of the ROW_NUMBER function
2010-11-01 12:20:03 +08:00
Yoryos Valotasios
9b32e9462a
HHH-2655: bug fix: row_number() function is not zero and so we must increament the given limit and offset by one
2010-10-30 00:04:51 +03:00
Yoryos Valotasios
895e1bf716
HHH-2655: Modified the SQLServer2008Dialect to make use of the ROW_NUMBER function for queries with limit
2010-10-28 21:36:16 +03:00
Strong Liu
ca009f5340
HHH-3873 DB2Dialect.getLimitString raise DB2 error message when called with limit=0
2010-10-28 16:22:05 +08:00
Strong Liu
98f41bd6a8
HHH-5168 DB2Dialect generates CROSS JOINs which aren't supported
2010-10-26 15:12:14 +08:00
Steve Ebersole
40cd2bcd02
HHH-5662 - Import the initial work
2010-10-15 15:35:30 -05:00
Steve Ebersole
6ea31ce779
HHH-5662 - Import the initial work
2010-10-15 13:56:33 -05:00
Steve Ebersole
960326510f
HHH-5662 - Import the initial work
2010-10-14 16:37:14 -05:00
Steve Ebersole
aec8d1a742
HHH-5658 - Better .gitignore
2010-10-14 09:33:20 -05:00
Gail Badner
8575247aaf
HHH-5638 : move o.h.engine.jdbc.proxy to o.h.engine.jdbc.internal.proxy
2010-10-13 16:04:04 -07:00
Gail Badner
7f91fb73d5
HHH-5656 : Import ServicesRegistry bootstrap code and service tests
2010-10-13 15:04:05 -07:00
Gail Badner
d4bf11d8ba
HHH-5641 : Import JtaPlatform services
2010-10-13 13:16:25 -07:00
Gail Badner
a23796c92d
HHH-5618 : Support legacy connection providers
2010-10-12 15:20:46 -07:00
Gail Badner
ee6bde2957
change h2 to 1.2.140; add DVCC=TRUE to TestingDatabaseInfo
2010-10-12 13:20:06 -07:00
Steve Ebersole
2443fede65
HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore
2010-10-11 17:43:42 -05:00
Steve Ebersole
b5f4f8aebc
HHH-5616 - Switch to Gradle for builds
2010-10-11 16:42:44 -05:00
Steve Ebersole
248ef9771f
HHH-5616 - Switch to Gradle for builds .. gradlew
2010-10-11 14:41:49 -05:00
Steve Ebersole
7ce80c9c2d
HHH-5616 - Switch to Gradle for builds .. IntelliJ
2010-10-11 14:41:49 -05:00
Steve Ebersole
901513ed7c
HHH-5616 - Switch to Gradle for builds .. uploads
2010-10-11 14:41:49 -05:00
Steve Ebersole
9134d89dc0
HHH-5616 - Switch to Gradle for builds
2010-10-11 14:41:48 -05:00
Steve Ebersole
f476da02ee
HHH-5616 - Switch to Gradle for builds
2010-10-11 14:41:48 -05:00
Steve Ebersole
5d12ea8287
HHH-5616 - Switch to Gradle for builds
2010-10-11 14:41:47 -05:00
Steve Ebersole
737ab3b672
HHH-5616 - Switch to Gradle for builds ... working hibernate-core
2010-10-11 14:41:47 -05:00
Steve Ebersole
93bc4272df
HHH-5616 - Switch to Gradle for builds
2010-10-11 14:41:47 -05:00
Steve Ebersole
34c2839dcc
HHH-5616 - Switch to Gradle for builds
2010-10-11 14:41:47 -05:00