use of org.hibernate.console.KnownConfigurations in project jbosstools-hibernate by jbosstools.
the class OrmLabelProvider method getConsoleConfig.
protected ConsoleConfiguration getConsoleConfig() {
final KnownConfigurations knownConfigurations = KnownConfigurations.getInstance();
ConsoleConfiguration consoleConfig = knownConfigurations.find(consoleConfigName);
return consoleConfig;
}
use of org.hibernate.console.KnownConfigurations in project jbosstools-hibernate by jbosstools.
the class BaseTestSetCase method getConsoleConfig.
public ConsoleConfiguration getConsoleConfig() {
KnownConfigurations knownConfigurations = KnownConfigurations.getInstance();
final ConsoleConfiguration consCFG = knownConfigurations.find(consoleConfigName);
assertNotNull(consCFG);
return consCFG;
}
use of org.hibernate.console.KnownConfigurations in project jbosstools-hibernate by jbosstools.
the class ConsoleConfigUtils method deleteConsoleConfig.
/**
* Delete console configuration with given name.
* @param name
*/
public static void deleteConsoleConfig(String name) {
final KnownConfigurations knownConfigurations = KnownConfigurations.getInstance();
final ConsoleConfiguration consoleConfig = knownConfigurations.find(name);
if (consoleConfig != null) {
consoleConfig.reset();
}
knownConfigurations.removeConfiguration(consoleConfig, false);
}
use of org.hibernate.console.KnownConfigurations in project jbosstools-hibernate by jbosstools.
the class CoreMappingTestHelper method getConsoleConfig.
private ConsoleConfiguration getConsoleConfig() {
KnownConfigurations knownConfigurations = KnownConfigurations.getInstance();
String consoleConfigName = testProject.getIProject().getName();
final ConsoleConfiguration consCFG = knownConfigurations.find(consoleConfigName);
Assert.assertNotNull(consCFG);
return consCFG;
}
use of org.hibernate.console.KnownConfigurations in project jbosstools-hibernate by jbosstools.
the class MappingTestHelper method getConsoleConfig.
private ConsoleConfiguration getConsoleConfig() {
KnownConfigurations knownConfigurations = KnownConfigurations.getInstance();
String consoleConfigName = testProject.getIProject().getName();
final ConsoleConfiguration consCFG = knownConfigurations.find(consoleConfigName);
Assert.assertNotNull(consCFG);
return consCFG;
}
Aggregations