public void loadSubclasses(JDBCStore store) throws SQLException, ClassNotFoundException { disc.getClassMapping().getPCSuperclassMapping(). getDiscriminator().loadSubclasses(store); disc.setSubclassesLoaded(true); }
public void loadSubclasses(JDBCStore store) throws SQLException, ClassNotFoundException { disc.getClassMapping().getPCSuperclassMapping(). getDiscriminator().loadSubclasses(store); disc.setSubclassesLoaded(true); }
public void loadSubclasses(JDBCStore store) throws SQLException, ClassNotFoundException { disc.getClassMapping().getPCSuperclassMapping(). getDiscriminator().loadSubclasses(store); disc.setSubclassesLoaded(true); }
public void loadSubclasses(JDBCStore store) throws SQLException, ClassNotFoundException { disc.getClassMapping().getPCSuperclassMapping(). getDiscriminator().loadSubclasses(store); disc.setSubclassesLoaded(true); }
public void loadSubclasses(JDBCStore store) throws SQLException, ClassNotFoundException { disc.getClassMapping().getPCSuperclassMapping(). getDiscriminator().loadSubclasses(store); disc.setSubclassesLoaded(true); }
/** * Makes sure all subclasses of the given type are loaded in the JVM. * This is usually done automatically. */ public void loadSubclasses(ClassMapping mapping) { Discriminator dsc = mapping.getDiscriminator(); if (dsc.getSubclassesLoaded()) return; // if the subclass list is set, no need to load subs if (mapping.getRepository().getPersistentTypeNames(false, _ctx.getClassLoader()) != null) { dsc.setSubclassesLoaded(true); return; } try { dsc.loadSubclasses(this); } catch (ClassNotFoundException cnfe) { throw new StoreException(cnfe); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } }
/** * Makes sure all subclasses of the given type are loaded in the JVM. * This is usually done automatically. */ public void loadSubclasses(ClassMapping mapping) { Discriminator dsc = mapping.getDiscriminator(); if (dsc.getSubclassesLoaded()) return; // if the subclass list is set, no need to load subs if (mapping.getRepository().getPersistentTypeNames(false, _ctx.getClassLoader()) != null) { dsc.setSubclassesLoaded(true); return; } try { dsc.loadSubclasses(this); } catch (ClassNotFoundException cnfe) { throw new StoreException(cnfe); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } }
/** * Makes sure all subclasses of the given type are loaded in the JVM. * This is usually done automatically. */ public void loadSubclasses(ClassMapping mapping) { Discriminator dsc = mapping.getDiscriminator(); if (dsc.getSubclassesLoaded()) return; // if the subclass list is set, no need to load subs if (mapping.getRepository().getPersistentTypeNames(false, _ctx.getClassLoader()) != null) { dsc.setSubclassesLoaded(true); return; } try { dsc.loadSubclasses(this); } catch (ClassNotFoundException cnfe) { throw new StoreException(cnfe); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } }
/** * Makes sure all subclasses of the given type are loaded in the JVM. * This is usually done automatically. */ public void loadSubclasses(ClassMapping mapping) { Discriminator dsc = mapping.getDiscriminator(); if (dsc.getSubclassesLoaded()) return; // if the subclass list is set, no need to load subs if (mapping.getRepository().getPersistentTypeNames(false, _ctx.getClassLoader()) != null) { dsc.setSubclassesLoaded(true); return; } try { dsc.loadSubclasses(this); } catch (ClassNotFoundException cnfe) { throw new StoreException(cnfe); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } }
/** * Makes sure all subclasses of the given type are loaded in the JVM. * This is usually done automatically. */ public void loadSubclasses(ClassMapping mapping) { Discriminator dsc = mapping.getDiscriminator(); if (dsc.getSubclassesLoaded()) return; // if the subclass list is set, no need to load subs if (mapping.getRepository().getPersistentTypeNames(false, _ctx.getClassLoader()) != null) { dsc.setSubclassesLoaded(true); return; } try { dsc.loadSubclasses(this); } catch (ClassNotFoundException cnfe) { throw new StoreException(cnfe); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } }