Strong Liu
e6d7d62bc0
HHH-5294 declare source files encoding to utf-8 to avoid maven warning
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19695 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-05 14:14:58 +00:00
Emmanuel Bernard
e4eed4c7e5
HHH-5286 Add test on scanner with intergration map being null
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19667 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 14:50:48 +00:00
Emmanuel Bernard
41bb177619
HHH-5286 Scanner instances can now be passed in the integration map
...
The Scanner builder was only considering the scanner key from the properties
not the integration map and hence never handled instances. Now fixed.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 13:17:23 +00:00
Steve Ebersole
5af328cb4a
HHH-5262 - Allow UserType and CompositeUserType to be registered with BasicTypeRegistry
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19649 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 05:15:54 +00:00
Emmanuel Bernard
3dd364c716
HHH-5268 Add documentation for uuid and uuid2 identifier generators
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19648 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 23:23:40 +00:00
Steve Ebersole
94f5659503
HHH-3579 - Support for PostgreSQL UUID data type
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19647 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 19:16:50 +00:00
Steve Ebersole
7aa8449788
HHH-5268 - Support for java.util.UUID properties/generators
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19646 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 18:34:12 +00:00
Hardy Ferentschik
41b2416be4
HHH-5233 Fixed implementation for multiple fetch profiles overrides. Cleaned up pom.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19634 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-31 10:48:08 +00:00
Hardy Ferentschik
087f2b567a
HHH-5204 Aligned the properties of SkipForDialect, RequiresDialect and RequiresDialectFeature
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19627 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-28 14:21:57 +00:00
Hardy Ferentschik
9409685386
HHH-5004 Fixed problems in PropertyContainer and added some more comments. Cleaned up some code in InheritanceState
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19626 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-27 18:44:57 +00:00
Steve Ebersole
cd6cf45eb9
HHH-4868 - Upgrade to Javassist 3.12.0.GA
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19625 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 22:27:27 +00:00
Steve Ebersole
6d01dd07b0
HHH-2268 - Skip bridge methods during getter determination (JDK Bug 5062759)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19624 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 22:08:33 +00:00
Steve Ebersole
39c75a50c6
HHH-4147 - Eager Bidirectional association with @ManyToOne in PK lead to infinite loop
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19623 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 21:31:54 +00:00
Emmanuel Bernard
3af3e38b53
HHH-5149 mark multiple mapping of the same entity as XML only
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19622 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:22:31 +00:00
Emmanuel Bernard
3c9c1c598f
HHH-5149 Merge doc for generated properties and quoted elements
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19621 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:21:56 +00:00
Emmanuel Bernard
c906bc9780
HHH-5149 remove alternative mapping section
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19620 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:21:22 +00:00
Emmanuel Bernard
89b2659331
HHH-5149 Merge embedded object / component documentations
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19619 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:20:43 +00:00
Emmanuel Bernard
7c5f43737e
HHH-5149 merge natural id documentation
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19618 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:20:08 +00:00
Emmanuel Bernard
d5e59832f2
HHH-5149 Merge <properties> section with annotations own construct
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19617 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:19:35 +00:00
Emmanuel Bernard
74874857d4
HHH-5149 move xml specific constructs to its dedicated section
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19616 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:19:02 +00:00
Emmanuel Bernard
f50d19fc7c
HHH-5149 Merge @Any documentation
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19615 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:18:28 +00:00
Emmanuel Bernard
a0edae6efa
HHH-5149 Merge property documentation
...
I've decided to keep the split because the annotation concepts are layered fairly differently than
the xml ones on properties.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:17:33 +00:00
Emmanuel Bernard
f42826502b
Fix typo on doc
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19613 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 16:16:55 +00:00
Steve Ebersole
c952c87ab4
HHH-5263 - Improve preface
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19612 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 15:54:28 +00:00
Hardy Ferentschik
21af0d0146
HHH-5147 Applied patch and removed obsolete code and comments
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19611 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 11:09:16 +00:00
Steve Ebersole
db5b3a4c0a
HHH-5263 - Improve preface
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19609 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 20:45:26 +00:00
Steve Ebersole
a05dc9066a
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19607 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 19:07:43 +00:00
Emmanuel Bernard
30ea7142e8
HHH-5258 isLoaded and superclasses and private properties now works
...
Use getDeclaredField and getDeclaredMethod, use the whole class hierarchy
and use a cache to speed up both class hierarchy
and property to Member computation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:08:22 +00:00
Emmanuel Bernard
66ef8d95c5
HHH-5258 add tests on isLoaded and superclasses and private properties
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19600 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:07:42 +00:00
Emmanuel Bernard
85e15cfbdf
Typo in test
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19599 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:06:51 +00:00
Steve Ebersole
0d7932c748
HHH-5253 - TableHiLoGenerator does not increment hi-value any more when lo-range es exhausted
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19586 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 21:20:36 +00:00
Steve Ebersole
ddac598513
HHH-3050 - Convert usage of Hibernate's FastHashMap to ConcurrentHashMap (Java 1.5)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19584 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 19:38:04 +00:00
Steve Ebersole
96664aeb2f
HHH-5200 - Prepare to use H2 as the default testing datbase
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19583 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 17:57:21 +00:00
Steve Ebersole
06f13dd4dc
account for last H2 failure on core.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19580 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 06:56:48 +00:00
Steve Ebersole
c0361d566b
account for more failures on h2 (only 1 more!)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19574 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 04:26:21 +00:00
Steve Ebersole
78c8c6fb6a
HHH-5248 - Introduce CompositeType interface (to replace AbstractComponentType interface)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19572 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 21:55:28 +00:00
Steve Ebersole
5aa6ad61ca
HHH-5245 - Introduce LobHelper
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 20:37:56 +00:00
Steve Ebersole
d06e11092d
HHH-5245 - Introduce LobHelper
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19570 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 20:19:34 +00:00
Steve Ebersole
5c7f4ee712
HHH-2277 - bidirectional <key-many-to-one> both lazy=false fetch=join lead to infinite loop
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19564 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 05:45:33 +00:00
Steve Ebersole
460cbf8d96
HHH-2277 - bidirectional <key-many-to-one> both lazy=false fetch=join lead to infinite loop
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 05:37:43 +00:00
Emmanuel Bernard
a58e1ef197
Minor JavaDoc typo
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19538 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-18 07:59:51 +00:00
Emmanuel Bernard
e1d6d7cb19
HHH-5233 Add @FailureExpected
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19537 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-18 07:14:20 +00:00
Emmanuel Bernard
76059f0215
HHH-5233 revert incorrect pom.xml change
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19536 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-18 07:12:45 +00:00
Emmanuel Bernard
58fa9e2e0f
HHH-5233 add test on @FetchProfile and multiple @FetchOverride
...
Clean some more
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19535 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-18 07:05:32 +00:00
Steve Ebersole
3d988c6a6d
HHH-5230 - Regresion! @SequenceGenerator with allocationSize=1 fails Other allocationSizes appear to be decremented by 1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-17 15:39:55 +00:00
Emmanuel Bernard
b0b674d341
HHH-5149 documentation for versioning
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19529 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-17 14:29:28 +00:00
Emmanuel Bernard
3015c64556
HHH-5233 add test on @FetchProfile and multiple @FetchOverride
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19528 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-17 14:28:55 +00:00
Gail Badner
84f0b00bc6
HHH-5231 HHH-5220 : Fixes for DB2 and PostgreSQL unit tests
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-16 21:33:05 +00:00
Steve Ebersole
7690f9a493
Fixed problem in hibernate-core test run because of H2 driver not being on classpath
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19522 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 13:08:24 +00:00
Strong Liu
6de4dc800f
HHH-3220 Patch to prevent org.hibernate.AssertionFailure: possible non-threadsafe access to the session error caused by stateless sessions
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 08:37:30 +00:00