use of org.jboss.tools.hibernate.runtime.spi.ITable in project jbosstools-hibernate by jbosstools.
the class ServiceImpl method newTable.
@Override
public ITable newTable(String name) {
Table target = new Table(name);
target.setPrimaryKey(new PrimaryKey());
return facadeFactory.createTable(target);
}
use of org.jboss.tools.hibernate.runtime.spi.ITable in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeImpl method initializeTableMappings.
@Override
protected void initializeTableMappings() {
HashSet<ITable> tableMappings = new HashSet<ITable>();
Iterator<Table> origin = getMetadata().collectTableMappings().iterator();
while (origin.hasNext()) {
ITable table = getFacadeFactory().createTable(origin.next());
tableMappings.add(table);
}
setTableMappings(tableMappings);
}
use of org.jboss.tools.hibernate.runtime.spi.ITable in project jbosstools-hibernate by jbosstools.
the class ServiceImpl method newTable.
@Override
public ITable newTable(String name) {
Table target = new Table(name);
target.setPrimaryKey(new PrimaryKey(target));
return facadeFactory.createTable(target);
}
use of org.jboss.tools.hibernate.runtime.spi.ITable in project jbosstools-hibernate by jbosstools.
the class ConfigurationFacadeImpl method initializeTableMappings.
@Override
protected void initializeTableMappings() {
HashSet<ITable> tableMappings = new HashSet<ITable>();
Iterator<Table> origin = getMetadata().collectTableMappings().iterator();
while (origin.hasNext()) {
ITable table = getFacadeFactory().createTable(origin.next());
tableMappings.add(table);
}
setTableMappings(tableMappings);
}
use of org.jboss.tools.hibernate.runtime.spi.ITable in project jbosstools-hibernate by jbosstools.
the class ServiceImpl method newTable.
@Override
public ITable newTable(String name) {
Table target = new Table(name);
target.setPrimaryKey(new PrimaryKey());
return facadeFactory.createTable(target);
}
Aggregations