697 Commits

Author SHA1 Message Date
Hardy Ferentschik
1ec38d23ab HHH-6173 Introduced org.hibernate.metamodel.source.annotations.attribute package and moving attribute related classes from org.hibernate.metamodel.source.annotations.entity into it.
Also refactored generic type resolution via class mate
2011-06-29 22:21:10 +02:00
Hardy Ferentschik
96b4d410c4 HHH-6173 the makeXYX methods in EntityBinding now take the actual attribute instead of just the attribute name 2011-06-29 22:21:09 +02:00
Hardy Ferentschik
295e67201c HHH-6173 Creating domain component for embeddables 2011-06-29 22:21:09 +02:00
Hardy Ferentschik
d86ce7e68a HHH-6173 formatting 2011-06-29 22:21:09 +02:00
Hardy Ferentschik
157d50b434 HHH-6173 Fixing some bugs and adding some improvements pointed out by Strong 2011-06-29 22:21:09 +02:00
Hardy Ferentschik
08ed4c1e80 HHH-6173 Passing association and attribute overrides to EmbeddedClass 2011-06-29 22:21:09 +02:00
Hardy Ferentschik
fcbca08a1f HHH-6173 making ConfiguredClass a base class for EnityClass and EmbeddedClass 2011-06-29 22:21:09 +02:00
Strong Liu
babeacefb0 HHH-6379 create EntityState enum to replace int constants in AbstractSaveEventListener 2011-06-29 17:56:42 +08:00
Gail Badner
0c757327bd HHH-6372 : Provide a temporary way to initialize basic types in metamodel 2011-06-28 13:30:26 -07:00
Strong Liu
ffb14b28b7 HHH-6368 remove deprecated hibernate annotations 2011-06-28 10:29:16 +02:00
Gail Badner
919cdf7c69 HHH-6372 : Provide a temporary way to initialize HibernateTypeDescriptor.explicitType for "basic" types 2011-06-27 19:59:51 -07:00
Hardy Ferentschik
f4cc72b2d3 Revert "HHH-6368 remove deprecated hibernate annotations"
This reverts commit 5781948ab28ea2ae4fab11814d3638c0d40e0782.

