polygene-sandbox.git
11 years agoMerge branch 'master' of github.com:Qi4j/qi4j-sandbox master
Philippe Van Dyck [Thu, 18 Nov 2010 11:36:29 +0000 (12:36 +0100)] 
Merge branch 'master' of github.com:Qi4j/qi4j-sandbox

11 years agoIgnored test until the Hector version of the E/S is ready
Philippe Van Dyck [Thu, 18 Nov 2010 11:35:39 +0000 (12:35 +0100)] 
Ignored test until the Hector version of the E/S is ready

11 years agoMerge branch 'master' of git@github.com:Qi4j/qi4j-sandbox
Rickard Öberg [Mon, 15 Nov 2010 08:21:04 +0000 (09:21 +0100)] 
Merge branch 'master' of git@github.com:Qi4j/qi4j-sandbox

11 years agoFixed importer
Rickard Öberg [Mon, 15 Nov 2010 08:20:46 +0000 (09:20 +0100)] 
Fixed importer

11 years agoThis file should only exist in OPS4J repository.
Niclas Hedhman [Sun, 14 Nov 2010 05:31:44 +0000 (13:31 +0800)] 
This file should only exist in OPS4J repository.

11 years agoMerge branch 'master' of dscm.ops4j.org:qi4j-sandbox
Niclas Hedhman [Sun, 14 Nov 2010 05:31:01 +0000 (13:31 +0800)] 
Merge branch 'master' of dscm.ops4j.org:qi4j-sandbox

11 years agoDEPRECATION of dscm.ops4j.org
Niclas Hedhman [Sun, 14 Nov 2010 05:16:14 +0000 (13:16 +0800)] 
DEPRECATION of dscm.ops4j.org

11 years agoentitystore-cassendra: fixed bad import / missing dependencie to commons-lang
Paul MERLIN [Fri, 12 Nov 2010 17:06:36 +0000 (18:06 +0100)] 
entitystore-cassendra: fixed bad import / missing dependencie to commons-lang

