850 Commits

Author SHA1 Message Date
Emmanuel Bernard
aef27fec41 HHH-6735 Let Core use InstrumentationService instead of FieldIinterceptionHelper directly 2011-10-17 17:25:10 +02:00
Emmanuel Bernard
2357dcc442 HHH-6735 Introduces an InstrumentationService that caches isInstrumented per class 2011-10-17 17:25:09 +02:00
Strong Liu
fcf402c4af HHH-6737 column names in Constraint is not quoted even column name is quoted in mapping 2011-10-17 16:34:35 +08:00
Sanne Grinovero
1acc35ca4a HHH-6732 Some logging trace statements are missing guards against unneeded string creation 2011-10-14 17:55:00 +01:00
Sanne Grinovero
9f1b53fd1e whitespace consistency in ActionQueue 2011-10-14 17:19:00 +01:00
Sanne Grinovero
e93a83f5c2 HHH-6733 Avoid frequent usage of ReflectHelper in PojoInstantiator 2011-10-14 14:30:28 +01:00
Strong Liu
fbc105aef1 skip annotation used wrong, it should be SkipForDialect, but RequiresDialect used 2011-10-14 01:45:53 +08:00
Strong Liu
bcae560079 HHH-2304 Wrong type detection for sql type char(x) columns 2011-10-13 21:20:48 +08:00
Strong Liu
92da1097aa HHH-6717 oracle does not have a boolean type 2011-10-12 17:40:09 +08:00
Gail Badner
c180d721c0 HHH-4982 : JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn 2011-10-12 01:59:08 -07:00
Shaun Appleton
8325933dff Fix for HHH-4854 2011-10-12 11:22:26 +08:00
Emmanuel Bernard
a351c52020 HHH-6724 Move persister binding for class hierarchies to PersisterClassResolver out of {Hbm|Annotation}Binder 2011-10-12 02:13:05 +02:00
John Verhaeg
8473c4a47b HHH-6722: Removed extraneous assertion from testCreateAndDropOnlyType method that causes failures on dialects that don't support drop table if exists 2011-10-11 11:20:13 -05:00
Strong Liu
4cb4a25994 HHH-6715 Integrator classes not being located correctly 2011-10-11 17:20:18 +08:00
Guilherme Silveira
82b167e5f1 removing useless variables
removing useless logical conditions
extracted some methods to improve cyclomatic complexity
extracted loop into two pieces to remove extra useless variables and minimize complexity
2011-10-11 11:25:33 +08:00
Strong Liu
f951e15fea HHH-6717 oracle does not have a boolean type 2011-10-09 16:19:52 +08:00
Strong Liu
884f6a2455 HHH-4881 - restrict polymorphic query results 2011-10-09 14:36:25 +08:00
James Gilbertson
fb1b483721 HHH-4881: Added test cases for parameterized discriminator type 2011-10-09 14:36:24 +08:00
James Gilbertson
308847f526 HHH-4881: Use Loadable.getDiscriminatorValue() for nullSafeSet 2011-10-09 14:36:24 +08:00
James Gilbertson
11ef3e0765 HHH-4881: Keep track of the actual value used for the discriminator 2011-10-09 14:36:24 +08:00
Strong Liu
81ad5c0eff correct typo in javadoc
update log trace level
2011-10-09 12:39:19 +08:00
Strong Liu
7b1c172b84 HHH-6716 envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j 2011-10-08 15:03:14 +08:00
Gail Badner
b307a801a7 Immutable natural key lookup not recognized using query cache 2011-10-03 14:05:21 -07:00
Strong Liu
8f520e1126 HHH-6704 POSTGRESQL test failures 2011-10-01 02:33:46 +08:00
Strong Liu
56ce194a29 HHH-6702 mysql 51 test failures 2011-10-01 02:30:09 +08:00
Strong Liu
3c07e5d6ba HHH-6702 mysql 51 test failures 2011-10-01 02:27:03 +08:00
Strong Liu
3d3b5b85f5 HHH-6703 id element has 'column' attribute, then the pk column is nullable in ddl created by schema export 2011-10-01 01:21:14 +08:00
Strong Liu
30a0c3843a PostgreSQL does support 'drop table if exists' syntax (hibernate jira down) 2011-09-30 17:49:46 +08:00
Strong Liu
9d7114ec55 HHH-6702 mysql test failures 2011-09-30 17:23:36 +08:00
Strong Liu
e4480f905c HHH-6702 mysql test failures 2011-09-30 17:21:05 +08:00
Emmanuel Bernard
cbec206e2f HHH-6691 Clarify exception thrown upon impossible unwrap operation 2011-09-29 15:36:58 +02:00
Steve Ebersole
e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole
f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu
50bbfa1002 HHH-5326 Added stats for UpdateTimestamp region 2011-09-27 13:04:30 +08:00
Alex Snaps
772bf93fcf Added stats for UpdateTimestamp region 2011-09-27 11:51:28 +08:00
Gail Badner
3e3250e2a9 HHH-6669 : Manual SchemaExport broken due to temp code comments 2011-09-23 11:13:52 -07:00
Strong Liu
24e3d1ce72 HHH-6456 don't know why this fix lost 2011-09-23 16:08:05 +08:00
Gail Badner
d56ebfb443 HHH-6625 : EntityPrinter.toString() fails for non-POJO entities (happens when logging) 2011-09-22 12:53:40 -07:00
Emmanuel Bernard
e20a0e6a9f HHH-6668 Resource should not have heading / (hibernate.cfg.xml schema) 2011-09-20 18:51:14 +02:00
CodingFabian
2a15694fa1 ColumnName cache now uses a map which supports multithreaded access.
The implementation now uses ConcurrentHashMap which provides faster multithreaded gets and safe writes.
2011-09-15 23:36:38 +08:00
Strong Liu
999526c3c3 minor change, correct javadoc and typo 2011-09-15 23:25:29 +08:00
Strong Liu
50db873e2c correct unmappable non-utf-8 characters 2011-09-15 22:45:08 +08:00
Steve Ebersole
d652de654c HHH-6653 - Clean up JAXB generated classes 2011-09-13 20:08:42 -05:00
Steve Ebersole
9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
John Verhaeg
f4c36a10f8 HHH-6439: Added getAddUniqueConstraintString method to Dialect and updated UniqueKey classes to use it 2011-09-09 10:30:01 -05:00
John Verhaeg
88b6b4c67b HHH-6581: Changed default access type determination to look for an explicit access annotation at the top of the hierarchy before falling back to the current strategy of examining identifiers 2011-09-09 09:42:00 -05:00
Steve Ebersole
db7cdb95a8 HHH-6641 - Document services 2011-09-08 16:41:40 -05:00
Emmanuel Bernard
7c39b19ab2 HHH-6091 Move DefaultIdentifierGeneratorFactory; use MutableIdentifierGeneratorFactory for public contracts 2011-09-07 12:25:10 +02:00
Emmanuel Bernard
88a7edbdd7 HHH-6091 Make IdentifierGeneratorFactory a service
Create a MutableIdentifierGeneratorFactory to host the register contract
Make MutableIdentifierGeneratorFactory a default StandardServiceInitiator
2011-09-07 12:25:10 +02:00
Lukasz Antoniak
7d593e32e2 HHH-6533 - Fix and test 2011-09-05 20:15:29 +02:00