Releases: automvc/honey
V2.4.0
Bee V1.11
V1.11(International Labour Day)
Detail:
V1.11.0.1.1(2022 New Year)
SuidRich add method:
public long insertAndReturnId(T entity,IncludeType includeType);
PreparedSql add method:
public List select(String sql,T returnType);
add annotation PrimaryKey
MapSqlKey support PrimaryKey
BF is shortcut for BeeFactoryHelper
Enhance:config info add trim() about multi-DataSource Write/Read
fix a bug for naming transfer
V1.11.0.2.1(2022 Spring Festival)
add function: Interceptor、multi-tenant
add Interceptor,InterceptorChain
add DefaultInterceptor,CommInterceptorChain,DefaultInterceptorChain
V1.11.0.2.4(2022 Beijing Winter Olympics)
level tow ext cache support
Redis cache support
add BeeExtCache,DefaultBeeExtCache
add BeeExtRedisCache
V1.11.0.2.15(2022 the Lantern Festival)
add annotation:Datetime,Createtime,Updatetime;JustFetch
add support Jndi DataSource
check MapSqlKey value
V1.11.0.2.20(Honor)
Optimize use different Database Type at same time(multi-Ds)
Support use differnt type Database at the same time(eg:use Mysql,Oracle,SQL Server at same time)
PreparedSql,MapSuid support Interceptor
Suid,PreparedSql,MapSuid support get DataSource,get InterceptorChain
Suid,PreparedSql,MapSuid,MoreTable add method:setDataSourceName,getDataSourceName,getInterceptorChain
add Annotation:
AnnotationHandler,AutoSetString
Desensitize
ReplaceInto,MySQL replace into
MultiTenancy
BeforeReturnAnnotationHandler,AbstractDictI18nDefaultHandler
Dict
DictI18n
V1.11.0.2.28 (Special Day)
add ShardingStruct prepare for sharding.
add Column annotation support to extend mapping column and Javabean field name.
support custom TypeHandler,and process the ResultSet.
PreparedSql custom sql support more table select,and return more table struct Javabean.
fixed bug:
More table self association query of the same entity forbid multi-self-cycles
V1.11.0.3.8 (Lady First)
add SetParaTypeConvert for convert PreparedStatement parameter.
Javabean use java.util.Date type for SUID compatibility processing.
SQLite get the timestamp result for conversion.
The Json field of DB is automatically converted to the attribute marked with Json annotation of Javabean(Javabean structure corresponding to Json).
V1.11.0.3.12 (Tree Planting Day)
Ddl.java uses Javabean to create tables, supports the mapping between Java and DB field types, and supports the setting java_dbtype mapping.
Ddl.java is compatible with raw char type and java.util.Date.
PreparedSql support batch insert.
Support Suid instance set NameTranslate.
Add DbFeature Registry,it is easy for setting custom database dialect.
Support Cassandra.
V1.11.0.3.20 (Spring Equinox)
add Custom dynamic SQL token,@in,@toIsNULL1,@toIsNULL2,,.
dynamic SQL list transfer list to SQL in eg:in (1,2,3),no need foreach;batch insert also no need foreach.
Separate CN and EN API.
V1.11.0.4.22 (The World Earth Day)
Add registry interface; Add nameregistry.
Change serializer throws exceptions type.
Mapsuid and mapsql support parsing string to boolean type.
Genbean, which does not support JDBC type, reminds you which file to set;
Genbean support config where override the old file;
Genbean support gen javabean's field file;
SuidRich's method selectString support variable-length arguments:
public List<String[]> selectString(T entity,String... selectFields);
CommInterceptorChain check whether add same class. SystemLogger supports setting log level to facilitate development and debugging.
The logger add method: public static void debug (string MSG, throwable T) (convenient for development and debugging).
Nocache add log prompt.
Improve cache security.
Add preload SPI interface Preload.
Add InterceptorChainRegistry, an interceptor registrar for global use.
Add configuration item:
pagingWithLimitOffset
notCatchModifyDuplicateException
notShowModifyDuplicateException
fixed bug for type converter.
fixed bug about @PrimaryKey in Suid update(entity).
V1.11.0.4.29
The configuration file supports multi-environment differentiated configuration.
SuidRich,public int update(T oldEntity, T newEntity) Interceptors only handle newEntity.
Enhance support for H2,SQLite,PostgreSQL;Enhance paging funtion.
v1.8.15(2020-10-01 3Festivals)
1.Enhance support for H2,SQLite,PostgreSQL.
2.Enhance page funtion,paging para also use placeholder.
3.Can be used in zero configuration.
4.Enhance PearFlowerId algorithm that it will produce even number with continuous mantissa of 0 when is often not used (there are no such defect in SerialUniqueId and OneTimeSnowflakeId).
5.Enhance Log function.
6.Fixed json transform bug.
bee V1.8 Add Distributed Feature
Add Distributed Feature:
1.Add multi-DataSource support(Write/Read, only Split Database).
add multi-DataSource no need change the Java code.
add the route interface of multi-Datasource.
add multi-DataSource route.
add multi-DataSource config.
support refresh multi-DataSource config information.
2.Generate global unique id number in distributed environment.
3.Generate Serial Unique id number in one workid of distributed environment.
Independent clock,workerid can config and easily expand.
Implement algorithms:SerialUniqueId,OneTimeSnowflakeId,PearFlowerId.
Support GenId Factory,and can config the id generator.
4.Gen Serial Unique Id for all Table's Long Id field as primary key.
Enhance Function:
5.The same database sub table support, dynamic table name mapping support.
Entity and any table name mapping support.
...
12. ....
V1.7.2 More enhance.
V1.7.2
support set the default naming translate type by config.
enhance function of BeeFactory.
adjust the format of SQL log.
support set the date format by config.
move test/example to new project bee-exam.
add class FileLogger for write the log in file.
support control print log level or not by config.
enhance test case/example.
support generate the file according to template.
add method delete(T entity, Condition condition) in Suid.
support setting not allowed delete whole records in one table while Object Oriented way.
SuidRich add 2 methods:
updateBy(T entity,String whereFields,Condition condition)
update(T entity,String updateFields,Condition condition)
add nocache config support.
add method setAdd,setMultiply in Condition for set value in SQL update.
more tables select oriented object support
more tables select oriented object support;
fixed bug;
more easy use.
V1.6.1 The customed SQL support start & size paging parameters
PreparedSql add start & size paging parameters in relative methods.The customed SQL statement does not need paging part, so it is more portable.
自定义sql通过参数添加分页功能,自定义的sql语句中不用带分页部分,移植性更高。
V1.6.0 Support complicated select oriented object.
Add complicated select oriented object: select(T entity,Condition condition). Support to use between、like、in、>、>=、<、<=、group by、having、order by、paging at same time.
(v1.5)add NameTranslate interface and default implement class,support customize translation rule of DB and Java naming.
Honey v1.4.23
V1.0
Single entity(table) Suid (select,update,insert,delete) object-oriented operation.
Automatically generate the Javabean via DB table or view(MySQL,MariaDB).
Convention-over-configuration:Javabean no annotation,no xml.
Automatically mapping the table column and the Javabean field.
Javabean support the raw type:int,double,and so on.
PreparedStatement support.
Procedure support.
Native SQL support.
Batch operate support.
Transaction support.
Automatic filter the null and empty field for default.
MAX,MIN,SUM,AVG,COUNT support.
Order by,Paging.
Select some field.
Dynamic & random combination of query conditions,no need to prepare the interface in advance; new query requirements, no need to change the query interface.
All Suid(select,update,insert,delete) operation use the same Bee interface,no longer need any new dao interface.
Users/Developer only need to pay attention to the Bee interface.
V1.1
Json format Result support.
Procedure(Query type) support.
V1.2
Customer sql support #{para} placeholder,eg:name=#{name}; like keyword support:#{%para%},#{%para},#{para%}
V1.3
Add: chain programming(select&update)
V1.4
Add: selectById,deleteById