Package org.apache.ojb.broker

Examples of org.apache.ojb.broker.PBKey


   
    public void init()
    throws Exception
    {
        ConnectionRepository cr = MetadataManager.getInstance().connectionRepository();
        JdbcConnectionDescriptor jcd = cr.getDescriptor(new PBKey(jcdAlias));
        if (jcd == null)
        {
            jcd = new JdbcConnectionDescriptor();
            jcd.setJcdAlias(jcdAlias);
            cr.addDescriptor(jcd);
View Full Code Here


   
    public PBStore(String jcd)
    {
        try
        {
            pbKey = new PBKey(jcd);
  
            if (jcd != null)
            {
                pbKey = new PBKey(jcd);
            }
            else
            {
                pbKey = PersistenceBrokerFactory.getDefaultKey();
            }
View Full Code Here

TOP

Related Classes of org.apache.ojb.broker.PBKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.