Automagic table creation. The migration stuff is not yet implemented and

various fancy things like embedded objects and constraints and kitchen sinks
are not yet implemented, but the basic bits are functional (including IDENTITY
column primary key handling).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1916 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-09-19 22:45:33 +00:00
parent 68558e11bd
commit d2a1f87f5a
6 changed files with 345 additions and 76 deletions
@@ -15,15 +15,21 @@ import com.samskivert.util.StringUtil;
*/
public class TestRecord
{
public static final int SCHEMA_VERSION = 1;
@Id
public int recordId;
@Column(nullable=false)
public String name;
@Column(nullable=false)
public int age;
@Column(nullable=false)
public Date created;
@Column(nullable=false)
public Timestamp lastModified;
public String toString ()