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
Lukasz Antoniak
0645acf04f
HHH-6068 - Test case
2011-10-15 00:29:42 +02: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
Lukasz Antoniak
2ac8c0c007
HHH-6068 - Honor JPA default schema and catalog
2011-10-12 19:43:32 +02: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
Steve Ebersole
020c919245
HHH-6412 - hibernate version is not injected by the injection plugin
2011-08-31 23:19:05 -05:00
Gail Badner
b0df669cbc
HHH-6619 : Move org.hibernate.pretty.Printer to org.hibernate.internal.util.EntityPrinter
2011-08-31 14:56:55 -07:00
Steve Ebersole
938c4a870c
HHH-6384 - hibernate.hbm2ddl.auto=create does not drop tables
2011-08-31 16:18:25 -05:00
Gail Badner
09bba73a25
HHH-6384 : hibernate.hbm2ddl.auto=create does not drop tables
2011-08-31 16:18:25 -05:00
John Verhaeg
61d60d0c88
HHH-6623 Turned off hibernate.show_sql in core's test/resources/hibernate.properties, which seems to be a sufficient workaround for now
2011-08-31 14:14:13 -05:00
Strong Liu
aa5bcfa2cc
HHH-6618 running hibernate functional test cases on DB matrix
2011-08-30 23:29:09 +08:00
Strong Liu
75e0ba4ce3
HHH-6588 rollback to use "org.hibernate.SQL" category to log sql
2011-08-30 18:20:31 +08:00
Strong Liu
3b7bdb8ddc
HHH-6618 enable idea support for matrix sourceset
2011-08-30 15:20:51 +08:00
Strong Liu
e941eca2d5
HHH-6618 running hibernate functional test cases on DB matrix
2011-08-30 14:06:13 +08:00
Steve Ebersole
68f7d9b713
HHH-6586 - Document metamodel package as experimental and unsupported
2011-08-29 18:38:16 -05:00
Strong Liu
29bce38307
HHH-6606 ignore test org.hibernate.metamodel.source.annotations.util.EmbeddableHierarchyTest#testEmbeddableHierarchy
2011-08-29 14:20:24 +08:00
Lukasz Antoniak
1525067792
HHH-6594 - Fix and test
2011-08-28 09:25:39 +02:00
Scott Marlow
927539f24a
HHH-6601 use DEBUG for logging of missing package-info messages
2011-08-24 10:42:52 -04:00
Strong Liu
1ddc599803
Merge remote branch 'lukasz/HHH-5848'
2011-08-24 13:08:19 +08:00
Strong Liu
8ee4156a1a
HHH-6577 code style format
2011-08-20 10:33:02 +08:00
Strong Liu
d2045611aa
Merge remote-tracking branch 'cubrid/master'
2011-08-20 10:29:45 +08:00
Gail Badner
aee2312475
HHH-1645 : Refresh with LockMode on an unitialized proxy does not work
2011-08-19 14:20:42 -07:00
Esen Sagynov
0962a5420f
Added CUBRIDDialect source. Extended StandardDialectResolver by adding CUBRIDDialect info.
2011-08-17 18:42:43 -07:00
Gail Badner
fbb2c68b6b
HHH-6370 : HSQLDB fixes reported issues and adds minor enhancement (Fred Toussi)
2011-08-16 18:00:10 -07:00
Steve Ebersole
01604bef94
HHH-6503 - Develop Set-style plural attribute support for new metamodel
2011-08-16 18:10:16 -05:00
Steve Ebersole
859b61a7c4
HHH-6503 - Develop Set-style plural attribute support for new metamodel
2011-08-16 17:55:55 -05:00
Hardy Ferentschik
524443d848
HHH-6268 Fixing test errors caused by NullPointerExceptions and refactoring annotation processing code in EntityClass
2011-08-16 18:03:53 +02:00
John Verhaeg
39da72cadb
HHH-6268: Oops, shouldn't have been part of this push
2011-08-16 10:41:40 -05:00
Lukasz Antoniak
b3bd4f7aae
HHH-5848 - Fix and test
2011-08-15 22:18:49 +02:00
JPAV
adf6271594
HHH-6268 Bound JPA callback methods to entities, including those defined by default listeners, and added new method to Integrator that handles MetadataImplementor instead of Configuration, modifying affected classes accordingly. BeanValidationIntegrator and EnversIntegrator still need to be implemented but require other portions of metamodel to be completed first.
2011-08-15 10:13:29 -05:00
Strong Liu
05cec5a4ba
fix bug in previous re-fact
2011-08-15 15:33:39 +08:00
Strong Liu
4ccc536c99
HHH-6573 change to use ClassLoaderService to locate service initiator
2011-08-15 15:30:55 +08:00
Strong Liu
71adfabca8
simple code refact
2011-08-15 14:55:06 +08:00
Gail Badner
dc7feab061
HHH-6498 HHH-6337 : Updates to support single-table inheritance using new metamodel
2011-08-11 18:01:01 -07:00
Scott Marlow
2faeb783a4
HHH-6564 support pre-AS7 transaction manager lookup and AS7-AS4 usertransaction lookup
2011-08-11 13:42:25 -04:00
Gail Badner
e1f86077c2
HHH-6565 : Unique constraint columns that already exist in the table are not found
2011-08-10 13:45:29 -07:00
Gail Badner
446fcc6af8
HHH-6563 : NullPointerException using annotations source if a unique constraint is not mapped with a constraint name
2011-08-09 14:06:27 -07:00
Gail Badner
5ee60b1ca4
HHH-6560 : Discriminator match value is not initialized in root EntityBinding
2011-08-08 12:46:43 -07:00
Strong Liu
50ee956d49
HHH-6262 Bind @EmbeddedId
2011-08-08 14:07:01 +08:00
Hardy Ferentschik
89991f8610
HHH-6537 Adding check for @MapsId annotation to AssociationAttribute.
2011-08-05 12:32:00 +02:00
Gail Badner
6065d57e39
HHH-6547 : Basic properties cannot be made nullable in HBM XML
2011-08-04 18:58:10 -07:00
Gail Badner
cb5a74fd51
HHH-6337 : Add EntityBinding methods to support single-table inheritance
2011-08-04 10:16:11 -07:00
Hardy Ferentschik
eb766cc0f7
HHH-6537 Getting AssociationAttribute into shape. Parsing more association attributes and implementing missing attributes in ToOneAttributeSourceImpl.
...
Preperation for adding @MapsId
2011-08-04 16:06:52 +02:00
Hardy Ferentschik
683478674c
HHH-6537 formatting
2011-08-04 11:00:00 +02:00
Scott Marlow
72078ade4d
HHH-6543 change JBoss TM jndi string to java:jboss/TransactionManager
2011-08-03 22:12:29 -04:00
Gail Badner
2d52494b90
HHH-6423 : Add JoinedIterable<T>
2011-08-03 17:08:29 -07:00
Strong Liu
660a7cbef1
simple code format
2011-08-04 00:04:43 +08:00
Gail Badner
1d6a5d7fe1
HHH-6529 : Type is not resolved for plural attributes
2011-08-02 17:02:10 -07:00
Scott Marlow
5dc04960d6
Merge pull request #146 from scottmarlow/master
...
HHH-6536, set TCCL to the Hibernate classloader to workaround antlr loading class by name
2011-08-02 13:55:31 -07:00
Scott Marlow
07d15fb39b
HHH-6536, set TCCL to the Hibernate classloader
2011-08-02 14:08:19 -04:00
Hardy Ferentschik
0ff0e6e062
HHH-6535 Implementing support for @o.h.a.Target also fixing bug using ConfiguredClass.getClass() instead of ConfiguredClass.getConfiguredClass
2011-08-02 17:32:20 +02:00
Hardy Ferentschik
b336bf5d53
HHH-6501 Adding support for @Parent in EmbeddedClass
2011-08-02 12:40:02 +02:00
Hardy Ferentschik
6fb38e45ae
HHH-6501 Pushing custom tuplizer into ConfiguredClass
2011-08-02 12:26:12 +02:00
Hardy Ferentschik
b1478946db
HHH-6393 Adding more tests and implementing nested embeddables
2011-08-02 12:00:05 +02:00
Hardy Ferentschik
e875bb6004
HHH-6393 First cut of attribute overrides for embeddables
2011-08-01 18:08:49 +02:00
Hardy Ferentschik
ca7a1e284f
HHH-6393 Making the name of the test classes consistent
2011-08-01 15:47:49 +02:00
Hardy Ferentschik
b8cc897bee
HHH-6520 Construction of type resolver needs to be deferred
2011-08-01 15:22:43 +02:00
Hardy Ferentschik
f2338af9eb
HHH-6520 Some formatting and method name changes. Also moving AbstractAttributeTypeResolver into the type sub-package
2011-08-01 14:35:15 +02:00
Strong Liu
3689e533fb
HHH-6520 if no @GeneratedValue on an simple @Id property, then the generator type should be assigned
2011-08-01 19:50:27 +08:00
Strong Liu
5a00cb9276
HHH-6521 Column name is not quoted even the global quote identifier property is enabled
2011-08-01 19:50:27 +08:00
Strong Liu
37a8f83d2e
HHH-6490 Support @javax.persistence.Lob
...
HHH-6492 Support @javax.persistence.Enumerated
refact HHH-6489 Support @javax.persistence.Temporal
refact test
add license header
2011-08-01 19:47:15 +08:00
Strong Liu
67e8f311db
simple code refact
2011-08-01 13:51:32 +08:00
Strong Liu
cc2dab0f18
HHH-6490 Support @javax.persistence.Lob
...
HHH-6492 Support @javax.persistence.Enumerated
refact HHH-6489 Support @javax.persistence.Temporal
2011-07-30 17:19:09 +08:00
Gail Badner
2b0e0281b0
HHH-6506 : Descriminator type is not resolved
2011-07-29 17:27:54 -07:00
Gail Badner
bb7280a649
HHH-6519 : Temporarily use default column precision, scale, length when not specified
2011-07-29 17:22:20 -07:00
Gail Badner
d011313b26
HHH-6519 : Temporarily initialize default column precision, scale, and length in o.h.metamodel.relational.Size
2011-07-29 16:26:15 -07:00
Steve Ebersole
7742811466
HHH-6503 - Develop Set-style plural attribute support for new metamodel
2011-07-29 16:43:34 -05:00
Steve Ebersole
631286c77b
HHH-6503 - Develop Set-style plural attribute support for new metamodel
2011-07-29 16:43:33 -05:00
Hardy Ferentschik
425f41f5d6
HHH-6495 Implementing ComponentAttributeSource#getPath and re-enabling EmbeddableBinding test. Still not sure about all the different implementation in ComponentAttributeSourceImpl. Most of them just don't seem to be relevant.
2011-07-29 12:45:03 +02:00
Steve Ebersole
85c63dbaf0
Simple code cleanup
2011-07-28 11:39:08 -05:00
Hardy Ferentschik
baa649c802
HHH-6495 Adding a comment and reference to jira issue
2011-07-28 17:59:58 +02:00
Hardy Ferentschik
61ab328b4a
HHH-6495 Passing BasicAnnotationBindingTest. More methods of ComponentAttributeSource need implementing though.
2011-07-28 17:59:58 +02:00
Gail Badner
ca1c77d9f6
HHH-6499 : NPE can be thrown by some implementations of Helper.ValueSourcesAdapter.isIncludedInInsertByDefault() and isIncludedInUpdateByDefault()
2011-07-28 08:54:43 -07:00
Hardy Ferentschik
ab72eb05ec
HHH-6495 Putting FailureExpected on class level until the component processing via annotation is working
2011-07-28 13:08:48 +02:00
Strong Liu
b818f94eb1
HHH-1780 rollback wrongly commented test
2011-07-28 17:53:06 +08:00
Strong Liu
aac7e3ee7e
HHH-1780 negation of EXISTS in hql query does not work
2011-07-28 17:49:12 +08:00
Strong Liu
ec89e8674d
HHH-6485 Add support for @DiscriminatorFormula
2011-07-28 16:26:07 +08:00
Strong Liu
236ba1d247
HHH-6485 Add support for @DiscriminatorFormula
2011-07-28 16:26:06 +08:00
Gail Badner
ac7feff33a
HHH-6500 : EntityBinding.getEntity().getSuperType() is null for subclass EntityBinding
2011-07-27 21:35:58 -07:00
Gail Badner
b2692620d7
HHH-6497 : Update AbstractEntityPersister to use AssociationAttributeBinding.getCascadeStyle() and getFetchMode()
2011-07-27 13:58:30 -07:00
Steve Ebersole
e1f7ee8e0f
HHH-6480 - Develop component binding for new metamodel
2011-07-27 13:09:41 -05:00
Steve Ebersole
91f84c2303
HHH-6480 - Develop component binding for new metamodel
2011-07-27 11:49:10 -05:00
Steve Ebersole
e540089783
HHH-6480 - Develop component binding for new metamodel
2011-07-27 11:45:31 -05:00
Hardy Ferentschik
605ce4ba29
HHH-6489 @Tempoeral support
2011-07-27 14:08:34 +02:00
Hardy Ferentschik
3cbd2ae908
HHH-6488 Implementing SimpleIdentifierSource#getIdentifierGeneratorDescriptor for annotations
2011-07-27 13:40:25 +02:00
Hardy Ferentschik
9bf55b6e07
HHH-6488 Renaming JandexHelper#getValkueAsEnum to JandexHelper#getEnumValue
...
Also adding a test to JandexHelperTest which tests retrieving a unknown
annotation parameter
2011-07-27 13:39:26 +02:00
Hardy Ferentschik
9d63b05426
HHH-6488 Adding missing license header
2011-07-27 13:32:30 +02:00
Hardy Ferentschik
605c9e30a2
HHH-6488 Formatting and commenting
2011-07-27 13:31:25 +02:00
Hardy Ferentschik
350984a181
HHH-6212 Adding a secondary table test
2011-07-26 14:24:53 +02:00
Hardy Ferentschik
3ff5c13058
HHH-6212 Some discriminator related cleanup. Getting rid of DiscriminatorColumnValues
2011-07-26 14:24:52 +02:00
Hardy Ferentschik
57cb51fd14
HHH-6212 Adding 'Iterable<TableSource> getSecondaryTables()' to EntitySource
...
Extending EntityClass to collect secondary table information
2011-07-26 14:24:52 +02:00
Hardy Ferentschik
5954d1c2c4
HHH-6212 Consistent naming of test classes
2011-07-26 14:24:52 +02:00
Hardy Ferentschik
8ecd7aace8
HHH-6212 Consistent naming of test classes
2011-07-26 14:24:51 +02:00
Hardy Ferentschik
0c64e244c9
HHH-6212 Introducing ConstraintSource interface
...
Implementing unique table constraints using ConstraintSource and
re-enabling UqiqueConstraintBindingTests
2011-07-26 14:24:51 +02:00
Hardy Ferentschik
9eb049040a
HHH-6212 Renaming SimpleAttribute to BasicAttribute
2011-07-26 14:24:51 +02:00
Hardy Ferentschik
ae8a29bdb2
HHH-6216 Formatting and removing of obsolete imports and class
2011-07-26 14:24:51 +02:00
Strong Liu
bfa4734521
HHH-6482 ddl from schema export is not correctly formatted
2011-07-26 02:00:06 +08:00
Steve Ebersole
7529dd8e81
HHH-6479 - Split notions of locating and creating an attribute
2011-07-22 14:27:35 -05:00
Steve Ebersole
1de1325e64
HHH-6478 - Code cleanup in metamodel package
2011-07-22 13:11:45 -05:00
John Verhaeg
8c6b2a52fe
HHH-6477: Updated XML files used in tests to not use namespace prefix for target namespace
2011-07-22 12:18:09 -05:00
Hardy Ferentschik
ceda40b686
HHH-6476 implementing AttributeSource.getPropertyAccessorName and adding tests
2011-07-22 18:37:05 +02:00
John Verhaeg
092af61f04
HHH-6477: Added elementFormDefault='qualified' to hibernate configuration and mapping schemas
2011-07-22 11:02:55 -05:00
Steve Ebersole
9ec53fa1f8
HHH-6472 - Implementing EntityDiscriminator and discriminator match value
2011-07-22 08:07:00 -05:00
Steve Ebersole
486352eaa9
HHH-6471 - Redesign how EntityBinding models hierarchy-shared information
2011-07-21 12:35:30 -05:00
Steve Ebersole
46102a2be3
HHH-6471 - Redesign how EntityBinding models hierarchy-shared information
2011-07-21 12:21:26 -05:00
Hardy Ferentschik
8639904969
HHH-6447 Implementing EntityDiscriminator and discriminator value binding
2011-07-21 18:42:55 +02:00
Hardy Ferentschik
e358ab7b5a
HHH-6469 changing 'jaxb:version' to 'version' as per recommended workaround http://metro.1045641.n5.nabble.com/Both-jaxb-version-and-version-are-present-td1067289.html
2011-07-21 12:30:00 +02:00
Hardy Ferentschik
c069e6dada
HHH-6447 Formatting
2011-07-21 12:26:34 +02:00
Steve Ebersole
dd2cbf863d
HHH-6467 - Non-association attributes are not dirty-checked
2011-07-20 23:22:02 -05:00
Steve Ebersole
c7ae4477ae
HHH-6453 - Enable new metamodel in BaseCoreFunctionalTestCase
2011-07-20 18:16:24 -05:00
Steve Ebersole
2abfe3de23
HHH-6447 - Develop shared binding creation approach
2011-07-20 15:58:13 -05:00
Steve Ebersole
acc93a3d8c
HHH-6447 - Develop shared binding creation approach
2011-07-20 15:38:57 -05:00
Steve Ebersole
4968ad11fb
HHH-6447 - Develop shared binding creation approach
2011-07-20 15:38:56 -05:00
Gail Badner
ab3d89ae51
HHH-6460 : AbstractEntityPerister is missing simple property information
2011-07-20 02:48:31 -07:00
Gail Badner
f90f224f60
HHH-6257 : Add IdentifierGenerator to EntityIdentifier binding
2011-07-20 02:19:37 -07:00
Gail Badner
edb264ae15
finish-sf-build
2011-07-19 16:30:29 -07:00
Gail Badner
ba56266dec
HHH-6453 : Enable new metamodel in BaseCoreFunctionalTestCase
2011-07-19 10:59:55 -07:00
Hardy Ferentschik
2c37e01a00
HHH-6447 Using shared binding approach via annotation
2011-07-19 17:39:24 +02:00
Hardy Ferentschik
2ea24693c0
HHH-6371 Refactoring entity based test. Introducing @Resources
2011-07-19 17:32:11 +02:00
Steve Ebersole
8d3e94ab83
HHH-6447 - Develop shared binding creation approach
2011-07-19 00:08:40 -05:00
Gail Badner
49c54069cd
HHH-6449 : Change Exportable.sqlCreateStrings/sqlDropStrings(MetadataImplementor) to take Dialect argument instead
2011-07-18 15:11:23 -07:00
Gail Badner
5b7ee4f11b
HHH-6444 : Integrate new metamodel into SchemaExport
2011-07-18 13:29:22 -07:00
Steve Ebersole
55a630b8fd
HHH-6395 - Deprecate org.hibernate.annotations.Entity
2011-07-18 15:10:38 -05:00
Steve Ebersole
8725195501
HHH-6395 - Deprecate org.hibernate.annotations.Entity
2011-07-18 14:49:12 -05:00
Steve Ebersole
d9b4342562
HHH-6399 - Create @SelectBeforeUpdate annotation
2011-07-18 14:44:57 -05:00
Steve Ebersole
b7fe6c0d58
HHH-6398 - Create @DynamicUpdate annotation
2011-07-18 14:41:56 -05:00
Steve Ebersole
455b16075d
HHH-6397 - Create @DynamicInsert annotation
2011-07-18 14:38:28 -05:00
Steve Ebersole
764d55b3a1
HHH-6401 - Create @OptimisticLocking annotation
2011-07-18 14:24:55 -05:00
Steve Ebersole
7dc7132fdb
HHH-6400 - Create @Polymorphism annotation
2011-07-18 14:15:16 -05:00
Alex Snaps
c26a23bf90
EHC-864 Moved all Hibernate dependent classes from ehcache-core to hibernate-ehcache module and fixed to use new API
2011-07-19 01:51:02 +08:00
Steve Ebersole
c7421837a4
HHH-6447 - Develop shared binding creation approach
2011-07-18 12:27:52 -05:00
Hardy Ferentschik
6ffd34d234
HH-6447 marking failing test temporarily w/ @FailureExpected
2011-07-18 11:02:36 +02:00
Steve Ebersole
c5b013d368
HHH-6447 - Develop shared binding creation approach
2011-07-16 11:58:59 -05:00
Gail Badner
b17e062a37
HHH-6450 : Change length argument of Dialect.getTypeName() and TypeNames size/capacity to long
2011-07-15 17:53:05 -07:00
Steve Ebersole
809540b08c
HHH-6447 - Develop shared binding creation approach
2011-07-15 18:28:24 -05:00
Steve Ebersole
d3d1fdf423
HHH-6447 - Develop shared binding creation approach
2011-07-15 18:13:53 -05:00
Steve Ebersole
0c7498e31d
HHH-6447 - Develop shared binding creation approach
2011-07-15 18:11:32 -05:00
Hardy Ferentschik
dfd4e61a98
HHH-6371 Adding Hibernate type information for the attribute binding
2011-07-15 19:03:24 +02:00
Hardy Ferentschik
3f31aa8f69
HHH-6371 Bringing the annotation side into sync with the new push (setter) approach for the binders
...
Creating an explicit AnnotationBindingContext (instead of letting AnnotationProcessor implement it) and making use of the context in the global binders
Updating EntityBinder to use the push approach. Still needs major cleanup
2011-07-15 18:48:01 +02:00
Gail Badner
aa28d7016e
HHH-6431 : Update MetadataImplementor imports
2011-07-14 11:23:53 -07:00
Gail Badner
53e1a37adf
HHH-6431 : Add Exportable.sqlCreateStrings() and sqlDropStrings() and implementations
2011-07-14 11:23:53 -07:00
Steve Ebersole
c558583346
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-14 13:07:05 -05:00
Steve Ebersole
f7b0da60b3
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-14 11:13:05 -05:00
Steve Ebersole
9972c7ecb7
HHH-6437 - Improve Database to track default Schema object
2011-07-13 18:43:51 -05:00
Steve Ebersole
56aa17b0d5
HHH-6437 - Improve Database to track default Schema object
2011-07-13 18:26:25 -05:00
Steve Ebersole
229842aadb
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 17:39:09 -05:00
Steve Ebersole
4e18a56850
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 16:18:09 -05:00
Hardy Ferentschik
ad959ce566
HHH-6371 Fixing OverrideTest - package names in orm mapping files did not get updated properly during the package refactoring
2011-07-13 16:47:38 +02:00
Hardy Ferentschik
5e7b730f09
HHH-6371 changing the import statements in the annotation xml processing to use org.hibernate.metamodel.source.annotation.jaxb instad of org.hibernate.metamodel.source.annotation.xml
2011-07-13 16:35:00 +02:00
Steve Ebersole
8c28d46b07
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 09:13:22 -05:00
Steve Ebersole
c97075c3c8
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 09:08:31 -05:00
Steve Ebersole
24edf42c04
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 09:08:31 -05:00
Steve Ebersole
e339dac91e
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 09:08:31 -05:00
Steve Ebersole
c4c8c28a3b
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 09:06:17 -05:00
Steve Ebersole
a7179fbc49
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:59:13 -05:00
Steve Ebersole
9e95d41689
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:57:11 -05:00
Steve Ebersole
66bd796063
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:54:31 -05:00
Steve Ebersole
594f689d98
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:45:52 -05:00
Steve Ebersole
5efd0a8471
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:45:52 -05:00
Steve Ebersole
182150769a
HHH-6371 - Develop metamodel binding creation using a push approach
2011-07-13 08:45:52 -05:00
Hardy Ferentschik
99f8d26270
HHH-4630 Simplifying test and applying formatting style
2011-07-13 11:47:38 +02:00
Hardy Ferentschik
3ec6c11f12
HHH-4630 fix for criteria join on a composite identifier
2011-07-13 11:47:30 +02:00
Gail Badner
3dd9d37eec
Merge branch 'HHH-6418'
2011-07-12 14:26:59 -07:00
Gail Badner
ad3b58f5e2
HHH-6418 : org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel
2011-07-12 14:26:08 -07:00
Gail Badner
30843f2032
HHH-6416 : Move AuxiliaryDatabaseObject into Database
2011-07-12 13:44:07 -07:00
Hardy Ferentschik
d58bb5a103
HHH-6392 making the simple class name the default jpa entity name
2011-07-12 15:02:35 +02:00
Hardy Ferentschik
959056dee7
HHH-6392 Making sure that overrides get applied and adding more tests
2011-07-12 14:57:14 +02:00
Hardy Ferentschik
593066b7f3
HHH-6392 Formatting
2011-07-12 12:07:55 +02:00
Hardy Ferentschik
2500a70668
HHH-6392 Applying overrides for mapped superclasses
2011-07-12 11:03:35 +02:00
Hardy Ferentschik
c2c3de9f90
HHH-6392 Extracting the attribute overrides. Next step is to apply the overrides when creating the attribute bindings
2011-07-12 11:03:35 +02:00
Strong Liu
1801faa1b3
HHH-2614 (I forgot to push ..., thanks hardy)
2011-07-12 09:28:46 +08:00
Hardy Ferentschik
50ac18c5c3
HHH-2614 Fixing test now that there is a DerbyTenSevenDialect
2011-07-11 13:49:26 +02:00
Hardy Ferentschik
77004f5fe2
HHH-6392 Starting to refactor JandexHelper
2011-07-11 13:26:23 +02:00
Hardy Ferentschik
a353d34f78
HHH-6392 Introducing a container for the attribute override values
2011-07-11 13:26:23 +02:00
Strong Liu
b413299847
HHH-2614 Blob Length Set to 255 By Default With Derby DB
2011-07-11 16:54:17 +08:00
Emmanuel Bernard
310c0441bb
HHH-6421 Reduce log level of LazyInitializationException from ERROR to TRACE
2011-07-08 18:12:30 +02:00
Tomaz Cerar
e47460317c
sql server dialect fix
2011-07-08 17:57:35 +02:00
Strong Liu
3075d7d7ee
typo in javadoc
2011-07-08 22:25:10 +08:00
Emmanuel Bernard
c5e91f6bda
HHH-6419 Let SessionImplementor#getFactory pass even out of Tx in TL bound sessions
2011-07-08 01:40:53 +02:00
Emmanuel Bernard
c48d4208db
HHH-6417 Implement EventType#toString
2011-07-07 23:51:57 +02:00
Hardy Ferentschik
b600f027a4
HHH-6278 Added some comments and renamed method in EntityClass - getPrimaryTableName to getClassNameForTable
2011-07-07 11:51:02 +02:00
Strong Liu
ce47766281
HHH-6278 quote all db identifiers
...
also this commit contains code that make annotation binder applying naming strategy
2011-07-07 11:24:54 +08:00
Gail Badner
5457b6c707
HHH-6411 : Integrate new metamodel into SingleTableEntityPersister
2011-07-06 15:08:36 -07:00
Gail Badner
d981f54942
HHH-6407 : Add SimpleValue.getAlias(Dialect) and implement in subclasses
2011-07-06 14:31:41 -07:00
Emmanuel Bernard
f0a8fe5643
HHH-6408 Be tolerant with empty (ie not null) properties
2011-07-06 23:09:59 +02:00
Emmanuel Bernard
426406ef32
HHH-6404 Move Hibernate Search integrator from Hibernate Core to Hibernate Search
2011-07-06 21:46:05 +02:00
Hardy Ferentschik
94aea008d3
HHH-6394 fixing the check for resultClass in named native query
2011-07-06 17:50:26 +02:00
Hardy Ferentschik
bcdefd10a6
HHH-6289 Adjusting log levels and fixing formatting and javadocs
2011-07-06 17:12:10 +02:00
Hardy Ferentschik
d1eec59c08
HHH-6381 Adding a actual assertion which tests the optional part. Also applying formatting styles.
2011-07-06 14:46:07 +02:00
David Mansfield
20559966b3
HHH-6381 - handle optional=true joins for SecondaryTables in the JoinedSubclassEntityPersister
2011-07-06 13:58:28 +02:00
Gail Badner
7c84b08391
HHH-6389 : Add TableSpecification.getQualifiedName(Dialect) and implement in subclasses
2011-07-05 21:01:11 -07:00
Gail Badner
3b22a9fd29
HHH-6387 : Add EntityBinding.getFilterDefinitions() and addFilterDefinition()
2011-07-05 14:08:17 -07:00
Hardy Ferentschik
ec482d3d0e
HHH-6201 Create attribute and attribute bindings for mapped super classes
2011-07-05 16:19:35 +02:00
Hardy Ferentschik
546ba3c550
HHH-6201 Introduce explicit maps for id-, simple- and association-attributes
2011-07-05 16:14:32 +02:00
Hardy Ferentschik
d3f20f44ea
HHH-6201 Import cleanup
2011-07-05 16:08:51 +02:00
Hardy Ferentschik
2ebe0c4005
HHH-6201 Changing toString implementation to just print the simple class name
2011-07-05 16:08:50 +02:00
Hardy Ferentschik
390d2fd00d
HHH-6201 Adding todo
2011-07-05 16:08:50 +02:00
Strong Liu
2061fd266a
HHH-6262 fix test failures
2011-07-05 14:16:02 +08:00
Strong Liu
e8b682b405
HHH-6386 sybase improvement
2011-07-05 12:32:42 +08:00
Strong Liu
793f317ea9
HHH-6262 bind @EmbeddedId
2011-07-04 14:45:19 +08:00
Gail Badner
88f69a135b
HHH-6365 : Use Identifier.toIdentifier() to create column names
2011-07-01 19:18:30 -07:00
Gail Badner
6499491374
HHH-6366 : Add integer value to uniquely identify Table and InLineView objects for column aliases
2011-07-01 14:35:49 -07:00
Gail Badner
4febfe4d82
HHH-6365 : Use Identifier.toIdentifier() to create column names
2011-07-01 13:45:05 -07:00
Gail Badner
8a5415d367
HHH-6359 : Integrate new metamodel into entity tuplizers
2011-07-01 12:26:17 -07:00
Gail Badner
86e0afce22
HHH-6352 : Change EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() to return data for declared attribute bindings
2011-06-29 15:35:07 -07:00
Gail Badner
1d26ac1e12
HHH-6360 : Build basic properties from an AttributeBinding
2011-06-29 14:51:43 -07:00
Gail Badner
0f88ec8b71
HHH-6372 : Provide a temporary way to initialize basic types in metamodel
2011-06-29 14:08:02 -07:00
Hardy Ferentschik
ff312720ce
HHH-6173 allow embeddable classes to use inheritance as well
2011-06-29 22:21:10 +02:00
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 5781948ab2
.
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
Andrig Miller
09a9b65201
HHH-6258: Fixed typo when getting the JdbcServices.class from the serviceRegistry. I forgot to build the source before committing.
2011-06-08 12:16:02 -05:00
Andrig Miller
e01bb8a911
HHH-6258: Wrap trace and debug log statements to lessen the load on JBossLogManagerLogger.doLog. This improved throughput quite a bit.
2011-06-08 12:16:02 -05:00
Andrig Miller
a917bb4b40
HHH-6258: Cached JdbcServices and Dialect in local variables to lessen load on AbtractServiceRegistryImpl.localServiceBinding(java.lang.Class). This improved throughput.
2011-06-08 12:16:02 -05:00
Andrig Miller
abe51d5b35
HHH-6258: Cached service registry classes in local variables to remove load from AbstractServiceRegistryImpl.locateServiceBinding(java.lang.Class). This resulted in a decent improvement in throughput.
2011-06-08 12:16:02 -05:00
Steve Ebersole
8593cf91cd
HHH-6206 - Explicitly add antlr jar to transitive dependencies
2011-06-08 11:12:56 -05:00
Steve Ebersole
98e7f9537f
HHH-6229 - Clean up MappingDefaults
2011-06-08 10:53:18 -05:00
Gail Badner
6d52bcff6b
HHH-6217 : Create EntityBindingState and implement for HBM XML
2011-06-08 02:23:58 -07:00
Gail Badner
f89afec721
Merge branch 'HHH-6110'
2011-06-07 10:46:43 -07:00
Strong Liu
2077b5f43c
HHH-2176 DB2 setMaxResults problem in Hibernate 3.1.3
2011-06-07 17:54:18 +08:00
Gail Badner
814b514933
HHH-6110 : Integrate new metamodel into persisters
2011-06-07 02:41:49 -07:00
Gail Badner
ba44ae26cb
HHH-6110 : Integrate new metamodel into persisters
2011-06-06 18:13:46 -07:00
Strong Liu
9c90c25fea
HHH-6294 use enum instead of constant
2011-06-07 00:17:18 +08:00
Strong Liu
72aedc8682
HHH-6294 use enum instead of constant
2011-06-07 00:16:33 +08:00
Strong Liu
1320208baf
HHH-4943 ilike support is incomplete
2011-06-06 16:42:13 +08:00
Strong Liu
c6db5cfdcb
HHH-4943
2011-06-06 14:19:05 +08:00
Strong Liu
4c98afbbad
HHH-6293 avoid create unnesserary Integer object
2011-06-06 11:01:01 +08:00
Steve Ebersole
baeb6dc400
HHH-6291 - Basic MetadataImpl redesign
2011-06-05 18:51:04 -05:00
Steve Ebersole
b8b003efa3
HHH-6291 - Basic MetadataImpl redesign
2011-06-05 18:51:03 -05:00
Strong Liu
252eee4dd2
HHH-6292 avoid Boolean instance creation
2011-06-04 12:36:11 +08:00
gbadner
198aa1c242
Merge pull request #99 from gbadner/HHH-6290-root
...
HHH-6290 : Add EntityBinding.isRoot()
2011-06-03 15:14:58 -07:00
Steve Ebersole
e68f4fb085
HHH-6281 - Basic HbmBinder cleanup
2011-06-03 16:28:09 -05:00
Gail Badner
834fa2140f
HHH-6290 : Add EntityBinding.isRoot()
2011-06-03 10:49:15 -07:00
Strong Liu
7beb1f2601
HHH-6246 ConfiguredClass should honor default access from persistence-metadata-unit
2011-06-02 12:48:38 +08:00
Steve Ebersole
e0d90cee49
HHH-6279 - Bind database object definitions
2011-06-01 16:42:23 -05:00
Hardy Ferentschik
1776207c8b
HHH-6171 adding comment
2011-06-01 14:53:10 +02:00
Hardy Ferentschik
6fe3072976
HHH-6271 Making sure orm.xml version 1 is supported
2011-06-01 13:30:54 +02:00
Strong Liu
7a18764893
HHH-6273 - Bind identifier-generator definitions (was committed by Steve)
2011-06-01 16:31:01 +08:00
Strong Liu
32a320d078
HHH-6261
2011-05-31 17:39:11 +08:00
Hardy Ferentschik
ec0e823b64
HHH-6261 formatting
2011-05-31 11:16:32 +02:00
Strong Liu
19f629b461
HHH-6261 Bind @GeneratedValue
2011-05-31 10:46:17 +02:00
Strong Liu
3ff1b440c2
HHH-6261
2011-05-31 10:46:17 +02:00
Strong Liu
625d781af1
HHH-4489 need method "refresh(String entityName, Object obj)"
2011-05-31 14:53:17 +08:00
Strong Liu
eb5bc1609d
HHH-4489 need method "refresh(String entityName, Object obj)"
2011-05-31 14:53:16 +08:00
Hardy Ferentschik
debd342e48
HHH-6263 Minor coding changes and removing unclear comment
2011-05-30 11:41:25 +02:00
Gail Badner
151d9ce316
HHH-6232 : Minor correction adding discriminator value to DiscriminatorBindingState
2011-05-30 10:53:12 +02:00
Gail Badner
5df5883e31
HHH-6232 : Add discriminator value to DiscriminatorBindingState
2011-05-30 10:53:12 +02:00
Gail Badner
792c85a053
HHH-6274 : Logging format error causes many test failures
2011-05-27 15:43:06 -07:00
gbadner
b11dafbc26
Merge pull request #92 from gbadner/HHH-6267-metadata-to-svc-initiators
...
HHH-6267 : Plumb MetadataImplementor into service initiators registered i
2011-05-27 15:00:47 -07:00
Steve Ebersole
66347adca6
HHH-6272 - More logging fix ups
2011-05-27 13:00:33 -05:00
Gail Badner
bd8e7e37f0
HHH-6267 : Minor fixes for Plumb MetadataImplementor into service initiators
2011-05-26 16:10:22 -07:00
Gail Badner
6b3d428366
HHH-6267 : Minor fixes for Plumb MetadataImplementor into service initiators
2011-05-26 15:35:57 -07:00
Gail Badner
8a0eeedec8
HHH-6267 : Plumb MetadataImplementor into service initiators registered in SessionFactoryServiceRegistry
2011-05-26 15:35:57 -07:00
Steve Ebersole
d99f2ad2da
HHH-6266 - Bind filter definitions
2011-05-26 15:58:53 -05:00
Steve Ebersole
fd25e7704b
HHH-6264 - Bind typedef information
2011-05-26 15:26:40 -05:00
Hardy Ferentschik
227141e643
HHH-6263 Binding @Proxy. Adding some tests
2011-05-26 18:56:47 +02:00
Hardy Ferentschik
bd900d9bb1
HHH-6263 Refactoring HibernateXmlBinder and HibernateMappingBinder. Removing the former and renaming the latter to HbmBinder
2011-05-26 14:10:10 +02:00
Gail Badner
86ddbc09d9
HHH-6110 : Integrate new metamodel into persisters
2011-05-25 23:01:31 -07:00
Gail Badner
6a3d4dc4ca
HHH-6251 : Fixes/improvements to CollectionEement-related classes
2011-05-25 12:08:06 -07:00
Hardy Ferentschik
e61896454b
HHH-6172 Parsing cascade type in AssociationAttribute
2011-05-25 17:21:33 +02:00
Hardy Ferentschik
2570685399
HHH-6172 Introducing CascadeType enum as a replacement for the string 'cascade'
2011-05-25 17:21:33 +02:00
Sanne Grinovero
1d8c06b321
HHH-6250 - Some classes still using SLF4J
2011-05-25 11:58:35 +02:00
Hardy Ferentschik
0b7514d100
HHH-6132 Formatting
2011-05-25 11:33:17 +02:00
Strong Liu
41e81cbc67
HHH-2225 NPE when eager fetching joined component with native SQL query
2011-05-25 16:35:58 +08:00
Gail Badner
6d5ed5fc5e
HHH-6251 : Create CollectionEement subclasses
2011-05-24 13:45:25 -07:00
JPAV
9b48cd993e
HHH-6132: Removed an extraneous Index parameter from the various JandexHelper.getValue methods, and modified all references to those methods accordingly
2011-05-24 13:06:07 -05:00
JPAV
7258cb98f4
HHH-6132: Created binders for several global configurations and updated metadata appropriately.
2011-05-24 11:20:48 -05:00
Hardy Ferentschik
3960b0d8ea
HHH-6172 Extracting initial attributes for ManyToOne
2011-05-24 12:33:41 +02:00
Hardy Ferentschik
49e75c83ce
HHH-6172 Creating class hierarchy - MappedAttribute -> SimpleAttribute -> AssociationAttribute
2011-05-24 12:33:40 +02:00
Strong Liu
7a33446f54
HHH-6248 Ominous-sounding WARN message from SessionFactoryObjectFactory
2011-05-24 17:28:51 +08:00
Strong Liu
b1b9eb9864
HHH-6243 JBPAPP-3312 org.hibernate.test.legacy.CustomSQLTest fails
2011-05-23 12:44:58 +08:00
Strong Liu
3b8678864a
HHH-6242 no Types.BINARY type mapping in PostgresqlDialect
2011-05-23 12:09:50 +08:00
Strong Liu
c1415b4b8f
HHH-6113 re-fact and more tests
2011-05-22 20:45:20 +08:00
Strong Liu
c62e5fccc8
HHH-6113 re-fact and more tests
2011-05-22 20:45:19 +08:00
Strong Liu
2abbe4d841
HHH-6113 change to a better class name
2011-05-22 20:45:19 +08:00
Strong Liu
cb63f03437
HHH-6113 test and license header
2011-05-22 20:45:19 +08:00
Strong Liu
b30024ee9d
HHH-6113 mock global configurations to annotation
2011-05-22 20:45:19 +08:00
Steve Ebersole
52b2930b47
HHH-6240 - Add access to configuration options targetting metamodel building
2011-05-20 12:22:33 -05:00
Steve Ebersole
65c2c831ca
HHH-6239 - Add service for access to configuration options/settings map
2011-05-20 10:40:54 -05:00
Hardy Ferentschik
335eb1c231
HHH-6172 Adding annotation placeholders for annotation based state impls
2011-05-20 12:49:11 +02:00
Steve Ebersole
5385cc5cc0
HHH-6237 - Remove Service proxy code
2011-05-19 17:29:21 -05:00
Scott Marlow
dcc3546378
change some connection related log messages from INFO to DEBUG
2011-05-19 13:07:19 -04:00
Hardy Ferentschik
49cf328bb8
HHH-6172 Cleaning up AbstractBasicBindingTests
2011-05-19 17:49:16 +02:00
Hardy Ferentschik
14efea6e21
HHH-6171 Moving MappingDefaults and MappingHelper into sub-packages of hbm binding
2011-05-19 15:32:00 +02:00
Hardy Ferentschik
6aee9365ee
HHH-6171 Binding OptimisticLock annotation
2011-05-19 15:01:55 +02:00
Hardy Ferentschik
fc456e3756
HHH-6171 Implementing lazy, optional, property generation, insertable and updatable ofSimpleAttributeBindingState
2011-05-18 17:10:26 +02:00
Hardy Ferentschik
d6b36fca5a
HHH-6171 Parsing o.h.a.Type and o.h.a.Parameter
2011-05-18 14:52:36 +02:00
Hardy Ferentschik
2b694d7a86
HHH-6171 Switching to Map<String,String> as type parameters in HibernateTypeDescriptor (needs maybe to change to Map<String, Object>). Properties is the wrong class to use.
...
Also fixed several variable and method typos, eg updatable instead of updateable. And we are talking about a discriminator not descriminator.
2011-05-18 14:21:23 +02:00
Hardy Ferentschik
bf4d8ad290
HHH-6171 Some more name changes. Also adding setter/getter for TypeDef to MetadataImpl
2011-05-17 17:20:51 +02:00
Hardy Ferentschik
c7293c2170
HHH-6171 Restructering packages, especially a new package for the entity binders. This is consistent w/ the glboal package which contains the binders for entity unrelated binding
2011-05-17 15:13:46 +02:00
Hardy Ferentschik
fc94dd07eb
HHH-6230 Splitting org.hibernate.metamodel.state into org.hibernate.metamodel.binding.state and org.hibernate.metamodel.relational.state.
...
Not 100% if this is the best structure, but seems in all cases better then org.hibernate.metamodel.state
2011-05-17 12:33:39 +02:00
Hardy Ferentschik
db4e0b0c52
HHH-6230 Formatting and typo fix in method name
2011-05-17 12:25:33 +02:00
Hardy Ferentschik
2fd2bc3e8d
HHH-6230 Formatting
2011-05-17 12:20:07 +02:00
Hardy Ferentschik
fc942278cc
HHH-6230 Fixing wrong usage of equals. A string was compared against an enum
2011-05-17 12:19:44 +02:00
Gail Badner
755e6fcd25
HHH-6230 : Rework attribute binding using attribute states
2011-05-17 12:05:48 +02:00
Hardy Ferentschik
cb7eb17caa
HHH-6202 Binding discriminator column.
...
Using org.hibernate.metamodel.binding.InheritanceType in ConfiguredClass which has a NO_INHERITANCE enum value.
Adding some initial tests
2011-05-16 21:17:37 +02:00
Hardy Ferentschik
85b0725c28
HHH-6202 Cleanup of existing classes. Replacing TODO with AssertionFailure
2011-05-16 21:15:34 +02:00
Hardy Ferentschik
5d766b237b
HHH-6202 Adding new helper method for getting a single annotation instance from a map
2011-05-16 17:45:49 +02:00
Hardy Ferentschik
ac0cf3afd8
HHH-6202 Deleting deprecated annotations. Core 4 seems to be a good point to get rid of them.
2011-05-16 17:34:28 +02:00
Hardy Ferentschik
3bef552483
HHH-6202 Starting to process the discriminator column
2011-05-16 10:37:20 +02:00
Hardy Ferentschik
ab1dca7e86
HHH-6202 Adding InheritanceType enum
2011-05-16 10:37:19 +02:00
Strong Liu
f70f8d7101
HHH-6133 update global configuration override strategy to make it consisit with previouse version
2011-05-13 21:16:15 +08:00
Strong Liu
4e0f6a1578
HHH-6133 new added list was not put into map in GlobalAnnotations
2011-05-13 12:54:33 +08:00
Strong Liu
48d93c88bc
HHH-5434 org.hibernate.test.filter.DynamicFilterTest testSqlSyntaxOfFiltersWithUnions fails with Ingres dialect
2011-05-12 22:42:33 +08:00
Hardy Ferentschik
0278966b2e
Removing obsolete DomHelper. Removing dom4j methods from MappingHelper. Removing getClassValue, because ClassLoaderService should be used
2011-05-12 12:04:45 +02:00
Hardy Ferentschik
095e858f77
HHH-6133 Formatting and applying missing licence header
2011-05-12 11:07:10 +02:00
Strong Liu
0e20d34cd8
HHH-6133 add an additional AnnotationValue for each mocked AnnotationInstance to mark it is from xml
2011-05-12 10:00:04 +02:00
Strong Liu
7e999e421d
HHH-6133 mock attribute annotations wrt access type, was mock one attribute annotations on both property and field
2011-05-12 10:00:04 +02:00
Strong Liu
635ee5a0ec
HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml
2011-05-12 10:00:03 +02:00
Strong Liu
31d0ca2f0f
HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml
2011-05-12 10:00:03 +02:00
Strong Liu
fcf439d4d1
HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml
2011-05-12 10:00:03 +02:00
Hardy Ferentschik
850cfda6c3
HHH-6207 Implementing binding of @Cacheable. Changing implementation of Caching to use AccessType enum instead of string
2011-05-11 15:12:06 +02:00
Hardy Ferentschik
996d567731
HHH-6214 Converting RegionFactory to a Service
2011-05-10 15:48:14 +02:00
Gail Badner
e98b3ac727
HHH-6213 : Move domain and relational state interfaces into org.hibernate.metamodel.state
2011-05-10 00:27:15 -07:00
Hardy Ferentschik
99647833c4
HHH-6207 Binfing o.h.a.Cache
2011-05-08 21:33:37 +02:00
Hardy Ferentschik
e5da09cee0
HHH-6201 Introducing a Nonentity, refactoring ConfiguredClass to properly support binding of mapped superclasses and non entities
2011-05-08 01:04:16 +02:00
Hardy Ferentschik
7b121038a1
HHH-6201 javadoc
2011-05-08 01:02:29 +02:00
Hardy Ferentschik
b14a514d73
HHH-6201 Handling of o.h.a.Entity and o.h.a.Immutable
2011-05-08 01:02:06 +02:00
Hardy Ferentschik
a4357757c1
HHH-6201 typo
2011-05-08 01:01:12 +02:00
Hardy Ferentschik
6c1d61c7b8
HHH-6201 Import cleanup
2011-05-08 01:00:55 +02:00
Hardy Ferentschik
101aa09e36
HHH-6174 Adding support for o.h.a.Index
2011-05-05 15:44:05 +02:00
Hardy Ferentschik
328d72e1cd
HHH-6174 Making the usage of binder classes more consistent. AnnotationBinder is now differentiating now between pro and post entity binding
2011-05-05 15:43:42 +02:00
Hardy Ferentschik
03d975fdb7
HHH-6174 Implementing toString, equals and hashCode
2011-05-05 15:40:56 +02:00
Hardy Ferentschik
3028ad2f34
HHH-6174 Formatting
2011-05-05 15:40:24 +02:00
Hardy Ferentschik
f3cf1d2ae5
HHH-6174 Allowing of creation of ObjectName from single string
2011-05-05 15:39:39 +02:00
Steve Ebersole
360317eedf
HHH-6200 - Split org.hibernate.hql package into api/spi/internal
2011-05-04 18:49:35 -05:00
Steve Ebersole
a806626a27
HHH-6199 - Split org.hibernate.exception package into api/spi/internal
2011-05-04 18:33:12 -05:00
Steve Ebersole
4ee0d4237d
HHH-6198 - Split org.hibernate.event package into api/spi/internal
2011-05-04 18:20:53 -05:00
Steve Ebersole
fb44ad936d
HHH-6196 - Split org.hibernate.engine package into api/spi/internal
2011-05-04 17:15:47 -05:00
Steve Ebersole
7a5f0b4836
HHH-6194 - Better jaxb task to leverage Gradle up-to-date checking
2011-05-04 15:49:57 -05:00
Steve Ebersole
3090fe9c1d
HHH-6193 - Split org.hibernate.context package into api/spi/internal
2011-05-04 15:25:39 -05:00
Steve Ebersole
36ba1bcafb
HHH-6192 - Split org.hibernate.collection package up into api/sip/internal
2011-05-04 15:13:29 -05:00
Steve Ebersole
c930ebcd7d
HHH-6191 - repackage org.hibernate.cache per api/spi/internal split
2011-05-04 14:43:04 -05:00
Steve Ebersole
b9d002778b
HHH-6158 - Deprecate SessionFactoryStub
2011-05-04 11:11:19 -05:00
Steve Ebersole
6315cde48d
HHH-6158 - Deprecate SessionFactoryStub
2011-05-04 11:06:58 -05:00
Steve Ebersole
8b709f7461
HHH-6147 - Add support for multi-tenancy to StatelessSession building
2011-05-04 11:02:01 -05:00
Hardy Ferentschik
e2db59de70
HHH-6189 Binding @Where on entiry level
2011-05-04 15:15:29 +02:00
Hardy Ferentschik
e8bd7dfd66
HHH-6171 Extracting state classes from EntityBinder and enabled creation of versioned attribute
2011-05-04 14:25:08 +02:00
JustinKSU
64fe46444b
HHH-6169 - Only call getVersion methods if debugs is enabled
2011-05-04 12:10:57 +02:00
Gail Badner
f0c2488d91
HHH-2049 : LEFT OUTER JOIN subcriteria filters children (Mattias Jiderhamn)
2011-05-03 21:35:12 -07:00
Steve Ebersole
a6b8d62209
HHH-6094 - Test failures in hibernate-infinispan dealing with query caching
2011-05-03 14:33:51 -05:00
Hardy Ferentschik
658a06e5c3
HHH-6171 Mapping simple attribute (non id)
2011-05-03 18:07:14 +02:00
Hardy Ferentschik
46f5022b60
HHH-6171 Javadoc changes
2011-05-03 16:54:59 +02:00
Hardy Ferentschik
d48010643b
HHH-6171 Collecting information for relational state of attributes
2011-05-03 16:54:58 +02:00
Hardy Ferentschik
95802a0e93
HHH-6174 Creating schema and (primary) table
2011-05-03 16:54:49 +02:00
Steve Ebersole
e7c26b28a6
HHH-6183 - Deprecate Configuration
2011-05-03 07:55:19 -05:00
Hardy Ferentschik
e4a6c96b55
HHH-2578 Removing unused imports to remove compilation errors
2011-05-03 10:31:44 +02:00
Steve Ebersole
0537740ffa
HHH-2578 - redesign SessionFactory building
2011-05-02 12:09:34 -05:00
Steve Ebersole
cfb4f1ded8
HHH-2578 - redesign SessionFactory building
2011-05-02 11:52:17 -05:00
Gail Badner
99cec1404f
HHH-6168 : Misc fixes to many-to-one AttributeBinding
2011-05-01 19:42:18 -07:00
Gail Badner
b667767f85
HHH-6168 : test for many-to-one AttributeBinding and misc corrections
2011-05-01 11:59:22 -07:00
Hardy Ferentschik
1ae1d4b699
HHH-6174 extracting table name from hierarchy
2011-04-29 20:47:54 +02:00
Steve Ebersole
627b4ea6a1
HHH-6164 - Prefer regsitering JTA syncs via TransactionManager
2011-04-29 09:54:51 -05:00
Gail Badner
997dd00880
HHH-6168 : Create an AttributeBinding for many-to-one and implement DomainState and RelationalState for HBM XML
2011-04-28 17:33:17 -07:00
Hardy Ferentschik
000b647e43
HHH-6161 Working w/ domain and relational state objects
2011-04-28 18:09:34 +02:00
Hardy Ferentschik
d953449b3a
HHH-6161 Taking care of added package names via MetadataSources.addPackage
2011-04-27 15:42:04 +02:00
Hardy Ferentschik
805191524d
HHH-6109 Adding license headers
2011-04-27 15:42:04 +02:00
Hardy Ferentschik
b398e8c932
HHH-6161 Configure annotation based configuration via MetadataSources
...
* Removing obsolete XmlHelper
* Updating tests
* Fixing bug in JaxbHelper related to orm parsing
2011-04-26 18:37:02 +02:00