45 Commits (12c78791de53a1821e77c1136acd64eaff94de53)

Author SHA1 Message Date
Ben Alex 12c78791de Refactored. NB: This code is unsupported and illustrates non-anemic domain objects that do not leverage transparent persistence capabilities (I recommend you use transparent persistence capabilities where possible - I hope to check in different packages with new patterns in due course). 20 years ago
Matthew Porter 53dcdf7e89 If childObject is a collection, add the objects in the collection. 20 years ago
Ben Alex a5d33af2e6 Remove classes. 20 years ago
Ben Alex 6a1a4abb1d SEC-104: Move to org.acegisecurity package. 20 years ago
Scott McCrory 79c3ba521b Resolved and/or inhibit build warnings as seen in Eclipse 3.1. Please refer to http://opensource2.atlassian.com/projects/spring/browse/SEC-93 for more info. 20 years ago
Luke Taylor 8b88700079 Tidied up cut-n-pasted Javadoc. 21 years ago
Ben Alex 1455029435 Refactor lifecycle methods into separate files, so that subclasses can extend specific classes or interfaces to achieve the desired subset of lifecycle capabilities. 21 years ago
Ben Alex be578c99d1 Add setId(Long) back into class, as Hibernate 3.0.5 gives Lazy Initialization Exception if using field="access" when trying to do a getId() on a lazily loaded association. 21 years ago
Ben Alex ddd69c751f Automatically ensure Validators accessing DAOs receive detached instances. Also provide DetachmentContextHolder ThreadLocal, so that this behaviour can be specified whenever required. 21 years ago
Ben Alex 1119b665f8 Make createOrUpdate(E) delegate to Manager methods, not to the DAO method of the same name. 21 years ago
Ben Alex 3794c608ad Remove setId(Long). This means access="field" needs to be used with Hibernate. 21 years ago
Ben Alex 61df8e9f7b Support multiple SessionFactory instances (not just one). 21 years ago
Ben Alex fc1fe03871 Automatically introspect generic to determine supports(Class) instead of relying on IoC container or Java code to specify it. 21 years ago
Ben Alex ebb99abc78 Ensure that classes implementing the BindBeforeValidation interface have the method called *before* validation, as Validator implementations will sometimes check the properties modified by BindBeforeValidation implementations. 21 years ago
Ben Alex c5e060dc09 Fix generics. 21 years ago
Ben Alex 975de1e043 Add .cvsignore files so that empty directories are created in CVS. Remove package.html files that do not belong to a particular package and were simply directory markers. 21 years ago
Scott McCrory 6018ef22a8 Replaced .cvsignore placeholders for package.html files (which also serve some doccumentary purpose). 21 years ago
Scott McCrory 9fc7717d20 Added .cvsignore as a placeholder so that CVS retains these directories upon checkout. 21 years ago
Ben Alex 2e51880608 Remove annotations after discussion with Matthew Porter. 21 years ago
Ben Alex ee3a14ab1b Improve logging. 21 years ago
Ben Alex 14e384051b Improve logging. 21 years ago
Ben Alex 0b6d0a5798 Remove finals - conflicts with CGLIB generated classes. 21 years ago
Ben Alex c1d156e363 Handle multiple Validators.support()ing a given class. 21 years ago
Ben Alex 307cd35b9c More fetching/initialization related fine-tuning. 21 years ago
Ben Alex 4f2f6a5004 Improve logging to detect mismatched Validator:Class combinations. 21 years ago
Ben Alex 32646b5581 More eager/lazy fetching optimisations. 21 years ago
Ben Alex c9fc2684ad Some initial fetching strategy comments. 21 years ago
Ben Alex 37983a0689 Refactor toString() so it doesn't break with lazy loaded associations. 21 years ago
Ben Alex 5dcbb416ec Add initialization support. 21 years ago
Ben Alex 0425724b4f Add services layer generics to Domain subproject. 21 years ago
Ben Alex 5f1cb77e40 Domain subproject Java 1.5 compatibility. 21 years ago
Ben Alex 28a960cfab Handle null domain ojbect (useful if a search didn't find a match). 21 years ago
Ben Alex cea4bf11d1 Add scrollWithSubclasses() method. 21 years ago
Ben Alex 958a45af69 Refactor to use an inner class, as per the standard Java SDK Iterator implementations. 21 years ago
Ben Alex 5fdcbe1ec4 Refactor to use the application context as the source of Validators. This is appropriate as manual control over Validator instance creation and wiring is often necessary (not autowiring). This is particularly the case when dealing with DefaultAdvisorAutoProxyCreator, which excludes collaborating beans from being advice candidates. 21 years ago
Ben Alex 018f625e85 Prevent infinite loops, and add logging. 21 years ago
Matthew Porter 9723ac61c6 Add createOrUpdate to methods (by default). 21 years ago
Matthew Porter 625efa4782 Check to ensure the child object returned is not null before adding to list of child objects to validate. 21 years ago
Matthew Porter 8fb3a8bf88 Change sequence to native for more db cross platform. 21 years ago
Ben Alex 3f6c5f7cb1 Bug fixes. 21 years ago
Ben Alex a2d68e4fc5 Hibernate 3 refactorings. 21 years ago
Ben Alex 9b90df1812 Refactor to allow IntrospectionManagers to query a shared Validator map. 21 years ago
Matthew Porter 2f2c6bc3d8 Change createOrUpdate() to use Hibernate session.saveOrUpdate(). 21 years ago
Matthew Porter 1e896c14d6 Change clone() method to throw CloneNotSupportedException. 21 years ago
Ben Alex cf241fb9ae Initial commit. 21 years ago