Strong Liu
55bf2494ea
HHH-4531 Derby dialect should not support comments
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18327 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 11:55:08 +00:00
Gail Badner
a7a9f79d1e
HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one (minor change for perf)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18324 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 07:56:51 +00:00
Gail Badner
e264d8e879
HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one (removed cached EntityKey)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18322 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 03:11:54 +00:00
Gail Badner
c20cfe7e0d
HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18320 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-23 18:38:09 +00:00
Scott Marlow
165f2e5f73
HHH-4601 implement orphanRemoval for OneToMany. OneToOne is not yet done (see HHH-4725)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18318 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 18:07:38 +00:00
Steve Ebersole
a900ee8928
HHH-4698 - Better handling of JPA criteria expressions
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18312 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 06:12:34 +00:00
Steve Ebersole
24cbb2df3c
HHH-4720 - Improve javax.persistence.metamodel.Attribute support
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18311 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 04:15:04 +00:00
Steve Ebersole
bc0144f2eb
HHH-4720 - Improve javax.persistence.metamodel.Attribute support
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18310 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 23:34:10 +00:00
Hardy Ferentschik
3fd7b88524
HHH-4728
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18309 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 20:06:42 +00:00
Strong Liu
95c69f3209
HHH-2166 Long 'in' lists in queries results in a Java stack overflow exception
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 17:05:58 +00:00
Strong Liu
56d50a15b3
minor change, correct spell
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18303 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 16:17:24 +00:00
Emmanuel Bernard
23c1a47667
HHH-4665 add tests for getIdentifier()
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18302 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 15:49:55 +00:00
Emmanuel Bernard
54706c4b20
HHH-4724 add tests on Tuple
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18300 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 13:58:50 +00:00
Gail Badner
d66cfe664a
HHH-4642 : added test cases showing unexpected results when an updated entity is changed from read-only to modifiable
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18271 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 21:42:42 +00:00
Steve Ebersole
3748f29945
HHH-4719 - Support modulo operator
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 20:04:44 +00:00
Steve Ebersole
c1da5f1e3c
HHH-4698 - Better handling of JPA criteria expressions
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 15:32:39 +00:00
Emmanuel Bernard
a87e031bd5
HHH-4667 accept orm 2 and orm 1 files. Also improved error reports
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18263 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 10:02:26 +00:00
Gail Badner
cab9873205
HHH-4715 : Unexpected results when an entity that is already modifiable is set to modifiable again
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18261 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 03:38:16 +00:00
Hardy Ferentschik
4a9d8dcf0b
HHH-4527 - first cut for supporting JPA2 @Access annotation. Not quite complete and needs some more tests.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18260 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 21:14:07 +00:00
Emmanuel Bernard
fbf7b91d4d
HHH-4711 HHH-4667 validate persistence.xml and make sure it works for both persistence_1_0.xsd and persistence_2_0.xsd
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18259 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 15:34:04 +00:00
Emmanuel Bernard
3bb271ee9c
Remove now unneeded flag to avoid getMember population
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18257 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 13:29:55 +00:00
Emmanuel Bernard
355e81a7f1
Remove now unneeded flag to avoid getMember population
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 11:05:13 +00:00
Adam Warski
446ac0e0df
Updating links in docs
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18255 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 08:49:02 +00:00
Steve Ebersole
bfa63cca67
HHH-4709 - registered length functions should return Integer
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18254 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 05:51:20 +00:00
Steve Ebersole
cdfd6d950b
HHH-4708 - Make CompoundSelectionImpl implement ExpressionImplementor
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18253 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 00:21:49 +00:00
Steve Ebersole
da647e7deb
HHH-4705 - Derby does now in fact support the full ANSI SQL TRIM function
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18252 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 23:15:01 +00:00
Steve Ebersole
d2f3d18b4a
HHH-4705 - Derby does now in fact support the full ANSI SQL TRIM function
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18251 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 22:18:03 +00:00
Steve Ebersole
384d5859c2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18250 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 22:12:45 +00:00
Strong Liu
b62c0afcad
HHH-4614 Instrumented model with abstract MappedSuperclass and field access doesn't work (fix javassist integration issue, not yet cglib)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18246 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:31:57 +00:00
Strong Liu
b50f0660ee
HHH-4457 SchemaUpdate fails on Sybase ASE 15 when a new column is added without a default value
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18245 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:28:58 +00:00
Scott Marlow
0776dbab9a
HHH-4546 JPA-2 locking. LockOptions can include per table alias LockMode
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:23:31 +00:00
Adam Warski
1336b83e03
HHH-4694:
...
- using the correct entity name in case of inheritance
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18239 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 14:20:52 +00:00
Adam Warski
ab3ee1998a
HHH-4694:
...
- updating docs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 13:05:17 +00:00
Adam Warski
a90cf3e5eb
HHH-4694:
...
- support for indexed "fake" bidirectional relations
- adding a field-calculation-phase, after all metadata is read from annotations, but before any audit entities generation is done
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 11:09:34 +00:00
Steve Ebersole
5a6686810b
HHH-4590 - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18230 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 18:09:53 +00:00
Steve Ebersole
dfe61a4a5e
HHH-4697 - Add means to get HibernateEntityManagerFactory from HibernateEntityManagerImplementor
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18229 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:28:51 +00:00
Emmanuel Bernard
d14b2f4404
HHH-4696 add persistence_2_0.xml
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:23:00 +00:00
Emmanuel Bernard
7daca69d7e
HHH-4692 add orm_2_0.xml
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:15:33 +00:00
Adam Warski
ad0be2d822
HHH-4694:
...
- if a field is non-insertable in a "fake" bidirectional relation, not storing modifications made on the non-insertable side
- also, not generating bidirectional collection changes in such case
- updating test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18226 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 12:52:20 +00:00
Adam Warski
3740a20550
HHH-4694:
...
- adding support for multiple "fake" bidirectional relations
- downgrading testng back to 5.8 as using 5.10 was OOMing the tests
- updating h2 dependency to a newer version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18225 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 12:27:01 +00:00
Adam Warski
31f9f8ffc5
HHH-4694:
...
- adding support for "fake" bidirectional many-to-one relations using an experimental @AuditMappedBy annotation
- adding a new work unit, extracting common work unit code
- upgrading TestNG to 5.10
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18224 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 10:50:11 +00:00
Steve Ebersole
fc54029a9f
HHH-4671 - Derby is one of those dialects that should not support "cross join"
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18223 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 01:17:08 +00:00
Steve Ebersole
22e78ef6bf
HHH-4674 - JBoss has renamed its JACC artifact
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18222 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 01:10:32 +00:00
Steve Ebersole
8f4e216049
HHH-4673 - Upgrade JPA Static Metamodel Generator dependency to 1.0.0.Beta1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18221 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 00:31:53 +00:00
Steve Ebersole
b5fb73c5ee
HHH-4672 - Upgrade JPA dependency to hibernate-jpa-2.0-api-1.0.0-CR-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18216 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-12 23:56:45 +00:00
Hardy Ferentschik
025b3cc141
HHH-4527
...
No functional changes yet. Just some cleanup and refactoring (extract method, encapsulate field)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18211 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 19:14:01 +00:00
Galder Zamarreno
b95147a81e
Upgraded to Infinispan 4.0.0.CR3. It no longer depends on a transitive rhq/jopr dependency :)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18210 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 16:44:23 +00:00
Scott Marlow
18bb17061f
HHH-4546 JPA-2.0 locking. More pessimistic lock exception support and timeout exception support
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18209 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 13:23:17 +00:00
Adam Warski
2fef8a4acc
HHH-4670:
...
- changing the way work unit collision is resolved: now work units are merged, the result is a work unit (possibly new)
- work units should behave as immutable objects
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18208 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 12:40:05 +00:00
Adam Warski
b402af2eae
- making the test actually assert that the results are correct
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18207 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 10:37:54 +00:00