11 years agoUpdated Cassandra repository (using Riptano's)
Philippe Van Dyck [Fri, 12 Nov 2010 15:40:26 +0000 (16:40 +0100)] 
Updated Cassandra repository (using Riptano's)

11 years agoWorking version of Cassandra entity store (tests are ok but a local version of cassan...
Philippe Van Dyck [Thu, 11 Nov 2010 13:55:28 +0000 (14:55 +0100)] 
Working version of Cassandra entity store (tests are ok but a local version of cassandra must be running)

11 years agoMerge branch 'master' of git@github.com:Qi4j/qi4j-sandbox
Rickard Öberg [Mon, 8 Nov 2010 13:51:43 +0000 (14:51 +0100)] 
Merge branch 'master' of git@github.com:Qi4j/qi4j-sandbox

Conflicts:
extensions/osgi/bootstrap/pom.xml
extensions/osgi/example/pom.xml
extensions/osgi/integrationTests/pom.xml
extensions/osgi/testBootstrap/pom.xml
extensions/pom.xml
libraries/entityproxy/pom.xml
libraries/pom.xml

11 years agoUpdated sandbox EntityStores for new SPI
Rickard Öberg [Mon, 8 Nov 2010 13:48:25 +0000 (14:48 +0100)] 
Updated sandbox EntityStores for new SPI

11 years agoMade sandbox build against qi4j 1.3-SNAPSHOT
Paul MERLIN [Mon, 8 Nov 2010 10:47:31 +0000 (11:47 +0100)] 
Made sandbox build against qi4j 1.3-SNAPSHOT

11 years agoPOM names standardized
Philippe Van Dyck [Tue, 2 Nov 2010 16:56:50 +0000 (17:56 +0100)] 
POM names standardized

11 years agoPOM names standardized
Philippe Van Dyck [Tue, 2 Nov 2010 16:55:11 +0000 (17:55 +0100)] 
POM names standardized

11 years agoPOM names standardized
Philippe Van Dyck [Tue, 2 Nov 2010 16:53:07 +0000 (17:53 +0100)] 
POM names standardized

11 years agoUpdated poms to 1.3-SNAPSHOT
Philippe Van Dyck [Tue, 2 Nov 2010 16:47:59 +0000 (17:47 +0100)] 
Updated poms to 1.3-SNAPSHOT

11 years agoChanged the current version to 1.3-SNAPSHOT
Niclas Hedhman [Sat, 30 Oct 2010 12:10:25 +0000 (20:10 +0800)] 
Changed the current version to 1.3-SNAPSHOT

11 years agoImplemented visitor-exception pattern
Rickard Öberg [Sun, 3 Oct 2010 10:46:46 +0000 (18:46 +0800)] 
Implemented visitor-exception pattern

11 years agoImplemented visitor-exception pattern
Rickard Öberg [Fri, 1 Oct 2010 06:22:35 +0000 (14:22 +0800)] 
Implemented visitor-exception pattern

12 years agolibraries/sql extensions/entitystore-sql extensions/indexing-sql removal after puttin...
Paul MERLIN [Thu, 23 Sep 2010 13:03:42 +0000 (15:03 +0200)] 
libraries/sql extensions/entitystore-sql extensions/indexing-sql removal after putting out of sandbox

12 years agoentitystore-sql: added lastModified handling
Paul MERLIN [Thu, 23 Sep 2010 08:53:24 +0000 (10:53 +0200)] 
entitystore-sql: added lastModified handling

12 years agoentitystore-sql: documentation
Paul MERLIN [Thu, 23 Sep 2010 07:36:12 +0000 (09:36 +0200)] 
entitystore-sql: documentation

12 years agoentitystore-sql: code cleanup
Paul MERLIN [Thu, 23 Sep 2010 07:28:43 +0000 (09:28 +0200)] 
entitystore-sql: code cleanup

12 years agoentitystore-sql: applied EntityStoreSPI refactoring and restored deleted test ressour...
Paul MERLIN [Thu, 23 Sep 2010 07:19:42 +0000 (09:19 +0200)] 
entitystore-sql: applied EntityStoreSPI refactoring and restored deleted test ressources files

12 years agoSeems IDEA files was back in to git repo.
Niclas Hedhman [Wed, 22 Sep 2010 12:11:28 +0000 (20:11 +0800)] 
Seems IDEA files was back in to git repo.

12 years agoIntroduced an extra level of 'internal' package, to clearly show users that it is...
Niclas Hedhman [Wed, 22 Sep 2010 12:08:37 +0000 (20:08 +0800)] 
Introduced an extra level of 'internal' package, to clearly show users that it is beyond what they need to look at.

12 years agoLowered the default visibility in the service assembler.
Niclas Hedhman [Wed, 22 Sep 2010 11:58:37 +0000 (19:58 +0800)] 
Lowered the default visibility in the service assembler.
Formatting.

12 years agoqi4j-library-servlet & qi4j-library-shiro moved out of sandbox
Paul MERLIN [Tue, 21 Sep 2010 12:15:22 +0000 (14:15 +0200)] 
qi4j-library-servlet & qi4j-library-shiro moved out of sandbox

12 years agoAdding a Voldemort store (again).
Niclas Hedhman [Sun, 19 Sep 2010 11:18:31 +0000 (19:18 +0800)] 
Adding a Voldemort store (again).

12 years agoentitystore-sql: fixed assemblies
Paul MERLIN [Wed, 8 Sep 2010 09:57:22 +0000 (11:57 +0200)] 
entitystore-sql: fixed assemblies

12 years agoentitystore-sql: added a helper to import DataSources
Paul MERLIN [Tue, 7 Sep 2010 16:03:47 +0000 (18:03 +0200)] 
entitystore-sql: added a helper to import DataSources

12 years agoentitystore-sql: is now working with DataSources
Paul MERLIN [Fri, 3 Sep 2010 09:44:44 +0000 (11:44 +0200)] 
entitystore-sql: is now working with DataSources

Base mixin is provided by Apache DBCP.
Assemblers allow DataSourceService to be imported.
Everything work with PostgreSQL and Apache Derby, we still need to
refactor in order to work with MySQL.

12 years agolibraries/sql : fixed dependencies by excluding unwanted transitive
Paul MERLIN [Fri, 3 Sep 2010 09:43:46 +0000 (11:43 +0200)] 
libraries/sql : fixed dependencies by excluding unwanted transitive

12 years agoAdded dependency to java-sql-dsl.
Stanislav Muhametsin [Sun, 1 Aug 2010 15:39:16 +0000 (18:39 +0300)] 
Added dependency to java-sql-dsl.

12 years agoRemoved the @Override annotations, which gave error on 1.5 compiler.
Stanislav Muhametsin [Sun, 1 Aug 2010 14:35:57 +0000 (17:35 +0300)] 
Removed the @Override annotations, which gave error on 1.5 compiler.

12 years agoMerge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox
Stanislav Muhametsin [Sun, 1 Aug 2010 14:21:09 +0000 (17:21 +0300)] 
Merge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox

12 years agolibraries-sql & entitystore-sql : added an optimistic_lock column
Paul Merlin [Sun, 1 Aug 2010 13:24:49 +0000 (15:24 +0200)] 
libraries-sql & entitystore-sql : added an optimistic_lock column

12 years agoentitystore-sql: removed old MapEntityStore code, removed all _member names, removed...
Paul Merlin [Sat, 31 Jul 2010 15:42:02 +0000 (17:42 +0200)] 
entitystore-sql: removed old MapEntityStore code, removed all _member names, removed all logging not done with slf4j

12 years agoAdded dev-status.xml file to several projects
Paul MERLIN [Sat, 24 Jul 2010 10:34:42 +0000 (12:34 +0200)] 
Added dev-status.xml file to several projects

12 years agoStarted an experiment : EntityStore-JClouds
Paul MERLIN [Fri, 23 Jul 2010 20:06:06 +0000 (22:06 +0200)] 
Started an experiment : EntityStore-JClouds

JClouds http://code.google.com/p/jclouds offers an abstraction over
several in cloud blob stores providers.

Implementation is done only with the embedded TransientBlobStore for now.
Unit tests passes.

12 years agolibraries/sql & extensions/indexing-sql : code now compiles with target 1.5
Paul MERLIN [Wed, 21 Jul 2010 12:55:48 +0000 (14:55 +0200)] 
libraries/sql & extensions/indexing-sql : code now compiles with target 1.5

12 years agoentitystore-sql: EntityStore without MapEntityStoreMixin is working on Derby & PostgreSQL
Paul MERLIN [Mon, 12 Jul 2010 19:15:49 +0000 (21:15 +0200)] 
entitystore-sql: EntityStore without MapEntityStoreMixin is working on Derby & PostgreSQL

Refactored the code so that DatabaseSQLService is composited of small mixins.
That way supporting other SGBD will be easier.

12 years agoChanged PostgreSQL indexing to use TEXT type for columns with strings.
Stanislav Muhametsin [Mon, 5 Jul 2010 22:44:08 +0000 (01:44 +0300)] 
Changed PostgreSQL indexing to use TEXT type for columns with strings.

12 years agoMade indexing take @Queryable annotation into account.
Stanislav Muhametsin [Thu, 24 Jun 2010 03:17:28 +0000 (06:17 +0300)] 
Made indexing take @Queryable annotation into account.

12 years agoAdded missing file.
Stanislav Muhametsin [Thu, 24 Jun 2010 02:56:30 +0000 (05:56 +0300)] 
Added missing file.

12 years agoNumerous minor bug fixes.
Stanislav Muhametsin [Thu, 24 Jun 2010 02:51:14 +0000 (05:51 +0300)] 
Numerous minor bug fixes.

12 years agoAlmost forgot couple of classes. :)
Stanislav Muhametsin [Thu, 24 Jun 2010 01:16:30 +0000 (04:16 +0300)] 
Almost forgot couple of classes. :)

12 years agoFirst implementation of 'true' SQLEntityStore.
Stanislav Muhametsin [Thu, 24 Jun 2010 01:11:13 +0000 (04:11 +0300)] 
First implementation of 'true' SQLEntityStore.

The synergy with SQL indexing is not yet tested as the abstract core test classes need to be modified for that.

12 years agoentitystore-sql: massive renaming to leave room for a 'true' EntityStore implementation
Paul MERLIN [Mon, 21 Jun 2010 16:44:43 +0000 (18:44 +0200)] 
entitystore-sql: massive renaming to leave room for a 'true' EntityStore implementation

12 years agoNow there is no need to execute 1 prepared statement for each asso and many-asso...
Stanislav Muhametsin [Mon, 21 Jun 2010 00:22:09 +0000 (03:22 +0300)] 
Now there is no need to execute 1 prepared statement for each asso and many-asso value.

12 years agoentitystore-sql: started work for servlet / ejb transactions integration in unit...
Paul MERLIN [Sat, 19 Jun 2010 16:43:38 +0000 (18:43 +0200)] 
entitystore-sql: started work for servlet / ejb transactions integration in unit tests using embedded-glassfish

12 years agoentitystore-sql: fixed source headers, added gitignore
Paul MERLIN [Sat, 19 Jun 2010 13:25:01 +0000 (15:25 +0200)] 
entitystore-sql: fixed source headers, added gitignore

12 years agoMerge branch 'master' of dscm.ops4j.org:qi4j-sandbox
Paul MERLIN [Fri, 18 Jun 2010 16:21:32 +0000 (18:21 +0200)] 
Merge branch 'master' of dscm.ops4j.org:qi4j-sandbox

12 years agoentitystore-sql : initial import
Paul MERLIN [Fri, 18 Jun 2010 16:15:40 +0000 (18:15 +0200)] 
entitystore-sql : initial import

An attempt to write a simple EntityStore on top of sql databases using a
simple key/value table.

Implementations for Apache Derby, MySQL and PostgreSQL are provided.

Unit tests for MySQL and PostgreSQL are annotated with @Ignore because
they need external setup (database creation & user/password creation).

12 years agoFixed a bug with primary keys for association and many-association tables.
Stanislav Muhametsin [Tue, 15 Jun 2010 16:47:37 +0000 (19:47 +0300)] 
Fixed a bug with primary keys for association and many-association tables.

12 years agoSlight changes to entity proxy.
Stanislav Muhametsin [Tue, 15 Jun 2010 16:43:28 +0000 (19:43 +0300)] 
Slight changes to entity proxy.

12 years agoAdded entityproxy library.
Stanislav Muhametsin [Tue, 15 Jun 2010 14:37:27 +0000 (17:37 +0300)] 
Added entityproxy library.

It is designed to help Qi4j-agnostic parts of applications to handle entities by giving those parts transients wrapping entities instead of directly giving entities.

12 years agoAdded OFFSET/LIMIT to generated SQL queries.
Stanislav Muhametsin [Mon, 14 Jun 2010 20:49:53 +0000 (23:49 +0300)] 
Added OFFSET/LIMIT to generated SQL queries.

12 years agoFixed a bug with primary keys for association and many-association tables.
Stanislav Muhametsin [Tue, 15 Jun 2010 16:47:37 +0000 (19:47 +0300)] 
Fixed a bug with primary keys for association and many-association tables.

12 years agoSlight changes to entity proxy.
Stanislav Muhametsin [Tue, 15 Jun 2010 16:43:28 +0000 (19:43 +0300)] 
Slight changes to entity proxy.

12 years agoAdded entityproxy library.
Stanislav Muhametsin [Tue, 15 Jun 2010 14:37:27 +0000 (17:37 +0300)] 
Added entityproxy library.

It is designed to help Qi4j-agnostic parts of applications to handle entities by giving those parts transients wrapping entities instead of directly giving entities.

12 years agoAdded OFFSET/LIMIT to generated SQL queries.
Stanislav Muhametsin [Mon, 14 Jun 2010 20:49:53 +0000 (23:49 +0300)] 
Added OFFSET/LIMIT to generated SQL queries.

12 years agoshiro: now using released shiro-1.0.0-incubating
Paul MERLIN [Sat, 12 Jun 2010 15:57:49 +0000 (17:57 +0200)] 
shiro: now using released shiro-1.0.0-incubating

12 years agoAdded missing code to close all PreparedStatements.
Stanislav Muhametsin [Wed, 9 Jun 2010 20:40:06 +0000 (23:40 +0300)] 
Added missing code to close all PreparedStatements.

12 years agoFew bugfixes to PostgreSQL indexing.
Stanislav Muhametsin [Wed, 9 Jun 2010 12:36:15 +0000 (15:36 +0300)] 
Few bugfixes to PostgreSQL indexing.

12 years agoUpdated sandbox poms to use 1.2-SNAPSHOT version
Paul MERLIN [Mon, 7 Jun 2010 08:57:46 +0000 (10:57 +0200)] 
Updated sandbox poms to use 1.2-SNAPSHOT version

12 years agoSmall fix on reindexing strategy.
Stanislav Muhametsin [Wed, 26 May 2010 01:25:47 +0000 (04:25 +0300)] 
Small fix on reindexing strategy.

12 years agoChanged to 1.2-SNAPSHOT.
Stanislav Muhametsin [Tue, 25 May 2010 19:30:51 +0000 (22:30 +0300)] 
Changed to 1.2-SNAPSHOT.

12 years agoSome code cleanup.
Stanislav Muhametsin [Tue, 25 May 2010 00:45:47 +0000 (03:45 +0300)] 
Some code cleanup.

12 years agoMerge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox
Stanislav Muhametsin [Mon, 24 May 2010 21:36:13 +0000 (00:36 +0300)] 
Merge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox

12 years agoAdded some of complex query parsing. Code cleanup to be done.
Stanislav Muhametsin [Mon, 24 May 2010 21:34:34 +0000 (00:34 +0300)] 
Added some of complex query parsing. Code cleanup to be done.

12 years agoshiro: some code cleanup preparing multi credential matching algorithms
Paul MERLIN [Mon, 24 May 2010 14:34:20 +0000 (16:34 +0200)] 
shiro: some code cleanup preparing multi credential matching algorithms

12 years agoMore refactoring and bug-fixing to PostgreSQL indexing.
Stanislav Muhametsin [Thu, 20 May 2010 01:13:58 +0000 (04:13 +0300)] 
More refactoring and bug-fixing to PostgreSQL indexing.

12 years agoConverted line-breaks to Unix.
Stanislav Muhametsin [Wed, 19 May 2010 22:41:49 +0000 (01:41 +0300)] 
Converted line-breaks to Unix.

12 years agoAdded short instructions on how to setup PostgreSQL database in order to use it with...
Stanislav Muhametsin [Wed, 19 May 2010 22:24:21 +0000 (01:24 +0300)] 
Added short instructions on how to setup PostgreSQL database in order to use it with PostgreSQL indexing.

12 years agoMerge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox
unknown [Wed, 19 May 2010 22:01:25 +0000 (01:01 +0300)] 
Merge branch 'master' of git+ssh://dscm.ops4j.org/qi4j-sandbox

12 years agoOverall improvements and refactoring into PostgreSQL indexing.
Stanislav Muhametsin [Wed, 19 May 2010 21:59:04 +0000 (00:59 +0300)] 
Overall improvements and refactoring into PostgreSQL indexing.

12 years agoUpdated JNDI EntityStore to latest SPI
Rickard Öberg [Tue, 18 May 2010 04:45:04 +0000 (12:45 +0800)] 
Updated JNDI EntityStore to latest SPI

12 years agoSome minor changes and fixes.
Stanislav Muhametsin [Fri, 14 May 2010 12:41:23 +0000 (15:41 +0300)] 
Some minor changes and fixes.

12 years agoAll enum values used in application are now stored in a separate lookup table.
Stanislav Muhametsin [Thu, 13 May 2010 22:14:22 +0000 (01:14 +0300)] 
All enum values used in application are now stored in a separate lookup table.

12 years agoAdded support for BigInteger and BigDecimal. Added SQL type customization mechanism...
Stanislav Muhametsin [Thu, 13 May 2010 21:05:28 +0000 (00:05 +0300)] 
Added support for BigInteger and BigDecimal. Added SQL type customization mechanism (SQLTypeInfo annotation).

12 years agoFurther code refactoring and overall improvement of (Postgre)SQL-indexing.
Stanislav Muhametsin [Thu, 13 May 2010 11:32:35 +0000 (14:32 +0300)] 
Further code refactoring and overall improvement of (Postgre)SQL-indexing.

Now regexps are supported. There probably will arise a need to implement Java-PGSQL regexp translation at some point, but right now they seem to work well together.

Added new ReIndexingStrategy, which allows application user to control how PGSQL re-builds database structure.

12 years agoArgh. EGit has a nasty habit of not adding new stuff automatically to repository...
Stanislav Muhametsin [Thu, 13 May 2010 02:44:09 +0000 (05:44 +0300)] 
Argh. EGit has a nasty habit of not adding new stuff automatically to repository, and that seems to be unconfigurable.

12 years agoRefactored SQL Indexing.
Stanislav Muhametsin [Thu, 13 May 2010 02:32:27 +0000 (05:32 +0300)] 
Refactored SQL Indexing.

Now the PostgreSQL-specific part is its own library. SQL-Indexing itself now only uses SQL-API library, which is then implemented by PostgreSQL Library. Whoever builds the application, must use SQLIndexingAssembler and then PostgreSQLAssembler.

12 years agoAhh, the tests on sql-indexing are finally running.
Stanislav Muhametsin [Wed, 12 May 2010 11:45:46 +0000 (14:45 +0300)] 
Ahh, the tests on sql-indexing are finally running.

Was silly problem with sql indexing trying to index its own config (I think there should be some kind of check to prevent that). That got fixed by using preferences entity store. Also added PostgreSQL as used JDBC driver, since that's the RDBMS I'm using.

12 years agoGoddamn, some program doesn't seem to understand about character case in file names.
Stanislav Muhametsin [Wed, 12 May 2010 10:44:51 +0000 (13:44 +0300)] 
Goddamn, some program doesn't seem to understand about character case in file names.

12 years agoFixed casing Sql -> SQL.
Stanislav Muhametsin [Wed, 12 May 2010 02:41:13 +0000 (05:41 +0300)] 
Fixed casing Sql -> SQL.

12 years agoWups, seems that I forgot to add some files after renaming/moving folders.
Stanislav Muhametsin [Wed, 12 May 2010 01:00:12 +0000 (04:00 +0300)] 
Wups, seems that I forgot to add some files after renaming/moving folders.

12 years agoRemoved the previous sql indexing project.
Stanislav Muhametsin [Wed, 12 May 2010 00:53:04 +0000 (03:53 +0300)] 
Removed the previous sql indexing project.

Additionally fixed some small errors here and there. Still haven't managed to do maven build or install onto this one, but getting close.

12 years agoForgot to commit change to sandbox-extensions pom.
Stanislav Muhametsin [Tue, 11 May 2010 19:04:29 +0000 (22:04 +0300)] 
Forgot to commit change to sandbox-extensions pom.

12 years agoAdded pom.xml and fixed some typos and other inconsistences.
Stanislav Muhametsin [Tue, 11 May 2010 16:14:45 +0000 (19:14 +0300)] 
Added pom.xml and fixed some typos and other inconsistences.

I should probably add some resource-directory to tests, but don't have time for that right now.

12 years agoInitial import of the SQL Indexing extension: store entities in RDBMS and also be...
Stanislav Muhametsin [Tue, 11 May 2010 02:27:40 +0000 (05:27 +0300)] 
Initial import of the SQL Indexing extension: store entities in RDBMS and also be able to perform Qi4j queries on them.

This is initial commit of SQL Indexing extension, which introduces indexing entities in Qi4j-queryable format in relational database world. It's internal code structure is not as pretty and Qi4j-ish as I would like it to be, but hopefully that will get fixed. I see that some kind of sql-indexing already exists in sandbox - hopefully I get time to properly examine it and see if same Qi4j-ish principles could be applied to this one.

Currently all tests (in AbstractQueryTest and AbstractEntityFinderTest) which test the implemented feature, pass. Additionally, script23 and script29 (two ignored tests) of AbstractQueryTest also pass.

Few main principles of this current version:
1. I've used as portable and standard SQL as possible.
2. Only one schema is used
3. There are few fixed tables in that schema, containing some information common for all entities, and some lookup tables (eg, for value composite types).
4. Each property, association, and many-association, which somehow can be within an entity, is in its own table. These tables are currently named as qname_<number>. Basically, each QualifiedName which can be within Entity (ie, directly accessible or via ValueComposite), is a own separate table. So the amount of additional tables in schema is totally dependent on structure of your application, namely the structure of entities and any value composites used in entities.
5. Current implementation always drops the used schema from database on application startup, so the indexing is not really persistent in that sense. This is done purely from developer reasons - that way it is easy to verify what data exactly has been inserted and removed since the start of application. If you want to disable such behaviour, please comment line 358 in org/qi4j/index/sql/startup/SQLStartup.java ("stmt.execute("DROP SCHEMA " + this._state.schemaName().get() + " CASCADE;");").

Todos/Issues:
1. As a direct consequence of feature in 4., the algorithm to sync application structure with database structure should be implemented. One viable way that springs onto my mind right now is to compare application version of stored entities to application version of executing Qi4j application, and if it varies, drop all tables (except the one holding common data for all entities) and re-construct the lookup and qname_<number> tables, and then re-populate them with all the entities. This requires that actual entity data is stored in separate EntityStore (which, maybe in future, could be RDBEntityStore storing JSONized entity states into a single table?)
2. I am not sure how Qi4j interprets negative values of firstResult and maxResults in findEntities(...) method. JDBC has its own meaning for negative values in ResultSet.absolute(...) method. This is just something that needs to be decided and documented.
3. The implementations for MatchesPredicate, ContainsPredicate and ContainsAllPredicate are currently not written. The latter two are just a matter of SQL-syntactical deep analysis, the first one is not really part of SQL standard (I think), and thus the exacty SQL syntax for it probably varies from one vendor to another.
4. Named queries, variable value expressions, support for BigDecimal/BigInteger, you name it...
5. Creation of indices to database - this should greatly improve possibly slow performance
6. Possibly re-thinking database table structure - could it be possible to store all associations in a single table? All many-associations? Properties probably can't be stored in one single table, but maybe use one table for one mixin? Not sure if this is viable - the joins for each traversed association and property still would need to be done, only the tables would be bigger.

12 years agoAdded X509 support
Paul MERLIN [Sun, 28 Mar 2010 16:14:14 +0000 (18:14 +0200)] 
Added X509 support

Fully implemented in qi4j-shiro-lib so we have it.
Need to be extracted and contributed back to shiro now.
Fully demonstrated with unit tests.

12 years agoshiro: reworked http unit tests to make them more readable
Paul MERLIN [Sat, 27 Mar 2010 19:09:01 +0000 (20:09 +0100)] 
shiro: reworked http unit tests to make them more readable

12 years agolibraries: added servlet and shiro modules
Paul MERLIN [Thu, 25 Mar 2010 09:13:07 +0000 (10:13 +0100)] 
libraries: added servlet and shiro modules

12 years agoextensions: removed the coherence module from the extensions pom because it fails...
Paul MERLIN [Thu, 25 Mar 2010 09:12:52 +0000 (10:12 +0100)] 
extensions: removed the coherence module from the extensions pom because it fails complaining that the coherence dependency cannot be found on any repository

12 years agoservlet & shiro: added http servlet support
Paul MERLIN [Wed, 24 Mar 2010 00:06:29 +0000 (01:06 +0100)] 
servlet & shiro: added http servlet support

* Qi4jServlet works
* added Qi4jFilter
* ShiroServletFilter works
* unit test demonstrating http basic auth in a webapp
* finer logging during unit tests
* packages rename

12 years agoservlet: code quality cleanup
Paul MERLIN [Sun, 21 Mar 2010 12:17:51 +0000 (13:17 +0100)] 
servlet: code quality cleanup

12 years agoservlet: pom cleanup
Paul MERLIN [Sat, 20 Mar 2010 17:42:54 +0000 (18:42 +0100)] 
servlet: pom cleanup