Skip to main content

2.Faceless Void

trydoforOriginalFacelessHomeLess than 1 minute

2.Faceless Void

faceless_void

Void interface public static void main
a visitor from Claszureme, a realm outside of time.

Data layer (MySql compatible system, such as H2) utility. Support for table and data versioning, strong typesafe sql mapping, rw-split and data sharding.

2.1.Module Project

  • faceless - Data access utilty: locker, typesafe, enum and i18n
  • faceless-flywave - Schema and data versioning
  • faceless-jooq - Data access via Jooq
  • faceless-jooqggen - jooq code generator
  • faceless-shard - shardingsphere's rw-split, sharding
  • faceless-test - testing utilty and config

2.2.Distributed Id (LightId)

Unlike other distributed Id solutions, eg. snowflake, LightId provides CRC8 pseudo-random encoding. See pro.fessioinal.miranaopen in new window project.

The default implementation of LightId is JDBC based. the autogen code by jooq implements LightIdAware and can be used to get LightId. See the implementation of LightIdService for details.

2.3.Enum and I18n in Database

Revision 2019_0521_01 defines the enum and i18n tables for business-level codes, such as status. use ConstantEnumGenerate to autogen java code to keep the Db and java enum consistent.

CombinableMessageSource can dynamically handle the i18n messages within service.

2.3.More Sections