Content deleted Content added
m Reverted 1 edit by 69.66.56.89 identified as vandalism to last revision by Rufiao. using TW |
m Standard headings &/or gen fixes. using AWB |
||
Line 13:
}}
Persist is a [[
Persist works around a java.sql.Connection object. This means that it does not care about customer query languages (it uses plain [[SQL]] with placeholders, as PreparedStatement objects use), connection pool handling, transaction handling (for the most part), and so on. This also means it is very flexible, and can be integrated with any code that depends on [[JDBC]] (including code that already use another [[Object-
Persist does not require explicit mappings from [[POJO]]s to database tables. As long as there is some sort of naming conventions that relate database names with [[POJO]] names, Persist will require virtually no mappings. It can, however, be instructed to map Java classes and fields to database tables and columns using annotations.
Line 85:
persist.executeUpdate("delete from customer where id in (?,?)", 10, 20);
==
*[[
*[[
==External links ==
*[http://code.google.com/p/persist/ Persist @ Google Code]
[[Category:Computer languages]]
|