Easy Java Persistence (EJP) is an easily annotated and freely configurable persistent Java API with automatic object/relational mappings (A-O/RM), http://www.aliyun.com/zixun/aggregation/ 18860.html "" To automatically handle all association and persistence tracking functions.
Easy Java Persistence 2.8 This version permanently deletes the license limit and the algorithm for changing the license.
EJP Code Demonstration:
public static void Main (string] args) {//One of many ways to connect to your database Databasemanager dbm = database Manager.getdatabasemanager ("Com.mysql.jdbc.Driver", "Jdbc:mysql://loc Alhost/ejp_example "); Dbm.saveobject (New Customer ("Smith", "John")); Customer customer; if (Customer = Dbm.loadobject (New customer ("Smith"))!= null) {Customer.getsupport (). Add (New Support (...)); Dbm.saveobject (customer); } collection<customer> list = Dbm.loadobjects (new arraylist<customer> (), customer.class); ... }
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.