Commit Graph

19976 Commits

Author SHA1 Message Date
Strong Liu 6ddd9690a5 HHH-4397 Split test involving database specific features (like sequence / identity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17734 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-14 04:18:35 +00:00
Brian Stansberry bca8c96204 [HHH-3817] Remove unneeded get()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17731 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 17:02:19 +00:00
Brian Stansberry 50bba15996 [HHH-3817] Remove unneeded get() calls
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 16:55:04 +00:00
Brian Stansberry 304af4d4e2 [HHH-3817] Remove unneeded get()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 16:35:41 +00:00
Strong Liu 766a044dc3 HHH-4397 Split test involving database specific features (like sequence / identity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 15:57:41 +00:00
Brian Stansberry f5a280bc5b Reference EAP instead of JEMS
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17723 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 15:30:21 +00:00
Hardy Ferentschik dba4de2d26 HHH-4415 removed the ambigous dialect instance variable in TestCase. Instead use the static method Dialect.getDialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 09:20:40 +00:00
Hardy Ferentschik a8047fe21a HHH-4415
Made sure that the the superclass dialect is checked.
Did not apply provided patch though.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-12 14:08:37 +00:00
Strong Liu ea91bf00a0 HHH-4405 Integrate new long string and binary property types in core with annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17685 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-10 16:10:38 +00:00
Emmanuel Bernard 85212c51c4 HHH-4105 Fix mispell in SessionFactory#containsFetchProfileDefition
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-10 15:44:29 +00:00
Emmanuel Bernard 4edcb6290b HHH-4382 HHH-4479 support formula as join columns with annotations (needs doc still( (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17680 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-09 15:58:31 +00:00
Brian Stansberry 7ca0f71ee1 Update for use with JBC 3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17672 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-09 03:56:07 +00:00
Brian Stansberry c27da172ab Typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17663 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-09 02:25:15 +00:00
Brian Stansberry c49ef2e2f2 [HHH-4487] Restore versions of the old public API jbc2 package classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17662 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 23:23:42 +00:00
Brian Stansberry 63f4fab3d0 [HHH-4487] Restore versions of the old public API jbc2 package classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17661 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 22:52:32 +00:00
Brian Stansberry ac6a4f652a [HHH-4485] Replace the JBoss Cache integration configuration properties with "jbc2"-less versions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17660 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 22:40:42 +00:00
Brian Stansberry c32a7a00a5 [HHH-4484] When JBoss Cache is configured for INVALIDATION don't send cluster message on entity insert
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17659 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 20:59:56 +00:00
Brian Stansberry 0ddf421e78 Fix code style
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17658 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 19:43:00 +00:00
Brian Stansberry 2ad3cfb6c0 [HHH-3817] Further refine, test PutFromLoadValidator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17657 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-08 17:50:07 +00:00
Brian Stansberry d9adc4bc12 [HHH-3817] Create PutFromLoadValidator class to control whether puts are allowed after removes/evicts
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17643 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-07 23:30:50 +00:00
Brian Stansberry c8873dff76 [HHH-3849] Disable lock striping in JBoss Cache configs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-07 20:45:06 +00:00
Brian Stansberry 92843349de [HHH-3849] Disable lock striping in JBoss Cache configs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17637 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 20:42:51 +00:00
Brian Stansberry 871daa5c91 [HHH-4476] Use JBC 3.2.1.GA
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17635 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 18:38:33 +00:00
Brian Stansberry 9cfcc990f2 [HHH-4435] newerThan should return false when comparing to self
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17634 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 18:17:00 +00:00
Brian Stansberry 06491edd23 [HHH-4475] Fix resource locations to reflect repackaging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17633 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 18:15:30 +00:00
Emmanuel Bernard dbcf806b7e HHH-4364 add tests for superclasses
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17629 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 09:21:51 +00:00
Emmanuel Bernard 202b5faf70 HHH-4232 add missing test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17628 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:18:12 +00:00
Emmanuel Bernard 4c62467d4d HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17627 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:15:27 +00:00
Emmanuel Bernard c6a32b933d HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17626 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 07:50:35 +00:00
Sanne Grinovero 460a7ace1c HHH-4441 : fixing out-of-specification custom Serialization (see also JBMAR-67)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17612 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-02 20:19:22 +00:00
Adam Warski 99dac200f2 HHH-4449:
- applying patch

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17587 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 17:16:01 +00:00
Adam Warski c987deb619 HHH-4447:
- applying patches

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17586 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 17:11:04 +00:00
Adam Warski 58fdaeb637 HHH-4437:
- applying patches

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17584 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 16:28:00 +00:00
Hardy Ferentschik e1f0574cd1 HV-232
Added no-arg constructor to listener.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-28 11:42:48 +00:00
Emmanuel Bernard f108c4af92 HHH-4463 do not alter setMaxResult for native queries in getSingleResult() as the query transformation will likely fail.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17543 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-25 11:14:51 +00:00
Emmanuel Bernard 8eeaaeb286 Fix unsafe use and copy data to Set<ConstraintViolation<?>>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17534 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-23 16:25:07 +00:00
Emmanuel Bernard 8cc9e9d5fd HHH-4232 TypeDef support when used on @Embeddable or @MappedSuperClass classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17531 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:43:48 +00:00
Emmanuel Bernard 88caf4d958 HHH-4364 support @NamedQuery on a @MappedSuperclass (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:19:24 +00:00
Hardy Ferentschik b8da757937 JBPAPP-1075 - Removed the @JoinColumn mappings. Thought not wrong per se they cause some wrong table creation scripts. Removing them circumvents this problem without affecting the test.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17527 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-18 09:06:47 +00:00
Steve Ebersole 0a1763a207 HHH-4196 - Implement JPA 2.0 criteria apis (building)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-17 21:26:25 +00:00
Hardy Ferentschik 4dc46db783 JBPAPP-1075 - Removed unique constraint on order number.
Also removed an empty test method.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-17 17:36:24 +00:00
Steve Ebersole d2d3568323 HHH-3461 - Enhance DialectFactory to support Sybase Adaptive Server Anywhere
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17514 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-15 12:33:28 +00:00
Hardy Ferentschik 599ffd7992 JBPAPP-1075 - Removed the unique contraint the GROUPS_PERMISSIONS table.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17492 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:44:27 +00:00
Hardy Ferentschik 0f807c6029 Upgraded hibernate-validator dependency 4.0.0.CR1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17491 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:18:02 +00:00
Hardy Ferentschik d8342f4a7a Fixed some typos and cleaned up the import list
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17490 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:17:06 +00:00
Galder Zamarreno 9e7e49d1f1 [ISPN-6] [HHH-4103] Tidy up commented code.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17488 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 09:55:19 +00:00
Galder Zamarreno fc6da13a85 [ISPN-6] [HHH-4103] Fixed Infinispan classloader tests that required fixing some issues in the region factory implementation, but also a fix in Infinispan and a fix in JBoss Marshalling. I'll update the pom.xml to a new Infinispan release as soon as we have a new one. I've also added a fndi version of the Infinispan region factory to be used under JBoss AS. Finally, added some extra optional Infinispan configurations to the default file for testing and indication purpouses.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17487 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-07 17:50:30 +00:00
Strong Liu 4bd7cb84d7 JBPAPP-2716 HHH-4115 : Core - FooBarTest - 'operator does not exist: character varying = integer'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17463 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-02 02:30:42 +00:00
Strong Liu 5af53b5d10 JBPAPP-2715 HHH-4114 : Core - ASTParserLoadingTest fails due to missing 'bit_length' function
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17462 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-02 02:29:36 +00:00
Greg Luck f5f26545bb Upped ehcache dependency to version 1.5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17449 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-31 00:34:25 +00:00