Re-adding the removed annotations since they are still used.
2011-06-27 14:03:39 +02:00
Strong Liu
5781948ab2 HHH-6368 remove deprecated hibernate annotations 2011-06-27 16:17:47 +08:00
Gail Badner
83ba7be3a3 HHH-6364 : Add AttributeBinding.getValuesSpan() and Tuple.valuesSpan() 2011-06-24 14:42:49 -07:00
Gail Badner
b174d78358 HHH-6358 : Integrate new metamodel into EntityMetamodel 2011-06-23 19:06:23 -07:00
Gail Badner
196f78c6a4 HHH-6352 : Temporarily change EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() to return info for ID only 2011-06-23 18:48:44 -07:00
Gail Badner
85245e5945 HHH-6362 : EntityBindingStateImpl.getOptimisticLockMode() returns annotations-specific value 2011-06-23 16:52:29 -07:00
Gail Badner
ceb9c0fef2 HHH-6352 : Add EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() 2011-06-22 16:40:28 -07:00
Strong Liu
592921ba5c HHH-6348 POST_COMMIT_DELETE listener does not get executed 2011-06-22 17:45:59 +08:00
Gail Badner
2815409af7 HHH-6346 : Add EntityBinding.entityTuplizerClass(); change getEntityPersisterClass() to return Class<EntityPersister> 2011-06-22 00:21:07 -07:00
Steve Ebersole
159f6205f9 HHH-6340 - Revisit EntityBindingState 2011-06-22 01:05:29 -05:00
Gail Badner
6c9493017a HHH-6343 : Remove JavaClassNameResolver because it is not used 2011-06-21 21:56:52 -07:00
Gail Badner
149771b6d8 HHH-6342 : Add EntityModeEntitySpecifics.getTuplizerClass() 2011-06-21 19:34:06 -07:00
Gail Badner
e2ff8ed542 HHH-6341 : Add AttributeBinding.isBasicPropertyAccessor() 2011-06-21 16:06:52 -07:00
Gail Badner
2129f94aa3 HHH-6335 : Change PojoEntitySpecifics to use JavaType for entity and proxy classes 2011-06-20 15:21:05 -07:00
Steve Ebersole
86e98b2432 HHH-6334 - Create JavaType for the metamodel 2011-06-20 15:15:36 -05:00
Steve Ebersole
26a47fdc34 HHH-6333 - Create DeferredInitializationValue 2011-06-20 12:43:14 -05:00
Steve Ebersole
4a4f636caf HHH-6330 - Remove entity mode switching capability 2011-06-19 22:12:18 -05:00
Ocean-Blue
afc406a03b Add comments to setDate, setTime, setTimestamp methods to reduce confusion to the Hibernate newbies in future. 2011-06-16 12:36:10 -07:00
Hardy Ferentschik
1e88107f3e HHH-6173 Some initial refactorings to start processing @Embedded and @Embeddable 2011-06-16 18:40:26 +02:00
Hardy Ferentschik
7700719306 HHH-6173 Removing unused import 2011-06-15 22:35:50 +02:00
Hardy Ferentschik
5c012f63e5 HHH-6287 Adding description to junit assertions 2011-06-15 12:01:56 +02:00
Strong Liu
0eb87b73b9 HHH-6287 bind @Table.uniqueConstraints 2011-06-15 11:42:26 +02:00
Strong Liu
ddc1bccee6 add log 2011-06-15 17:21:16 +08:00
Strong Liu
80916b95fe add logging of initator 2011-06-15 16:44:53 +08:00
Gail Badner
8aeaf28408 HHH-6321 : Add org.hibernate.metamodel.binding.CascadeType.toCascadeStyle() 2011-06-14 17:00:43 -07:00
Gail Badner
7e2e1e3ea7 HHH-6319 : Add getter for attribute node name 2011-06-14 15:36:42 -07:00
Gail Badner
496b508c73 HHH-6320 : Add boolean values and getters to EntityIdentifier indicating if an ID is embedded or "identifier mapper" 2011-06-14 15:20:44 -07:00
Gail Badner
f12aad3493 HHH-6318 : Change EntityIdentifier.attributeBinding to be type SimpleAttributeBinding 2011-06-14 13:54:24 -07:00
Gail Badner
4ef305ae2c HHH-6318 : Change EntityIdentifier.attributeBinding to be type KeyValueBinding 2011-06-14 12:51:51 -07:00
Hardy Ferentschik
b6f9d9d5d7 HHH-6300 Adding support for @BatchSize and @RowId 2011-06-14 16:17:23 +02:00
Hardy Ferentschik
24bd525693 HHH-6300 Adding support for custom sql via @SqlInsert, @SqlUpdate, @SqlDelete and @SqlDeleteAll 2011-06-14 12:49:15 +02:00
Strong Liu
a2982ea939 format 2011-06-14 16:57:45 +08:00
Strong Liu
85ce03969d format 2011-06-14 15:57:43 +08:00
Hardy Ferentschik
002779dffb HHH-6300 Adding support for @Synchronize annotation 2011-06-13 16:06:33 +02:00
Hardy Ferentschik
cbd92d05bc HHH-6300 Creating initial version of EntityBindingStateImpl. Removing un-used setters in EntityBinding 2011-06-13 14:28:50 +02:00
Strong Liu
92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
andy.miller
dd46fe071a HHH-6258: Change the un-released batch message from WARN to DEBUG for performance improvement. 2011-06-08 12:16:03 -05:00
andy.miller
bf066b8121 HHH-6258: Performance enhancement to toFragmentString method to only append to the StringBuffer, and not do inserts into the beginning, which causes additional buffer allocations and copies that are unnecessary. Also, changed the StringBuffer to a StringBuilder. 2011-06-08 12:16:03 -05:00
andy.miller
02a866c702 HHH-6258: Fixed a problem with a conflict with Gale's change to this class. I had to add the two local variables that she didn't have that I added. 2011-06-08 12:16:03 -05:00