| http://www.w3.org/ns/prov#value | - = new Deposit(37); // SELECT * FROM deposit WHERE somePrimaryKey = 37// d.account is an instance, but is NOT filled with data, just an identifier, hence:d.account.select(); // SELECT * FROM account WHERE somePrimaryKey = d.account.id()The DataObject class allows you to override the default names for the tablename and primarykey column.1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 public clas
|