public boolean hasSamePackageOfSchema ( ) { String packageName = getPackageName ( ) ; String schemaPackageName = getParent ( ) . getPackageName ( ) ; return packageName . equals ( schemaPackageName ) ; }
Returns true if dao and schema stay in same package