Tabnine Logo
ClassObjectFormatter
Code IndexAdd Tabnine to your IDE (free)

How to use
ClassObjectFormatter
in
org.hibernate.ogm.util.impl

Best Java code snippets using org.hibernate.ogm.util.impl.ClassObjectFormatter (Showing top 20 results out of 315)

origin: hibernate/hibernate-ogm

@Override
public final void useDatastoreProvider(final Class<?> arg0) {
  super.log.logf(FQCN, INFO, null, useDatastoreProvider$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0));
}
private static final String useDatastoreProvider = "OGM000016: NoSQL Datastore provider: %1$s";
origin: hibernate/hibernate-ogm

@Override
public final void dialectDoesNotSupportSequences(final Class<?> arg0, final String arg1) {
  super.log.logf(FQCN, WARN, null, dialectDoesNotSupportSequences$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0), arg1);
}
private static final String dialectDoesNotSupportSequences = "OGM000060: Sequence id generator used for entity '%2$s' is not supported by grid dialect %1$s, falling back to table-based id generation. Consider to use @TableGenerator rather than @SequenceGenerator.";
origin: hibernate/hibernate-ogm

@Override
public final void useDatastoreProvider(final Class<?> arg0) {
  super.log.logf(FQCN, INFO, null, useDatastoreProvider$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0));
}
private static final String useDatastoreProvider = "OGM000016: NoSQL Datastore provider: %1$s";
origin: hibernate/hibernate-ogm

@Override
public final void useGridDialect(final Class<?> arg0) {
  super.log.logf(FQCN, INFO, null, useGridDialect$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0));
}
private static final String useGridDialect = "OGM000017: Grid Dialect: %1$s";
origin: hibernate/hibernate-ogm

@Override
public final void useDatastoreProvider(final Class<?> arg0) {
  super.log.logf(FQCN, INFO, null, useDatastoreProvider$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0));
}
private static final String useDatastoreProvider = "OGM000016: NoSQL Datastore provider: %1$s";
origin: org.hibernate.ogm/hibernate-ogm-mongodb

@Override
public final void useDatastoreProvider(final Class<?> arg0) {
  super.log.logf(FQCN, INFO, null, useDatastoreProvider$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0));
}
private static final String useDatastoreProvider = "OGM000016: NoSQL Datastore provider: %1$s";
origin: org.hibernate.ogm/hibernate-ogm-mongodb

@Override
public final void dialectDoesNotSupportSequences(final Class<?> arg0, final String arg1) {
  super.log.logf(FQCN, WARN, null, dialectDoesNotSupportSequences$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0), arg1);
}
private static final String dialectDoesNotSupportSequences = "OGM000060: Sequence id generator used for entity '%2$s' is not supported by grid dialect %1$s, falling back to table-based id generation. Consider to use @TableGenerator rather than @SequenceGenerator.";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unexpectedInstanceType(final String arg0, final String arg1, final Class<?> arg2, final Class<?> arg3) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unexpectedInstanceType$str(), arg0, arg1, new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg2), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg3)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String ambigiousOptionConfiguration = "OGM000047: Either an option configurator may be specified via configuration property '%1$s' or OgmConfiguration#configureOptions() may be called, but not both at the same time.";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unexpectedClassType(final String arg0, final Class<?> arg1, final Class<?> arg2) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unexpectedClassType$str(), arg0, new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg1), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg2)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String unexpectedInstanceType = "OGM000046: Object %2$s of type %3$s specified via configuration property '%1$s' is not of the expected type %4$s";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unexpectedInstanceType(final String propertyName, final String instance, final Class<?> actualClass, final Class<?> expectedClass) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unexpectedInstanceType$str(), propertyName, instance, new ClassObjectFormatter(actualClass), new ClassObjectFormatter(expectedClass)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String ambigiousOptionConfiguration = "OGM000047: Either an option configurator may be specified via configuration property '%1$s' or OgmConfiguration#configureOptions() may be called, but not both at the same time.";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unexpectedDatastoreProvider(final Class<?> arg0, final Class<?> arg1) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unexpectedDatastoreProvider$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg1)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
@Override
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unexpectedDatastoreProvider(final Class<?> found, final Class<?> expected) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unexpectedDatastoreProvider$str(), new ClassObjectFormatter(found), new ClassObjectFormatter(expected)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
@Override
origin: hibernate/hibernate-ogm

@Override
public final PersistenceException cannotFindTypeForAttributeConverter(final Class<?> converted, final Class<?> databaseColumnJavaType) {
  final PersistenceException result = new PersistenceException(String.format(getLoggingLocale(), cannotFindTypeForAttributeConverter$str(), new ClassObjectFormatter(converted), new ClassObjectFormatter(databaseColumnJavaType)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String cannotFindEntityEntryForEntity = "OGM000085: Unable to find an entity entry for the entity '%1$s'";
origin: org.hibernate.ogm/hibernate-ogm-ehcache

public final org.hibernate.HibernateException unableToLoadContext(final java.lang.String arg0, final java.lang.Class arg1, final java.lang.Exception arg2) {
  org.hibernate.HibernateException result = new org.hibernate.HibernateException(java.lang.String.format(unableToLoadContext$str(), arg0, new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg1)), arg2);
  java.lang.StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(java.util.Arrays.copyOfRange(st, 1, st.length));
  return result;
}
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unsupportedLockMode(final Class<? extends org.hibernate.ogm.dialect.spi.GridDialect> arg0, final LockMode arg1) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unsupportedLockMode$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0), arg1));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
@Override
origin: hibernate/hibernate-ogm

@Override
public final HibernateException dialectDoesNotSupportPositionalParametersForStoredProcedures(final Class<?> arg0) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), dialectDoesNotSupportPositionalParametersForStoredProcedures$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String cannotSetStoredProcedureParameter = "OGM000095: Cannot set stored procedure '%s' parameter '%s' with value '%s'.";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException cannotCreateGlobalContextProxy(final Class<?> arg0, final Exception arg1) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), cannotCreateGlobalContextProxy$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0)), arg1);
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String cannotCreateEntityContextProxy = "OGM000038: Unable to create entity context proxy for type %1$s";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException unableToInstantiateType(final Class<?> arg0, final Exception arg1) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), unableToInstantiateType$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0)), arg1);
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String unableToLoadClass = "OGM000044: Cannot load class %2$s specified via configuration property '%1$s'";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException dialectDoesNotSupportPositionalParametersForStoredProcedures(final Class<?> arg0) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), dialectDoesNotSupportPositionalParametersForStoredProcedures$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(arg0)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String cannotSetStoredProcedureParameter = "OGM000095: Cannot set stored procedure '%s' parameter '%s' with value '%s'.";
origin: hibernate/hibernate-ogm

@Override
public final HibernateException dialectDoesNotSupportNamedParametersForStoredProcedures(final Class<?> dialectClass) {
  final HibernateException result = new HibernateException(String.format(getLoggingLocale(), dialectDoesNotSupportNamedParametersForStoredProcedures$str(), new org.hibernate.ogm.util.impl.ClassObjectFormatter(dialectClass)));
  final StackTraceElement[] st = result.getStackTrace();
  result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  return result;
}
private static final String multipleDocumentReturnedByStoredProcedure = "OGM001240: Procedures returning muliple documents are not supported. Procedure '%1$s' returned %2$d results";
org.hibernate.ogm.util.implClassObjectFormatter

Javadoc

Used with JBoss Logging to display class names in log messages.

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Top plugins for Android Studio
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