db = getOObjectDatabaseTx();
db.getEntityManager().registerEntityClasses("com.sport.server.model");
db.getMetadata().getSchema().synchronizeSchema();This is how I am calling it initially then to get the connection I call: db = OObjectDatabasePool.global().acquire(PropertiesManager.getInstance().getProperty(ENDPOINT_URL), PropertiesManager.getInstance().getProperty(DB_USERNAME), PropertiesManager.getInstance().getProperty(DB_PASSWORD)); On Monday, January 26, 2015 at 12:22:53 PM UTC+4, Luigi Dell'Aquila wrote: > > Hi Kareem, > > how are you creating your documents? Do you have schema defined on your > classes? > > Luigi > > > 2015-01-25 20:39 GMT+01:00 Kareem Jabr <[email protected] <javascript:>>: > >> Just found out that the saved embedded object is there in the >> Account.person property... But not as a record in the Person table. How >> to make it a separate record in Person table? >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
