Crossword clues for persist
persist
Longman Dictionary of Contemporary English
The Collaborative International Dictionary
Persist \Per*sist"\, v. i. [imp. & p. p. Persisted; p. pr. & vb. n. Persisting.] [L. persistere; per + sistere to stand or be fixed, fr. stare to stand: cf. F. persister. See Per-, and Stand.] To stand firm; to be fixed and unmoved; to stay; to continue steadfastly; especially, to continue fixed in a course of conduct against opposing motives; to persevere; -- sometimes conveying an unfavorable notion, as of doggedness or obstinacy.
If they persist in pointing their batteries against
particular persons, no laws of war forbid the making
reprisals.
--Addison.
Some positive, persisting fops we know,
Who, if once wrong, will needs be always so.
--Pope.
That face persists.
It floats up; it turns over in my mind.
--Mrs.
Browning.
Syn: See Persevere, and Insist.
Douglas Harper's Etymology Dictionary
Wiktionary
vb. 1 (context intransitive English) To go on stubbornly or resolutely. 2 (context intransitive English) To repeat an utterance. 3 (context intransitive English) To continue to exist. 4 (context computing transitive English) To cause to persist; make permanent.
WordNet
v. continue to exist; "These stories die hard"; "The legend of Elvis endures" [syn: prevail, die hard, run, endure]
be persistent, refuse to stop; "he persisted to call me every night"; "The child persisted and kept asking questions" [syn: persevere, hang in, hang on, hold on]
stay behind; "The smell stayed in the room"; "The hostility remained long after they made up" [syn: remain, stay]
Wikipedia
Persist is a Java-based ORM/ DAO tool. It provides only the minimal amount of functionalities necessary to map objects or maps from database queries and to statement parameters.
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 ORM/ DAO tool).
Persist does not require explicit mappings from POJOs 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.
Persist supports several different mapping strategies:
POJOs mapped to tables
By default, if no annotations specify a given class should not be mapped to a table, Persist will try to find a table that matches that class and create a mapping between fields and columns.
// inserts a new customer (the class Customer is mapped to the table customer automatically)
persist.insert(customer);
// reads a customer by its primary key
Customer c = persist.readByPrimaryKey(Customer.class, 42);
// retrieves customers using a custom query (note the usage of varargs)
List list = persist.readList(Customer.class, "select * from customer where id > ?", 10);
// fetch all customers and assign the ResultSet to an Iterator
Iterator allCustomersIterator = persist.readIterator(Customer.class, "select * from customer");
POJOs not mapped to tables
If a class is annotated with @NoTable, Persist will not try to map it to a table, and the class will only be able to hold data produced by queries.
@NoTable
class QueryData {
private int count;
private String concatName;
public long getCount { return count; }
public void setCount(long count) { this.count = count; }
public String getConcatName { return concatName; }
public void setConcatName(String concatName) { this.concatName = concatName; }
}
QueryData qd1 = persist.read(QueryData.class, "select 1 as count, 'hello' as concat_name from dual");
java.util.Map's
Map's can be used to hold data from queries. Persist will convert values returned from the query to Java types. Keys in the table are the names of the columns returned in lower case.
// fetch a customer using a custom query and return the result as a map
Map customerMap = persist.readMap("select * from customer where id=?", 10);
// fetch all customers and result the results as Map instances in a List
List> customerMapList = persist.readMapList("select * from customer");
// fetch all customers and assign the ResultSet to an Iterator which maps rows to Map instances
Iterator allCustomersIterator = persist.readMapIterator("select * from customer");
Java primitive types
If a query returns a single column, Persist can map data directly into primitive types (either single values or lists):
// return customer name as String
String name = persist.read(String.class, "select name from customer where id=?", 55);
// fetch all customer id's as a list of integers
List ids = persist.readList(Integer.class, "select id from customer");
Custom queries with no returning data
Arbitrary queries that return no data can be easily executed.
// execute arbitrary SQL with parameters
persist.executeUpdate("delete from customer where id in ", 10, 20);
Usage examples of "persist".
Nestorius, who depended on the near approach of his Eastern friends, persisted, like his predecessor Chrysostom, to disclaim the jurisdiction, and to disobey the summons, of his enemies: they hastened his trial, and his accuser presided in the seat of judgment.
Repetitive touching of the body surface results in a decrease in the amplitude and probability of withdrawal of the gill and siphon, a decrease which can persist for weeks.
The bedin held me still without effort, his fingers twisting whatever he had put into me, the object persisting in its mild burning sensation.
I ought to imitate the gods, those noblest disposers of all events, who begin to bestow their benefits on those who know them not, and persist in bestowing them on those who are ungrateful for them.
If the Boers persisted in these sieges they could not possibly place more than 20,000 men on the Orange River to face 60, 000 whom Buller could have had there by the first week in December.
Your letter has made me completely unhappy, and I shall not resist my despair if you persist in the cruel resolve expressed by your unfeeling letter.
They persisted in the design of maintaining the dignity of the empire, without attempting to enlarge its limits.
He persisted in the wise resolution of maintaining a balance of power in the divided empire, and he no longer hated Galerius, when that aspiring prince had ceased to be an object of terror.
Unable to remain passive as he persisted in his engrossing oral ministrations, her hands pressured his bead toward the yearning hole that screamed for him.
Mother Church to purge of misbeliefs than are the cities, so the Old Religion has persisted longest among the countryfolk.
Both maps represent pitch modulo octaves, both have an activation of neurons that persists after the occurrence of the relevant pitch, and both have mutual reinforcement between consonantly related notes and mutual inhibition between notes not consonantly related.
Sparta, and in culture and habits, the old Spartan mores persisted still.
Nevertheless, the princes persisted in their design, notwithstanding a dearth of provisions, and the approach of winter, till the latter end of November, when the chevalier de Soto entered the place with six hundred fresh men.
It may be an overvalued condition in most expendable slaves, but I need yours to persist awhile longer.
Then later Paul Bunyan, the distant descendant of these panspermic Archaea, came back to Mars to find it cold and ostensibly empty, though some of the old ones still persisted, golluming around in various submartian volcanic percolations.