We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在一个DB中,随着数据量不断增长,需要将老的数据移到历史表中。 如,订单表orders,将5月,6月数据移到 orders_202005,orders_202006,结构与表orders一样。 如何用同一javabean,同时映射多个数据表? API如何设计才能使用更加方便?
欢迎把你的好想法留下!
The text was updated successfully, but these errors were encountered:
example:
` Suid suid=BeeFactory.getHoneyFactory().getSuid();
// @table("Orders_${month}") // public class Orders
Orders orders=new Orders(); suid.setDynamicParameter("month", "202007").select(orders);
// @entity("LeafAlloc${version}")
LeafAlloc leafAlloc=new LeafAlloc(); List<LeafAlloc> list1=suid.setDynamicParameter("version", "2").select(leafAlloc); suid.setDynamicParameter("version", "2"); List<LeafAlloc> list2=suid.select(leafAlloc);
`
Sorry, something went wrong.
No branches or pull requests
在一个DB中,随着数据量不断增长,需要将老的数据移到历史表中。
如,订单表orders,将5月,6月数据移到 orders_202005,orders_202006,结构与表orders一样。
如何用同一javabean,同时映射多个数据表?
API如何设计才能使用更加方便?
欢迎把你的好想法留下!
The text was updated successfully, but these errors were encountered: