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
Hardy Ferentschik
dd019a1f43
HHH-6148 Adding classmate as a replacement for the commons annotations generic resolution code
2011-04-26 11:35:18 +02:00
Hardy Ferentschik
8f01c1c200
HHH-6114 Working w/ the sate objects
2011-04-26 11:34:13 +02:00
Steve Ebersole
88172d1fb0
HHH-6117 - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI
2011-04-25 21:29:32 -05:00
JPAV
d631671761
HHH-6080: Created XSDs from existing mapping and configuration DTDs
2011-04-25 16:40:43 -05:00
Steve Ebersole
1a40b0232f
HHH-6117 - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI
2011-04-24 12:03:00 -05:00
Steve Ebersole
ff74ceaaa4
HHH-6155 - Migrate o.h.impl package to o.h.internal
2011-04-24 09:24:32 -05:00
Steve Ebersole
85094bddbf
HHH-6144 - Introduce ServiceRegistryBuilder
2011-04-23 16:12:37 -05:00
Steve Ebersole
f07b88c75f
HHH-6150 - JBoss AS7 integration work
2011-04-22 17:42:07 -05:00
Steve Ebersole
16e86687c9
HHH-6150 - JBoss AS7 integration work
2011-04-22 17:42:07 -05:00
JPAV
41e7b96388
Revert "HHH-6080: Created XSDs from existing mapping and configuration DTDs"
...
This reverts commit 60d2c5a7bb
.
2011-04-21 16:59:25 -05:00
JPAV
60d2c5a7bb
HHH-6080: Created XSDs from existing mapping and configuration DTDs
2011-04-21 10:47:01 -05:00
Steve Ebersole
20064fa743
HHH-6146 - remove SF.setTenantIdentifier, add to withOptions selections
2011-04-20 16:33:31 -05:00
Steve Ebersole
53e0439880
HHH-6144 - Introduce ServiceRegistryBuilder
2011-04-20 15:58:10 -05:00
Gail Badner
bd82732dee
HH-6131 : Updates for "XML" prefix for jaxb-generated classes
2011-04-19 14:29:03 -07:00
Gail Badner
0362f64ba9
Merge branch 'HHH-6131' of https://github.com/hferentschik/hibernate-core into HHH-6131-jaxb-prefix
2011-04-19 13:18:51 -07:00
Steve Ebersole
d2f7ee8ae5
HHH-6142 - Integrate JAXB-based binding code and MetadataSources
2011-04-19 10:32:53 -05:00
Steve Ebersole
363608a604
HHH-6141 - Develop scheme for ordered processing of MetadataSources sources
2011-04-19 10:32:53 -05:00
Lukasz Antoniak
33074dc2dc
HHH-6069 - Tests moved
2011-04-19 17:27:08 +02:00
Lukasz Antoniak
d7cc102b00
HHH-6069 - Escape entity fields name
2011-04-19 17:27:07 +02:00
Steve Ebersole
0d71d35697
HHH-6138 - Implement addition of annotated classes and packages in MetadataSources
2011-04-19 09:04:55 -05:00
Gail Badner
1dbb1237e3
HHH-6134 : merge with master
2011-04-18 23:38:14 -07:00
Gail Badner
eb414295aa
HHH-6134 : Migrate processing hbm.xml files to use Jaxb-generated classes
2011-04-18 15:32:33 -07:00
Hardy Ferentschik
d6e9138aec
HHH-6131 Prefixing JAXB classes with 'XML'
2011-04-18 14:19:40 +02:00
Steve Ebersole
c88fcff77a
HHH-6129 - org.hibernate.LobHelper#createNClob can now return NClob
2011-04-17 14:16:21 -05:00
Steve Ebersole
939fba6b72
HHH-6129 - org.hibernate.LobHelper#createNClob can now return NClob
2011-04-17 09:34:43 -05:00
Steve Ebersole
303691c80e
HHH-5914 - Remove deprecated Hibernate type constants from org.hibernate.Hibernate and manuals
2011-04-17 09:24:18 -05:00
Hardy Ferentschik
da028ee137
HHH-6114 Starting to bind id attributes
2011-04-15 23:51:08 +02:00
Hardy Ferentschik
dd9ccddc6e
HHH-6114 Creating placeholder for QueryBinder
2011-04-15 23:50:42 +02:00
Hardy Ferentschik
82ae20598b
HHH-6114 Implementing fetch profile parsing and binding as example for other global configurations
2011-04-15 15:04:46 +02:00
Hardy Ferentschik
e1ba813122
HHH-6114 Restructuring packages to accommodate for all required annotation binding code
2011-04-15 15:03:59 +02:00
Steve Ebersole
74c6773c44
Merge branch 'master' of github.com:hibernate/hibernate-core
2011-04-14 15:07:04 -05:00
Steve Ebersole
d8fd8cd03b
HHH-468 - MysqlDialect incorrectly maps java.lang.Boolean to SQL BIT
2011-04-14 15:05:05 -05:00
Hardy Ferentschik
5273a75094
HHH-6114 Discovering mapped properties
2011-04-14 17:41:26 +02:00
Hardy Ferentschik
78ad67cff6
HHH-6114 Determining inheritance strategy and starting to process mapped properties
2011-04-14 17:41:26 +02:00
Steve Ebersole
0023dc695d
HHH-6093 - Account for tenant identifier on QueryKey
2011-04-13 23:16:06 -05:00
Steve Ebersole
8edc1f1880
HHH-6118 - Make Metadata more user-friendly API
2011-04-13 18:55:54 -05:00
Steve Ebersole
0f336414a2
HHH-6118 - Make Metadata more user-friendly API
2011-04-13 18:28:42 -05:00
Steve Ebersole
775e022331
HHH-6118 - Make Metadata more user-friendly API
2011-04-13 14:47:18 -05:00
Hardy Ferentschik
be7b44c2f7
HHH-6114 Determining the default access type of a class hierarchy
2011-04-12 18:35:25 +02:00
Hardy Ferentschik
4d24c16b49
HHH-6114 Using the ClassLoaderService available via the service registry in Metadata for class loading
2011-04-12 18:35:25 +02:00
Steve Ebersole
ad17f89c4c
HHH-6097 - Review log levels, especially related to i18n messages
2011-04-12 09:07:31 -05:00
Steve Ebersole
62da5aa5bc
HHH-6097 - Review log levels, especially related to i18n messages
2011-04-11 21:59:50 -05:00
Steve Ebersole
55ff0d2f07
HHH-6107 - Metamodel dependence on ServiceRegistry
2011-04-11 18:10:47 -05:00
Steve Ebersole
9d93e1188e
HHH-6115 - jaxb generation should follow directory pattern
2011-04-11 17:43:43 -05:00
Gail Badner
653bbfa46d
HHH-6092 : Merge with master
2011-04-11 14:21:53 -07:00
Gail Badner
412fa9406f
HHH-6092 : Domain and relational state for SimpleAttributeBinding
2011-04-11 14:21:52 -07:00
Gail Badner
014702fa23
HHH-6092 : Moved HBM XML processing logic into "DomainState" objects used to initialize binding
2011-04-11 14:20:59 -07:00
Gail Badner
2cd428759a
HHH-5672 : Binding from hbm.xml mapping
2011-04-11 11:44:13 -07:00
Hardy Ferentschik
26097229e6
HHH-5672 annotation binding beginnings. Trying to recreate the simple hbm tests for annotations
2011-04-11 11:42:37 -07:00
Hardy Ferentschik
0d29c346ec
HHH-6111 enabling jaxb model generation for hbm configuration files
2011-04-11 19:11:06 +02:00
Hardy Ferentschik
a3ebcd81bc
HHH-6080 Converted the Hibernate configuration and mapping dtd files into xsd files
2011-04-11 19:10:32 +02:00
Hardy Ferentschik
297c703449
HHH-6109 Starting the implementation of a replacement for InheritanceState. The determined mapped classes need to be pre-processed
...
in order to detmerine inheritance features, default access types, etc
2011-04-11 19:10:12 +02:00
Hardy Ferentschik
42502e696b
HHH-6109 Starting work for annotation binding against the new metamodel. Enabling JAXB for parsing of orm.xml
2011-04-11 19:09:44 +02:00
Steve Ebersole
dfcdab4a33
HHH-6096 - H2Dialect should use CACHED option for temporary table creation
2011-04-08 10:25:02 -05:00
Steve Ebersole
38068e1495
HHH-6101 - Clean up checks for java 1.3 versus 1.4
2011-04-08 10:17:52 -05:00
Steve Ebersole
6504cb6d78
HHH-6098 - Slight naming changes in regards to new logging classes
2011-04-08 09:44:13 -05:00
Strong Liu
ef35cd7be3
HHH-6076 - query with setFirstResult throws Exception on derby
2011-04-07 02:03:48 +08:00
Strong Liu
de38d784c7
HHH-6076 - query with setFirstResult throws Exception on derby
2011-04-07 02:00:36 +08:00
Steve Ebersole
7b4998d1ce
HHH-5244 - Flesh out H2Dialect temp table support
2011-04-06 12:28:00 -05:00
Steve Ebersole
154675d322
HHH-6088 - Move to slf4j-log4j12 for test logging
2011-04-06 12:27:46 -05:00
Steve Ebersole
03c4009391
HHH-6088 - Move to slf4j-log4j12 for test logging
2011-04-06 11:32:57 -05:00
Steve Ebersole
7c4a9dac81
HHH-6073 - Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the
2011-04-06 11:31:14 -05:00
Steve Ebersole
aad256c634
HHH-6081 - Finish up Integrator
2011-04-05 16:10:41 -05:00
Steve Ebersole
bd5c483b67
HHH-6073 : test fix up
2011-04-05 16:08:59 -05:00
Steve Ebersole
5e8e49d3ae
HHH-6073
2011-04-05 10:26:58 -05:00
Scott Marlow
a67b6028c1
HHH-6073 Dialects shouldn't use TCCL (revised to leave DerbyDialect alone)
2011-04-04 21:40:25 -04:00
Steve Ebersole
1da2262a4a
HHH-5966 - Finish up loose ends for overriding a SqlTypeDescriptor
2011-04-02 18:30:37 -05:00
Steve Ebersole
38e0484b4e
HHH-2763 - Allow collection initialization during flush
2011-04-01 14:57:06 -05:00
Steve Ebersole
285da70a25
HHH-2860 - Consolidate Session creation options/parameters
2011-04-01 12:13:25 -05:00
Steve Ebersole
b9381f6717
HHH-4362 - @RowId
2011-04-01 08:34:15 -05:00
Steve Ebersole
ada64c172a
HHH-4362 - @RowId
2011-03-31 20:44:02 -05:00
Steve Ebersole
df9d8939bb
HHH-2860 - Consolidate Session creation options/parameters
2011-03-31 15:22:01 -05:00
Steve Ebersole
7a5c85823b
HHH-5989 - Add tests of JPA-style transaction joining
2011-03-31 10:35:23 -05:00
Steve Ebersole
ee2dd0ddf5
HHH-5996 - Wire in JdbcServices into SchemaUpdateTask, SchemaExportTask, SchemaValidatorTask, HibernateService.dropSchema(), HibernateService.createSchema()
2011-03-30 16:58:15 -05:00
Steve Ebersole
3e22ef111c
HHH-6061 - ValidatoryFactory type checking
2011-03-30 13:28:01 -05:00
David Mansfield
90fdca9053
HHH-3646 - throw a better exception when criteria is placed directly on component
...
In the CriteriaQueryTranslator, we process the path given by
a SubCriteria object looking for the entity name for the property. If
the SubCriteria was mistakenly created on a component type, we will exit
the loop using the owning entity, and will eventually end up failing
(throwing an exception) trying to lookup up the restricted property
against the entity, instead of against the component. Fix this by
throwing a more informative exception, and modify the documentation to
be explicit about how to do this properly.
2011-03-30 12:23:20 -05:00
David Mansfield
69b09dfcd2
HHH-3646 - don't append spurious comma in SQL select fragment
...
In the JoinWalker, we assemble an SQL select list fragment
from a list of Joinables. In the existing code, we see it's
possible for the selectFragment generated by a joinable to be empty.
However if the LAST joinable generates an empty fragment, we put
a spurious comma into the fragment. Fix this by only prepending a
comma when necessary.
2011-03-30 12:23:20 -05:00
David Mansfield
9f311a4698
HHH-3646 - implement Criteria API querying of collection-of-component and collection-of-scalar
...
The general approach is:
* create an interface called the CriteriaInfoProvider which abstracts
the operations that are different for the different types of Criteria
targets.
* change the getPathEntityName method to be a factory method for
creating the proper implementation of the interface
* change the rest of CriteriaQueryTranslator to use the interface
instead of using the previous entity-only implementation
* implementations of the interface exist for
Entity: this implements the same code as currently exists
ComponentCollection: for collection-of-component
ScalarCollection: for collection-of-value
Component: for components
* update the logic in CriteriaJoinWalker which has to be very careful
about how it works since the walker walks certain property paths twice.
2011-03-30 12:23:20 -05:00
David Mansfield
4ddaaa1deb
HHH-3646 - make SessionFactoryHelper::getCollectionPropertyMapping public - it will be used later
2011-03-30 12:23:20 -05:00
David Mansfield
b8230bd07d
HHH-3646 - implement a test case for query collection-of-component
2011-03-30 12:23:20 -05:00
David Mansfield
64b73d6301
HHH-3646 - implement a test case for query collection-of-value
2011-03-30 12:23:20 -05:00
Steve Ebersole
d104f28a59
HHH-5348 - support for TypedQuery jpaql/hql "scalar" queries
2011-03-30 11:37:12 -05:00
David Mansfield
05f9bdcbb0
clear stats before running to ensure accurate test results
2011-03-29 15:26:26 -05:00
David Mansfield
7058cb048f
remove state after running to avoid failure later
2011-03-29 15:26:26 -05:00
Steve Ebersole
ba71fe0132
HHH-6036 - integration documentation generation
2011-03-29 15:14:09 -05:00
Steve Ebersole
339faabb14
HHH-6052 - Make statistics a service
2011-03-28 12:41:30 -05:00
Emmanuel Bernard
2e0f128cbc
HHH-5947 Migrate tests to JUnit 4 infra
2011-03-28 15:47:44 +02:00
Manuel Bernhardt
9d697660f6
HHH-5947: 'Fix' that at least improves the error message
2011-03-28 15:13:09 +02:00
Manuel Bernhardt
928354827a
HHH-5947: Test case
2011-03-28 15:13:09 +02:00
Steve Ebersole
6a180aaa1f
HHH-5913 - Implement set of event listeners as a service
2011-03-28 07:55:45 -05:00
Steve Ebersole
2f04cbffe6
HHH-5913 - Implement set of event listeners as a service
2011-03-27 14:35:01 -05:00
Steve Ebersole
e3a0525fb1
HHH-5913 - Implement set of event listeners as a service
2011-03-27 14:07:23 -05:00
Steve Ebersole
42c609cfdd
HHH-5913 - Implement set of event listeners as a service
2011-03-27 11:45:18 -05:00
Steve Ebersole
c28b553f21
HHH-5913 - Implement set of event listeners as a service
2011-03-27 11:45:18 -05:00
Steve Ebersole
e8ebe8e396
HHH-5913 - Implement set of event listeners as a service
2011-03-27 11:45:18 -05:00
Steve Ebersole
5adf2960c2
HHH-5913 - Implement set of event listeners as a service
2011-03-27 11:45:18 -05:00
Steve Ebersole
478e10ae3a
HHH-5562 - Improve how event listeners are handled and introduce a service pattern for integrators to leverage
2011-03-27 10:43:38 -05:00
Steve Ebersole
7cba21dcd9
HHH-5562 - Improve how event listeners are handled and introduce a service pattern for integrators to leverage
2011-03-27 10:39:38 -05:00
Steve Ebersole
47abaf12fa
HHH-5697 - Support for multi-tenancy
2011-03-26 10:50:18 -05:00
Steve Ebersole
fe8c7183d1
HHH-5697 - Support for multi-tenancy
2011-03-26 09:11:33 -05:00
Steve Ebersole
3ff0288da5
HHH-5697 - Support for multi-tenancy
2011-03-25 18:31:04 -05:00
Steve Ebersole
98877a3b28
HHH-6053 - Create an interface for centralizing the contract that is shared between Session and StatelessSession
2011-03-25 12:44:32 -05:00
Steve Ebersole
d4783bdaeb
HHH-6051 - Create a SessionFactory scoped ServiceRegistry
2011-03-25 10:54:18 -05:00
Steve Ebersole
815baf4348
HHH-6051 - Create a sessionfactory scoped ServiceRegistry
2011-03-24 22:18:38 -05:00
Steve Ebersole
731d00fd6d
HHH-6047 - allow nesting of ServiceRegistry
2011-03-24 14:38:58 -05:00
Steve Ebersole
97fb031dba
HHH-2680 - Blobs not updated on Session.merge() for detached instances
2011-03-23 17:32:00 -05:00
Steve Ebersole
a491f64570
HHH-2680 - Blobs not updated on Session.merge() for detached instances
2011-03-23 17:30:13 -05:00
Steve Ebersole
fd08540859
Merge branch 'master' of github.com:hibernate/hibernate-core
2011-03-23 12:07:15 -05:00
Steve Ebersole
1421c3f54d
HHH-5284 - Allow Type to dictate the default length/scale/precision
2011-03-23 12:06:19 -05:00
JPAV
9b06108300
Merge branch 'master' of git://github.com/hibernate/hibernate-core
2011-03-22 14:12:21 -05:00
JPAV
7767dfbc06
HHH-5615 Replaced slf4j references with jboss-logging for a few classes that fell through the cracks
2011-03-22 14:11:59 -05:00
Steve Ebersole
671ef3accd
HHH-6016 - Migrate version injection plugin to Gradle
2011-03-21 20:33:19 -05:00
Steve Ebersole
4f188a934c
HHH-6033 - Migrate stats to api/spi/internal split
2011-03-21 18:37:44 -05:00
Steve Ebersole
f93d1412a4
HHH-6033 - Migrate stats to api/spi/internal split
2011-03-21 11:51:49 -05:00
Steve Ebersole
3402ba3a67
HHH-6028 - Remove o.h.classic.Session/Validatable
2011-03-19 08:16:33 -05:00
Steve Ebersole
efa325f5db
HHH-6027 - Migrate o.h.action pakcage to api/spi/internal split
2011-03-18 17:47:49 -05:00
Steve Ebersole
19791a6c7d
HHH-6026 - Migrate bytecode provider integrations to api/spi/internal split
2011-03-18 15:51:44 -05:00
Steve Ebersole
82d2ef4b1f
HHH-6025 - Remove cglib dependencies
2011-03-18 14:48:17 -05:00