congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RollbackImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
RollbackImpl
in
com.nhaarman.sqlitebuilder.impl

Best Java code snippets using com.nhaarman.sqlitebuilder.impl.RollbackImpl (Showing top 6 results out of 315)

origin: nhaarman/SQLiteBuilder

@NotNull
public static Rollback rollback() {
 return new RollbackImpl();
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void to_savePointName_returnsNotNullvalue() {
  /* Given */
  RollbackImpl rollback = new RollbackImpl();

  /* When */
  SqlPart result = rollback.to("savePointName");

  /* Then */
  assertThat(result, is(notNullValue()));
 }
}
origin: nhaarman/SQLiteBuilder

@Test
public void previous_returnsNull() {
 /* Given */
 RollbackImpl rollback = new RollbackImpl();
 /* When */
 SqlPart result = rollback.previous();
 /* Then */
 assertThat(result, is(nullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void transaction_returnsNotNullvalue() {
 /* Given */
 RollbackImpl rollback = new RollbackImpl();
 /* When */
 SqlPart result = rollback.transaction();
 /* Then */
 assertThat(result, is(notNullValue()));
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_prependsProperSql() {
 /* Given */
 RollbackImpl rollback = new RollbackImpl();
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 rollback.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("ROLLBACK"));
}
origin: nhaarman/SQLiteBuilder

@Test
public void to_returnsNotNullvalue() {
 /* Given */
 RollbackImpl rollback = new RollbackImpl();
 /* When */
 SqlPart result = rollback.to();
 /* Then */
 assertThat(result, is(notNullValue()));
}
com.nhaarman.sqlitebuilder.implRollbackImpl

Most used methods

  • <init>
  • prependTo
  • previous
  • to
  • transaction

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • Menu (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now