Add basic files for testing smart dao
commit8c1556461d31303d0c27db4430efa6009bb513e3
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 6 Nov 2008 15:00:41 +0000 (6 21:00 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 6 Nov 2008 15:00:41 +0000 (6 21:00 +0600)
tree487d947a1cd5d44eb4254b0b243a87711be0b4c2
parent3ceb69e66eb54fbd0bdaf19b28a436b5f2a861ef
Add basic files for testing smart dao

It will use Apache Derby DB in embedded mode, along with Spring and
Hibernate. For configuring the db to use one may use the db-test-config
template properties file and to get it to work it should work if only
copy and paste is done.

Three test domains - Book, Author and Publisher along with their
hibernate mapping file with associations.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
14 files changed:
smart-hibernate-abstract-dao/.gitignore [new file with mode: 0644]
smart-hibernate-abstract-dao/hibernate-mapping-3.0.dtd [new file with mode: 0644]
smart-hibernate-abstract-dao/pom.xml
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/AbstractDAOTest.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/TestAbstractDAOImpl.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Author.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Book.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Publisher.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/.gitignore [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/app-context.xml [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/db-test-config.properties.template [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/hbm/Author.hbm.xml [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/hbm/Book.hbm.xml [new file with mode: 0644]
smart-hibernate-abstract-dao/src/test/resources/hbm/Publisher.hbm.xml [new file with mode: 0644]