Quoting Rickard Öberg <[email protected]>:
On 2010-08-02 16.12, Stanislav Muhametsin wrote:
By implementing wrapper around DefaultEntityStore, which would expose a
getter to entity PK (and that optimistic lock -column). That way, the
SQL Indexing will know now to create or query entity PK (from DB), but
rather just say entityState.getEntityPK();.
Ok, I see. Alright, sounds ok.
Oops, I meant DefaultEntityState of course, not Store. :)
As another thing, the bad news is that java-sql-dsl turned out to be
too simple in order to create SQL statements used by sql-indexing.
When inspecting java-sql-dsl deeper, it turned out that it needed a
complete rewrite if one wants to be able to use it for sql-indexing
SQL statements.
I have done some interfaces, which mimic the BNF syntax of SQL (
http://savage.net.au/SQL/sql-99.bnf.html ), however I don't yet have
time to write an implementation for interfaces. So, because of this,
proper refactoring of sql-indexing is postponed until either someone
else writes implementation for this new SQL framework, or until I get
time. The latter will happen most likely around 3rd week of september
(I might get occasional time fragments to work on it before tho).
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev