Package com.sun.ejb.sqlgen

Examples of com.sun.ejb.sqlgen.DBInfo


    * with default generated SQL statements for the persistent methods from the datdbases running
    * on the given server. Use overwrite to desructively overwrite existing SQL statements.
    */
    public void doGenerateSQL(String applicationFilename, String serverName, boolean overWrite) throws Exception
    {
  DBInfo dbInfo = this.getServerManager().getDBInfo(serverName);
  Application application = ApplicationArchivist.openAT(                  //bug# 4774785; 4691307
            new File(applicationFilename));

  Iterator itr = application.getEjbBundleDescriptors().iterator();
  while ( itr.hasNext() ) {
View Full Code Here


      String corbaName = "corbaname:iiop:" + serverName + ":" + // NOI18N
                initialPort + "#" + DBInfo.JNDI_NAME; // NOI18N

            Object objref  = getIC().lookup(corbaName);
            Object o = PortableRemoteObject.narrow(objref, DBInfo.class);
      DBInfo info = (DBInfo) o;
      return info;
  } catch (Throwable t) {
      throw new ServerException(localStrings.getLocalString(
    "enterprise.tools.deployment.main.couldnotgetdbinfofromserver",
    "Could not get db info from the J2EE server {0}",
View Full Code Here

TOP

Related Classes of com.sun.ejb.sqlgen.DBInfo

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.