[[NotSpam Email:998114491]] creating SRecordInstance outside SDataSet. And SRecordInstance Inheritance support
Steeve St-Laurent <[email protected]> Sat, 17 Jul 2010 18:17:23 -0400
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I saw that SDataSet.attach is deprecated.
Why is attach deprecated and not recommended to create a SRecordInstance outside a dataset.
Also, im working on a new feature that would allow SRecordInstance inheritance with sql native inheritance.
My way of doing it is with a new constructor and a new getter in SRecordMeta
public <E extends SRecordInstance> SRecordMeta(SRecordMeta<E> parent, Class<T> userClass, String tableName)
public SRecordMeta<? extends SRecordInstance> getParent()
I would like to have comments on the way of doing it.
My knowledge of SimpleORM is limited.
For now, I'm on writing test.
Thanks to author for giving code to open-source. Its greatly appreciated.
Steeve
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/SimpleORM/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/SimpleORM/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/