Hardy Ferentschik
bd64a464f8
HHH-7500 Using BaseAnnotationBindingTest as base for the test. This way @FailureExpectedWithNewMetamodel takes effect
2012-08-03 13:20:15 +02:00
Hardy Ferentschik
bdd8d49b6a
HHH-7500 Using BaseAnnotationBindingTest as base for the test. This way @FailureExpectedWithNewMetamodel takes effect
2012-08-03 13:19:57 +02:00
Hardy Ferentschik
39f509e886
HHH-7500 Moving BaseAnnotationBindingTest into the testing module. This way it can be reused by other annotation based tests
2012-08-03 13:18:37 +02:00
Gail Badner
f79001e675
HHH-7500 HHH-7497 : Use new metamodel and validate expected failures by default; add/remove @FailureExpectedWithNewMetamodel as necessary
2012-08-03 00:28:11 -07:00
Hardy Ferentschik
18a255a0e0
HHH-6285 Adding test case
2012-08-02 16:46:43 +02:00
Hardy Ferentschik
28c52727b4
HHH-7484 Moving EntityHierarchyBuilder into the util subpackage
2012-08-02 16:11:46 +02:00
Hardy Ferentschik
4ddf38f751
HHH-7484 Make sure id attributes are overridable as well
2012-08-02 15:39:49 +02:00
Hardy Ferentschik
50d9189b9d
HHH-7484 Transparently indexing all super types of configured classes to match behavior of old Configuration
2012-08-02 15:18:43 +02:00
Hardy Ferentschik
43c1e0465f
HHH-7484 Taking care of attribute overrides and re-enabling MappedSuperclassTest
2012-08-02 13:35:51 +02:00
Hardy Ferentschik
eb7608cd1b
HHH-7484 Separating the org.hibernate.metamodel.spi.source implementations from the model build in org.hibernate.metamodel.internal.source.annotations.entity and org.hibernate.metamodel.internal.source.annotations.attribute
2012-08-02 13:35:50 +02:00
Hardy Ferentschik
ddaf155423
HHH-7484 Making sure the mapped super class list is initalized
2012-08-02 13:35:50 +02:00
Hardy Ferentschik
449d020d04
HHH-7484 Creating a dedicated RootEntityClass
2012-08-02 13:35:50 +02:00
Eric Dalquist
8de0f9e875
HHH-7468 Recreate toString value holder after deserialization
2012-08-02 13:30:21 +08:00
Gail Badner
4ae8280e97
HHH-7497 : Remove @FailureExpectedWithNewMetamodel from tests that succeed without it
2012-08-01 16:11:36 -07:00
Gail Badner
8c623005fc
HHH-7497 : Remove @FailureExpectedWithNewMetamodel from tests that succeed without it
2012-08-01 13:20:21 -07:00
Hardy Ferentschik
c4b0a58f55
HHH-7484 Introducing a MappedSuperclass (just used as a marker atm) and added special constructor for root entity.
...
Fixed handling of discriminator column. If there are no subclasses and the discriminator column is not forced no column should be generated
2012-08-01 13:51:42 +02:00
Hardy Ferentschik
d6bb126c04
HHH-7484 Formatting
2012-08-01 13:37:52 +02:00
Hardy Ferentschik
57be2cfff0
HHH-7484 Removing unnecessary ColumnSourceImpl#resolveColumnName
2012-08-01 13:37:52 +02:00
Hardy Ferentschik
d8c4c266df
HHH-7484 Setting the default value for column definition to null instead of empty string
2012-08-01 13:37:52 +02:00
Hardy Ferentschik
8dfa264df1
HHH-7484 Import cleanup
2012-08-01 13:37:52 +02:00
Hardy Ferentschik
e2dfecc1b1
HHH-7484 Starting to add support for mapped superclasses
2012-08-01 13:37:52 +02:00
Hardy Ferentschik
672368931f
HHH-7484 Removing obsolete //$Id$ and adding missing license headers (no functional changes)
2012-08-01 13:37:51 +02:00
Strong Liu
7f3ad01b50
HHH-7495 HHH-7492 Move RegionFactory to session factory scope service registry
2012-08-01 04:28:55 +08:00
Strong Liu
9632e010e8
HHH-7492 - fixing test failures caused by some configuration is not applied to metamodel
2012-07-31 15:08:19 +08:00
Strong Liu
60aad81c23
HHH-7491 fix test failures caused by natural id cache access strategy is not exposed to the persister
2012-07-31 04:03:14 +08:00
Strong Liu
887c6539d2
HHH-7452 fixing xsd issue
2012-07-30 21:25:13 +08:00
Strong Liu
be2a4f44f6
HHH-7482 fix test failure
2012-07-30 20:20:43 +08:00
Strong Liu
b6f068a1f0
HHH-7485 Collection Caching region is bindded with wrong default region in annotation side
2012-07-30 20:09:39 +08:00
Strong Liu
127283374d
HHH-7483 fix test failures caused by quoting table name
2012-07-30 12:58:15 +08:00
Strong Liu
e4bf3e4583
HHH-7482 auto import entities with annotation mapping
2012-07-30 11:50:58 +08:00
Steve Ebersole
b2ef3b67b2
HHH-7472 - Introduce a "schema management" service
2012-07-29 17:05:41 -05:00
Strong Liu
517a94fc41
HHH-7480 fix test failures caused by column name is null
2012-07-30 00:10:49 +08:00
Steve Ebersole
2d82a57632
HHH-7472 - Introduce a "schema management" service
2012-07-28 17:47:04 -05:00
Steve Ebersole
47f6360225
HHH-7472 - Introduce a "schema management" service
2012-07-28 00:04:20 -05:00
Steve Ebersole
f43c8bab1b
HHH-7472 - Introduce a "schema management" service
2012-07-27 21:28:05 -05:00
Steve Ebersole
ce9fa10902
HHH-7472 - Introduce a "schema management" service
2012-07-27 21:01:39 -05:00
Gail Badner
d71a2bb6e2
HHH-7477 : Fix DiscriminatorTest.testDiscriminatorSubclass
2012-07-26 14:57:49 -07:00
John Verhaeg
d7c4128826
HHH-7474: Added @FailureExpectedWithNewMetamodel annotation to all remaining tests that fail with the new metamodel, but still a couple of strange failures happening with some Envers tests.
2012-07-26 15:32:19 -05:00
Hardy Ferentschik
1d53de8262
HHH-7470 Re-enabling bean validation integration for new metamodel
2012-07-26 12:38:59 +02:00
Lukasz Antoniak
9c859d0432
HHH-6662 - More descriptive test names
2012-07-26 06:53:54 +02:00
John Verhaeg
0f77803b9c
HHH-7474: Added @FailureExpectedWithNewMetamodel annotation to more tests that fail with the new metamodel.
2012-07-25 17:17:08 -05:00
Lukasz Antoniak
414e6111a8
HHH-6662, HHH-7445 - Fix and test
2012-07-25 23:23:17 +02:00
Steve Ebersole
e3a606e3db
HHH-6159 - Create EntityManagerFactoryBuilder : remove explicit 'use metamodel' flag + fixed query imports from hbm processing
2012-07-25 15:25:17 -05:00
John Verhaeg
61fe3b7457
HHH-7474: Added support for new @FailureExpectedWithNewMetamodel annotation to be used by tests that still fail with the new metamodel. Functions exactly like @FailureExpected, except requires no JIRA key and is only processed when testing against the new metamodel. Also added annotation to several tests that were failing against the new metamodel, to get started with the process of annotating them all.
2012-07-25 15:00:55 -05:00
Strong Liu
787ab27d45
HHH-7452 mixin interface to simplify orm xml binding
2012-07-25 13:41:50 +08:00
John Verhaeg
37d365cdf0
HHH-7471: Fixed back ref support. This is now done at the end of building metadata within the MetadataImpl, as opposed to within the Binder, since we need everything resolved on both sides of an association to know when a back ref is needed. Also corrected some issues with the hbm file.
2012-07-24 17:02:13 -05:00
Steve Ebersole
df74a4d55f
HHH-6159 - Create EntityManagerFactoryBuilder : fixed failures hidden behind 'use new metamodel flag' not being true
2012-07-24 16:22:10 -05:00
Steve Ebersole
183c914f57
HHH-6204 - JoinColumn on non key field fails to populate collection
2012-07-24 14:59:27 -05:00
John Verhaeg
5932915b68
HHH-7439: Added tests to support unidirectional one-to-many lists, but not for maps since current test infrastructure doesn't support anything but Java collections. Tests failed to illuminate any additional problems, contrary to what we were expecting, so skipping map support for now.
2012-07-24 10:51:46 -05:00
Steve Ebersole
288155bcb2
HHH-6159 - Create EntityManagerFactoryBuilder : integrate EntityManagerFactoryBuilder with metamodel codebase
2012-07-24 02:30:40 -05:00
Steve Ebersole
61c04a0b30
HHH-6159 - Create EntityManagerFactoryBuilder : integrate EntityManagerFactoryBuilder with metamodel codebase
2012-07-24 00:03:29 -05:00
Hardy Ferentschik
72af04524a
Moving xml mapping files into resources folder. Creating subpackages for some tests
2012-07-23 17:02:43 +02:00
Strong Liu
49e156d309
HHH-7452 mixin interface to simplify orm xml binding
2012-07-22 02:00:02 +08:00
Strong Liu
55ce8d7406
HHH-6409 : correct test to make it determinate
2012-07-21 11:42:18 +08:00
Gail Badner
05cd530044
HHH-6409 : correct test to make it determinate
2012-07-20 19:00:17 -07:00
Gail Badner
b8f8c90199
Bugfixes due to merge from master
2012-07-20 18:57:46 -07:00
Gail Badner
ba459aa00c
HHH-6569 : Update persisters and tuplizers to use components
2012-07-19 23:29:04 -07:00
Steve Ebersole
42a3061f3e
Merge branch 'master' into metamodel
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinition.java
hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryReturnProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/AnnotationBindingContextImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/QueryProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/CompositePluralAttributeElementSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/MappingDocument.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/TimestampAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/VersionAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EntityBindingContext.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/ComponentAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HibernateMappingProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/spi/domain/Composite.java
hibernate-core/src/main/java/org/hibernate/metamodel/spi/source/BindingContext.java
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/SimpleValueBindingTests.java
hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/event/CallbackResolver.java
2012-07-19 15:50:50 -05:00
Steve Ebersole
6a65c3e7e6
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : SynchronizationType
2012-07-18 17:48:59 -05:00
Steve Ebersole
f8d06216e5
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : criterias
2012-07-18 17:48:59 -05:00
Steve Ebersole
219707df1d
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : REF_CURSOR param handling
2012-07-18 17:48:59 -05:00
Steve Ebersole
cb13cea1ac
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159)
2012-07-18 17:48:59 -05:00
Steve Ebersole
9ce3afd8da
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter + HEM boot cleanup (HHH-6159)
2012-07-18 17:03:09 -05:00
Steve Ebersole
ad2a9ef651
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter
2012-07-18 17:00:20 -05:00
Steve Ebersole
153eb4a913
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : stored procedure queries
2012-07-18 17:00:19 -05:00
Steve Ebersole
4174c14675
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : UPDATE/DELETE criterias
2012-07-18 16:52:33 -05:00
Steve Ebersole
2adab60d15
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : TREAT
2012-07-18 16:52:32 -05:00
Steve Ebersole
8b87ae8830
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : FUNCTION keyword
2012-07-18 16:52:32 -05:00
Steve Ebersole
0a37440431
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : ON keyword
2012-07-18 16:52:32 -05:00
Steve Ebersole
3edb72db48
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : addNamedQuery support
2012-07-18 16:52:32 -05:00
Strong Liu
f0a49ada75
HHH-7452 mixin interface to simplify orm xml binding
2012-07-17 15:26:45 +08:00
Strong Liu
6ed7e9ee7f
HHH-7452 mix SchemaAware interface into orm.xml binding
2012-07-17 13:35:45 +08:00
Strong Liu
3806705b82
HHH-7450 reformat hibernate mapping xsd
2012-07-17 13:35:30 +08:00
Strong Liu
95a06fc49f
HHH-7450 simplify xsd
2012-07-16 21:30:30 +08:00
Strong Liu
d6ab4a203a
HHH-7450 mapkey
2012-07-16 20:50:20 +08:00
Strong Liu
f100b3de03
HHH-7450 component
2012-07-16 20:38:03 +08:00
Strong Liu
347398aad5
HHH-7450 fix test failure
2012-07-16 19:16:21 +08:00
Strong Liu
f057bc8ac9
HHH-7450 meta-element
2012-07-16 18:55:46 +08:00
Strong Liu
d57ffbdb32
HHH-7450 apply simplify plugin
2012-07-16 18:28:49 +08:00
Strong Liu
2eb320b9c6
HHH-7450 simplify composite-element-element
2012-07-16 17:25:29 +08:00
Strong Liu
c1f7fd4d13
HHH-7450 simplify composite id's key-property and key-many-to-one property
2012-07-16 17:23:34 +08:00
Strong Liu
91a9e0f616
HHH-7450 add simplify plugin
2012-07-16 17:06:29 +08:00
Strong Liu
4e9bf24af1
HHH-7450 simplify hbm xsd
2012-07-16 17:01:44 +08:00
Strong Liu
ef168c1f5d
HHH-7448 hbm mapping xsd improve
2012-07-13 17:01:47 +08:00
Strong Liu
ab708a7ed9
HHH-2394 remove last comma in the array, seems some jdks do not support it
2012-07-12 23:55:17 +08:00
Strong Liu
cef5f9a7cd
HHH-2394 Add support for SqlFragmentAlias.entity element
2012-07-12 23:30:01 +08:00
Rob Worsnop
5cb8d3a8b3
HHH-2394 Add support for SqlFragmentAlias.entity element
2012-07-12 22:59:22 +08:00
Rob Worsnop
82c99ccf6f
HHH-2394 Removed unused imports
2012-07-12 22:59:22 +08:00
Rob Worsnop
542bc5c83c
HHH-2394 Allowed usage of {alias} marker.
2012-07-12 22:59:22 +08:00
Rob Worsnop
1cd8db2ac3
HHH-2394 Got filters working with secondary tables
2012-07-12 22:59:21 +08:00
Rob Worsnop
05dcc209ae
HHH-2394 Implemented @SqlFragmentAlias
2012-07-12 22:58:11 +08:00
Rob Worsnop
cfe7db063a
consolidate src/test and src/matrix
2012-07-12 22:58:11 +08:00
Rob Worsnop
dc4e87340d
HHH-2394 refactored unit tests
2012-07-12 22:58:11 +08:00
Rob Worsnop
2aa89290f7
HHH-2394 Added test cases
2012-07-12 22:58:11 +08:00
Rob Worsnop
09547a9051
HHH-2394 Remove conditions that blocked filters on sub-classes (for annotations)
2012-07-12 22:58:10 +08:00
Rob Worsnop
63f2639101
HHH-2394 Derive table name from correct filter (fixed typo)
2012-07-12 22:58:10 +08:00
Rob Worsnop
ee01d80677
HHH-2394 Prefixes won't work; need table set explicitly
2012-07-12 22:58:10 +08:00
Rob Worsnop
dbff4c1839
HHH-2394 Got filters working on sub-classes.
2012-07-12 22:58:09 +08:00
Strong Liu
1d2877838b
HHH-7447 ValueHolder used in NaturalIdCacheKey is not Serializable
2012-07-12 22:53:07 +08:00
Strong Liu
9324c7ab1e
HHH-7447 ValueHolder used in NaturalIdCacheKey is not Serializable
2012-07-12 22:38:39 +08:00
Strong Liu
97ac8311d4
HHH-7426 Setting cacheable='true' in orm.xml does not enable caching of entity in 2lc
2012-07-12 15:00:44 +08:00
Lukasz Antoniak
c46daa4cf0
HHH-7440, HHH-7368, HHH-7369, HHH-7370 - Redesign dialect-specific LIMIT clause appliance
2012-07-10 21:19:32 +02:00
Strong Liu
65d1724433
HHH-7310 Resolution of types registered in type registry does not work properly for Properties of @Embeddable types
2012-07-11 01:21:46 +08:00
Philippe Marschall
3e4786220c
HHH-5929 PooledLoOptimizer is not thread-safe
...
All Optimizers in OptimizerFactory are thread safe by having the
#generate(AccessCallback) method synchronized. The only exception is
PooledLoOptimizer who's #generate(AccessCallback) method is not
synchronized.
- make PooledLoOptimizer#generate(AccessCallback) synchronized
https://hibernate.onjira.com/browse/HHH-5929
https://hibernate.onjira.com/browse/HHH-6829
2012-07-11 00:29:32 +08:00
Strong Liu
a86997c7ba
HHH-7442 rename org.hibernate.internal.util.Value
2012-07-10 23:28:20 +08:00
Strong Liu
507e609176
HHH-7431 Reduce NaturalIdCacheKey Memory Footprint
2012-07-10 23:10:34 +08:00
John Verhaeg
6b4b91ccc7
HHH-7439: Added list and map to unidirectional one-to-many test
2012-07-09 11:56:26 -05:00
Gail Badner
cc7cfb5c40
HHH-7436 : Add FailureExpected test for unidirectional many-to-many
2012-07-06 13:13:11 -07:00
Eric Dalquist
a92d402cc5
HHH-7431 Don't pre-calc toString
...
Remove toString pre-calculation to avoid excess memory usage.
2012-07-06 11:15:17 -05:00
Strong Liu
4a6ea053cc
HHH-6491 Binding @SqlResultSetMapping
2012-07-05 01:59:18 +08:00
Gail Badner
bc3964ba98
HHH-7427 : Ensure version column is non-nullable
2012-07-03 16:19:03 -07:00
Gail Badner
6f23941c29
HHH-7322 : Support for bidirectional one-to-many/many-to-one
2012-07-03 12:38:35 -07:00
Strong Liu
1a3c584991
HHH-6491 Binding @SqlResultSetMapping
2012-07-03 14:03:14 +08:00
Strong Liu
10a6425770
HHH-6491 Binding @SqlResultSetMapping
2012-06-29 00:21:26 +08:00
Strong Liu
c1e40df164
HHH-6491 Binding @SqlResultSetMapping
2012-06-28 23:45:27 +08:00
Strong Liu
1679b1d3fc
HHH-6354 ManyToOne natural id binding
2012-06-27 22:46:02 +08:00
Strong Liu
1ab72cfdb6
HHH-6354 component attribute natural id binding
2012-06-27 22:46:01 +08:00
Strong Liu
473790c1e4
HHH-6354 binding natural id on basic attribute
2012-06-27 22:46:01 +08:00
Strong Liu
1b1af382de
HHH-7384 binding natural id cache
...
HHH-6354 Implement natural ID mapping
2012-06-27 22:46:01 +08:00
Strong Liu
b2e0b5032d
HHH-7384 add natural id to the hbm mapping xsd
2012-06-27 22:46:01 +08:00
Strong Liu
080446c89c
HHH-7384 add natural id to the hbm mapping xsd
2012-06-27 22:46:01 +08:00
Gail Badner
7e6ea21908
HHH-7092 : Create default name for foreign and unique key constraints
2012-06-26 14:32:59 -07:00
Gail Badner
c01104fbae
HHH-6436 : Add org.hibernate.metamodel.relational.Column.isIdentity()
2012-06-19 14:41:00 -07:00
Steve Ebersole
d51a0d0c78
HHH-4394 - @OrderBy usage on a joined classes (when using join table) produces incorred SQL syntax.
2012-06-15 17:13:42 -05:00
Gail Badner
f26e13173d
HHH-7392 : Provide support for nullable many-to-one attributes
2012-06-14 14:27:31 -07:00
Gail Badner
22365060d5
HHH-7383 : Change Constraint interface and implementations to return unmodifiable collections instead of Iterable
2012-06-12 16:44:17 -07:00
Lukasz Antoniak
41bac11115
HHH-7311 - Fix and test
2012-06-12 07:22:49 +02:00
Strong Liu
1f78c9685e
HHH-7382 refact: unify the configuration implementation loading strategy
2012-06-12 01:12:37 +08:00
Strong Liu
74b9ebc09a
HHH-7381 license header
2012-06-11 21:54:39 +08:00
Strong Liu
451dcd5f19
HHH-7381 Refact: split CacheImpl from SessionFactoryImpl into a session factory scope service
2012-06-11 21:53:42 +08:00
Strong Liu
aac6510098
HHH-7380 bug when initialize MULTI_TENANT_IDENTIFIER_RESOLVER and CUSTOM_ENTITY_DIRTINESS_STRATEGY
2012-06-11 17:46:54 +08:00
Steve Ebersole
55abc2e357
Fixed files truncated by merge from master
2012-06-08 14:32:09 -05:00
Gail Badner
758c2491b5
Added test code truncated by merge
2012-06-08 12:09:17 -07:00
Steve Ebersole
986b66eb18
Initial merge from master to metamodel
2012-06-07 16:12:32 -05:00
Steve Ebersole
0196ad20f8
consolidate src/test and src/matrix
2012-06-07 14:07:08 -05:00
Steve Ebersole
67c5000885
HHH-7374 - Support KEY, ENTRY and VALUE qualifiers in WHERE clause
2012-06-06 17:22:58 -05:00
Gail Badner
503949b563
HHH-7322 : Integrate one-to-many cascade and fetch mode to persisters
2012-06-06 12:42:55 -07:00
Gail Badner
92c7b2d04f
HHH-7373 : Remove commented out code from unit test
2012-06-05 13:37:00 -07:00
Gail Badner
48cd1e2f81
HHH-7373 : Basic collection element nullability is incorrect
2012-06-05 12:44:11 -07:00
John Verhaeg
188049a5a0
HHH-7372: Added tests to test laziness for other collection types. Also renamed test to better reflect its purpose.
2012-06-05 14:14:49 -05:00
Strong Liu
ab8930d925
HHH-7298 sybase ase 15.7 doesn't support lock timeout in statement level
2012-06-04 11:00:11 +08:00
Gail Badner
a23ec12e9c
HHH-6409 : Add tests and make corrections to Value.getAlias() implementations
2012-06-01 18:20:51 -07:00
Steve Ebersole
e26b8be6a5
HHH-6707 - One-to-One mapping with foreign key in target table and foreign key being the primary key fails with Oracle
2012-06-01 11:59:42 -05:00
Strong Liu
c02de61f24
HHH-7298 seems DB2 do not support set lock timeout from statement level
2012-06-01 17:31:43 +08:00
Strong Liu
0996a970ab
HHH-7298 org.hibernate.test.dialect.functional.SQLServerDialectTest#testLockNowaitSqlServer catches wrong exception
2012-06-01 15:52:00 +08:00
Strong Liu
c0b4b7a577
HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest
2012-05-31 18:58:00 +08:00
Strong Liu
ba5a139bd1
HHH-5396 JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
2012-05-31 11:17:16 +08:00
Steve Ebersole
44fcd0a156
HHH-5396 - JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
2012-05-30 16:22:29 -05:00
Strong Liu
2b213dabc3
HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest
2012-05-31 01:11:29 +08:00
Shawn Clowater
29103357a9
HHH-7292 - Changed the EntityEntry to check the CustomDirtynessStrategy first to determine if the entity needs to continue with the dirty check. Previously if the entity had mutable properties then it would bypass the custom dirty check.
...
To maintain legacy functionality still checking the mutable properties before checking the instrumented dirtyFlg (if applicable)
Added a Date property to the "Thing" test entity to verify that with mutable properties that the CustomDirtynessStrategy is still called.
2012-05-30 11:56:45 -05:00
Steve Ebersole
c8431ce5d9
HHH-5881 - Add getter for "namedParameters" to QueryKey
2012-05-30 11:04:00 -05:00
Strong Liu
860efbdff4
HHH-6846 lock timeout is in milliseconds
2012-05-30 23:27:37 +08:00
Strong Liu
0c1569c4f4
HHH-6846 lock timeout is in milliseconds
2012-05-30 23:25:33 +08:00
John Verhaeg
d7910f6e2e
Reverting test HBM file back to use DTD to allow for testing with both old and new metamodels
2012-05-30 09:43:47 -05:00
Strong Liu
ed266c593a
HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
...
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu
4266cd3585
HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery
2012-05-29 17:44:09 +08:00
Strong Liu
5e3eb49ba3
HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery
2012-05-29 17:32:59 +08:00
Guenther Demetz
2036d1479f
hhh-7112
2012-05-29 17:04:44 +08:00
Strong Liu
32d36f6ea9
HHH-7356 add failure expected test
2012-05-29 16:58:28 +08:00
Lukasz Antoniak
51aa114224
HHH-7093 - Oracle does not support row value constructor syntax
2012-05-25 20:57:47 +02:00
Hardy Ferentschik
74300e6120
HHH-7351 Fixed wrong usage of index.getAnnotations and updates tests
2012-05-25 17:01:45 +02:00
Gail Badner
f4cb1846e4
HHH-7349 : Collections mapped with lazy=true are non-lazy
2012-05-24 12:02:42 -07:00
Gail Badner
a76187ec29
HHH-7349 HHH-7344 : Element collection mapped with lazy=true is non-lazy; correct headers for metamodel tests
2012-05-24 11:14:03 -07:00
Lukasz Antoniak
af554fe59b
HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature
2012-05-23 21:32:47 +02:00
Steve Ebersole
09d2c0d3a2
HHH-7306 - Allow use of CurrentTenantIdentifierResolver in normal session opening
2012-05-23 11:22:46 -05:00
John Verhaeg
46ddcd8414
HHH-7328: Modified Binder to ensure referenced entity names are package-qualified
2012-05-23 10:50:32 -05:00
Steve Ebersole
e1062cfa22
HHH-7348 - AbstractMultiTenantConnectionProvider not closing connections
2012-05-23 09:39:36 -05:00
Strong Liu
7ed323a51f
HHH-7345 rollback hibernate.properties
2012-05-23 22:08:43 +08:00
Strong Liu
9b501805c6
HHH-7345 add derby to the matrix testing suite
2012-05-23 21:31:35 +08:00
Strong Liu
d92e91bb4d
HHH-7346 Tests fail on Postgresql due to failure in typecasts
2012-05-23 21:28:57 +08:00
Strong Liu
1f467c01a4
HHH-7323 this test changes the Database Collation but not changed it back, which causes some other tests fail
2012-05-23 18:13:02 +08:00
Gail Badner
7ecdb53e31
HHH-7344 : Move src/matrix tests that use the new metamodel into src/test
2012-05-22 18:07:25 -07:00
Steve Ebersole
db347c9de7
HHH-7074 - the replacement annotations of @Entity are not working
2012-05-22 16:13:21 -05:00
Emmanuel Bernard
04b62e1a54
HHH-7084 Do not use ClassLoaderServiceImpl classloader as parent classloader for synthetic ClassLoader
2012-05-21 10:59:09 +02:00
Gail Badner
a82751cceb
HHH-7327 : Caching access type should be determined using AccessType.fromExternalName(cacheElement.getUsage())
2012-05-18 16:40:15 -07:00
Gail Badner
aed88afe63
HHH-7322 : Remove test files that were inadvertantly added
2012-05-18 13:57:58 -07:00
Gail Badner
01ba4b71c7
HHH-7322 : Add support for one-to-many associations to new metamodel
2012-05-18 13:39:53 -07:00
Gail Badner
61f28dc3c0
HHH-7322 : Add support for one-to-many associations to new metamodel
2012-05-18 13:39:53 -07:00
Steve Ebersole
481af0f37c
HHH-7325 - Allow disabling XML validations via setting
2012-05-18 14:59:40 -05:00
Hardy Ferentschik
5a0f6628c9
HHH-7037 Adding 'AttributeBinding locateAttributeBinding(List<Value> values)' to AttributeBindingContainer in order to locate a attribute binding by its relational values
2012-05-18 19:32:21 +02:00
Hardy Ferentschik
2cd5752ffe
HHH-7037 Adding toString implementation EntityHierarchyImpl (mainly for debugging)
...
Formatting, Javadocs and removal of obsolete methods
2012-05-18 19:32:21 +02:00
Steve Ebersole
a046cc7a95
HHH-7325 - Allow disabling XML validations via setting
2012-05-18 12:18:42 -05:00
Strong Liu
c341a3ba2c
add timeout check to avoid hangs
2012-05-17 16:19:53 +08:00
Steve Ebersole
93882f49dd
HHH-6054 - Support for discriminator-based multi-tenancy
2012-05-16 09:53:14 -05:00
root
556ca03e21
HHH-6054 - Support for discriminator-based multi-tenancy
2012-05-15 12:28:50 -05:00
Lukasz Antoniak
42b2939e7c
HHH-6849 - JavaDoc update
2012-05-14 20:20:57 +02:00
Lukasz Antoniak
f938a9d10e
Typo in a comment
2012-05-13 20:51:19 +02:00
Lukasz Antoniak
bff4a06214
HHH-6310 HHH-6728 HHH-7019 HHH-6950 - SQLServer getLimitString() correction
2012-05-13 20:33:14 +02:00
Strong Liu
cf8bca6200
fixing test case, was a typo
2012-05-14 01:41:14 +08:00
Sanne Grinovero
3e9dadc6d9
memory adjustment
2012-05-13 11:24:22 +01:00
Sanne Grinovero
16d11f8422
Replace CollectionHelper.EMPTY_X with java.util.Collections.EMPTY_X
2012-05-13 11:24:02 +01:00
Gail Badner
ce74c6aa3a
HHH-7317 : Boolean values bound to parameters in SQL predicate cause failures using DB2 with deferPrepares = true
2012-05-11 15:55:34 -07:00
Gail Badner
c533f215c5
HHH-7316 : Collection removal actions added by DefaultAutoFlushEventListener.onAutoFlush() are not removed when flush is not needed
2012-05-10 17:11:32 -07:00
John Verhaeg
4eb057f4de
HHH-7224: Added metamodel support for Orderable and Sortable sources
2012-05-08 11:23:14 -05:00
Steve Ebersole
3cddb27d60
HHH-7198 - SQLServer2005Dialect.getLimitString turns tablenames to lowercase -> SQLGrammarException: when mapping tables with capital letters
2012-05-04 10:49:08 -05:00
Steve Ebersole
8e45457728
HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest
2012-05-03 11:02:41 -05:00
Steve Ebersole
070ee532f5
HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest
2012-05-03 11:02:41 -05:00
Strong Liu
2f0609819b
HHH-7198 HHH-3961
2012-05-03 17:01:49 +08:00
Guenther Demetz
76ed4d44eb
fixed testcases
2012-05-03 17:01:49 +08:00
Guenther Demetz
27f8a4bf93
HHH-7198 SQLServer2005Dialect.getLimitString turns tablenames
...
to lowercase
2012-05-03 17:01:48 +08:00