public void execute() {
Session s = getFactory().openSession();
Transaction t = s.beginTransaction();
EntityWithOneToOnes root = new EntityWithOneToOnes( "root" );
OneToOneProxy oneToOneProxy = new OneToOneProxy( "oneToOneProxy" );
root.setOneToOneProxy( oneToOneProxy );
oneToOneProxy.setEntity( root );
OneToOneNoProxy oneToOneNoProxy = new OneToOneNoProxy( "oneToOneNoProxy" );
root.setOneToOneNoProxy( oneToOneNoProxy );
oneToOneNoProxy.setEntity( root );
s.save( root );