1 30 package com.genimen.djeneric.repository.rdbmsdirect; 31 32 import com.genimen.djeneric.repository.DjExtent; 33 import com.genimen.djeneric.repository.DjMessenger; 34 import com.genimen.djeneric.repository.DjRepositoryDescriptor; 35 import com.genimen.djeneric.repository.exceptions.DjenericException; 36 import com.genimen.djeneric.repository.rdbms.RdbmsPersistenceManager; 37 38 public class RdbmsDirectPersistenceManager extends RdbmsPersistenceManager 39 { 40 41 public RdbmsDirectPersistenceManager(DjMessenger messenger, DjRepositoryDescriptor rdesc) throws DjenericException 42 { 43 super(messenger, rdesc); 44 } 45 46 public RdbmsDirectPersistenceManager(DjMessenger messenger, DjRepositoryDescriptor rdesc, String userId, 47 String password) throws DjenericException 48 { 49 super(messenger, rdesc, userId, password); 50 } 51 52 public DjExtent createExtent(String objectType, String name, String alias, String internalCode, String title, 53 String nameSingular, String namePlural) 54 { 55 return new RdbmsDirectExtent(objectType, name, alias, internalCode, title, nameSingular, namePlural); 56 } 57 58 public String external2internalStatement(String sql) throws DjenericException 59 { 60 return sql; 61 } 62 } | Popular Tags |