
inmemory.create_entity_manager.xslt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orm Show documentation
Show all versions of orm Show documentation
Jinq legacy ORM for generating entity classes from XML
The newest version!
package ;
import ch.epfl.labos.iu.orm.DBSet;
public class EntityManager
{
DBManager db;
public EntityManager(DBManager db)
{
this.db = db;
}
}
// TODO: add plural forms of entity names
DBSet< > = new LazySet< >();
public DBSet< > all ()
{
return ;
}
// TODO: Think about this! You essentially lose garbage collection is all things are automatically kept this way
void newInstance( obj)
{
.add(obj);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy