Skip to content

Instantly share code, notes, and snippets.

View freakynit's full-sized avatar

Nitin Bansal freakynit

View GitHub Profile
public class Temp extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
wv = (WebView) findViewById(R.id.webView1);
wv.getSettings().setJavaScriptEnabled(true);
// register class containing methods to be exposed to JavaScript
WARN 30-10-2014 19:06:17 [resin-port-80-37@tnusvTpwWUP36fcq4fhA-5-1-iLhs] (JDBCExceptionReporter.java:100) - SQL Error: 1064, SQLState: 42000
ERROR 30-10-2014 19:06:17 [resin-port-80-37@tnusvTpwWUP36fcq4fhA-5-1-iLhs] (JDBCExceptionReporter.java:101) - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order=22, creation_tstamp='2014-10-17 16:35:29' where id=24' at line 1
ERROR 30-10-2014 19:06:17 [resin-port-80-37@tnusvTpwWUP36fcq4fhA-5-1-iLhs] (AbstractFlushingEventListener.java:324) - Could not synchronize database state with session
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266
modal-box
=========
simple modal-box
Basic Usage:
------------
MODAL.init();
MODAL.show("Saving...");
MODAL.hide();