simpleorm.examples

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Database ORM » SimpleORM » simpleorm.examples 
simpleorm.examples
SimpleORM examples and test cases. The ant task

ant testall runs all the regression tests except the SwingTest and the J2EE tests. Start with ADemo, and then look at the other examples as you need to.
Java Source File NameTypeComment
ADemo.javaClass START HERE -- this class provides basic examples of the main SimpleORM features.
ATestAll.javaClass Just runs all the other tests, one after the other.
BasicTests.javaClass Similar to ADemo tests, but with more assertions.
Benchmarks.javaClass Basic benchmarks that compare SimpleORM performance to raw JDBC. No significant degedation has been found.
ColumnCacheTest.javaClass Tests and demonstrates selective column queries, locking and flushing details as well as derived columns and joins.
CreateDBTest.javaClass Creates the createdb.sql script (Not necessary to run tests). This test creates temp/createdb.sql which contains DROP and CREATE TABLE statments that can recreate the tables in the given database.
DataTypesTest.javaClass This test class uses all data types including Dates and Times.
Department.javaClass
Employee.javaClass
GeneratedKeyTest.javaClass Demonstrated Generated Keys.
IdentFKeysTest.javaClass Tests and demonstrates Identifying Foreign Keys.
LongTransactionTest.javaClass Demonstrates Cache/locking issues, in particular a long, user interaction transaction (optimistic locking), thread test.

An Employee record is read, and then detatched.

Payroll.javaClass This test class defines the Payroll tables as static inner tables which demonstrate identifying foreign keys.
Project.javaClass This test class defines the Project table.
ReferenceTest.javaClass This provides a basic test of foreign key references and in particular identifying foreign keys.
SwingTest.javaClass Demo of SimpleORM in a Swing Environment.
TestUte.javaClass Utilities used by all the test cases.
ValidationTest.javaClass Tests validation, OnFieldValidate etc.
w__w_w__.__j___a___va__2___s_.__c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.