Programmatic Client Tutorial

There is a problem with findByKey() when I run the code below. When I run in debug, the ViewObject vo and the custKey look good.
The error message I get when it hits findByKey is:
java.lang.NoSuchMetthodError: void oracle.jdbc.oracore.OracleTypeADT.init(oracle.jdbcdriver.OracleConnection)
I separately tested the connection as well as the view objects. Is there anything else I should check?
package bcbatch;
import oracle.jbo.*;
import oracle.jbo.client.*;
import oracle.jbo.domain.Number;
public class Batch
public static void main(String[] args)
if (args.length==0){
show("Customer ID is required.");
System.exit(0);
ApplicationModule am_Ord = Configuration.createRootApplicationModule("OnlineOrders.OnlineOrdersModule","OnlineOrdersModuleLocal", null);
ViewObject vo=am_Ord.findViewObject("CustomersView");
Key custKey = new Key(new Object[] {args[0]});
Row[] customersFound = vo.findByKey(custKey,1);
if (customersFound.length==0) {
show("Customer " + args[0] + " not found.");
else {
Row row_Cust = customersFound[0];
show("Customer");
show("========");
show("ID: " + row_Cust.getAttribute("CustomerId"));
show("Email:Long postings are being truncated to ~1 kB at this time.

Before giving you an ugly stack trace I have another clue I forgot to mention. When I hit the findByKey line in the debugger, the debugger gives me an Error box saying:
"Unable to find source file for package Oracle.jbo.server, filename OracleSQLBuilderImpl.java" and give me some options (none of which help) like "Generate stub","Find myself",etc. What do you think?

Similar Messages

  • JDeveloper BC4J Programmatic Client Tutorial Problem

    I have searched everywhere, but cannot find a correct working solution for this problem.
    Description:
    I am running the tutorials found under:
    Help Menu -> Help Topics -> Tutorial
    I can get several tutorials to work, but I am stuck on the tutorial titled:
    "Business Components Programmatic Client Tutorial".
    The BC4J Standalone Client tutorial is giving me this error after completing Step 3:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrders/common/bc4j.xcfg in the classpath
    There is no information regarding how to correctly configure the classpath or fix this problem.
    I am using JDeveloper 9i RUP7 at the Oracle Support site Knowledgebase 416708.1 for Release 11i:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=8751878
    My OS is Windows XP
    How can this this be resolved, so that I can successfully create a BC4J client in JDeveloper?
    Thanks in advance for any help
    Edited by: user8115477 on Apr 26, 2010 7:28 AM

    Thanks for clarifying that the package should have multiple names / hierarchy.
    I encountered the problem because the JDeveloper9i BC4J tutorial suggested one-level name.
    Eventually, I made changes similar to what you suggested, and now I can get the program tutorial to work.
    I was able to get the tutorial running by manually changing the package name as below:
    Tutorial Suggests:
    "OnlineOrders"
    What I did:
    Gotta have two-levels deep, so I entered "OnlineOrders.bc4j" instead.
    Then, I replaced all instances of "OnlineOrders" with "OnlineOrders.bc4j"
    This includes updating the code that must be copy-pasted into the Batch Client.
    Update all calls of "OnlineOrders.appName" to "OnlineOrders.bc4j.appName" etc... etc...
    I will mark this item as answered, since my OP question was answered.

  • Business Components Programmatic Client Tutorial

    Does anyone know why I get a :-
    java.lang.NullPointerException
         void bcbatch.Batch2.main(java.lang.String[])
              Batch2.java:28
    Exception in thread main
    in the tutorial on the command >> Row[] customersFound = vo.findByKey(custKey,1);
    The cust KEy contains the value 101
    code as per tutorial
    package bcbatch;
    import oracle.jbo.*;
    import oracle.jbo.client.*;
    import oracle.jbo.domain.Number;
    public class Batch2
    public Batch2()
    public static void main(String[] args)
    ApplicationModule am_Ord = Configuration.createRootApplicationModule("OnlineOrders.OnlineOrdersModule", "OnlineOrdersModuleLocal", null);
    ViewObject vo=am_Ord.findViewObject("CustomersView");
    if (args.length==0) {
    show("Customer ID is required.");
    System.exit(0);
    System.out.print(args[0]);
    Key custKey = new Key(new Object[] {args[0]});
    Row[] customersFound = vo.findByKey(custKey,1);
    private static void show(String s) {
    System.out.println(s);
    } // end show()
    }

    Thanks,
    I found the problem. The view is called CustomersView in the object navigator
    but in the OnlineOrdersModule.xml the view is named CustomersView1 .You are providing the name for the ViewObject definition and not the usage/instance-name/member-name of ViewObject in an application module
    Click on the application module node and in the structure pane you'd see a list of viewobject usages. CustomersView1 should be one of the ViewObject usages in the Structure Pane (as you have that name available as a member in the appmodule xml file).

  • BUG: JDeveloper BC4J Tutorial is incorrect

    I have searched everywhere, but cannot find a correct working solution for this problem.
    Description:
    In a fresh install of JDeveloper 9i RUP7, I have tried to run the tutorial found under:
    Help Menu -> Help Topics -> Tutorial
    In the BC4J Tutorial titled "Business Components Programmatic Client Tutorial",
    I have run all the steps and the compiler gives me the error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrders/common/bc4j.xcfg in the classpath
    There is no information regarding how to correctly configure the classpath or fix this problem.
    I downloaded JDeveloper 9i RUP7 at the Oracle Support site Knowledgebase 416708.1 for Release 11i:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=8751878
    How can this this be resolved, so that I can successfully create a BC4J client in JDeveloper?
    Thanks in advance for any help

    Try asking on the OA Framework Forum

  • Error on trying to do the JDeveloper's Tutorial (9.0.3.1)

    On trying to do the Tutorial of JDeveloper 9.0.3, in the chapter "Business Components Programmatic Client Tutorial - Step 3: Finding and Displaying Data by Primary Key", when is ran the Batch.class, the following errors are displayed:
    D:\Jdev9031\jdk\bin\javaw.exe -ojvm -classpath
    D:\Jdev9031\jdev\mywork\bcbatch\batchClient\classes;D:\Jdev9031\jdev\mywork\bcbatch\OnlineOrders\classes;D:\Jdev9031\jdev\lib\jdev-rt.jar;D:\Jdev9031\BC4J\lib\bc4jmt.jar;D:\Jdev9031\BC4J\lib\collections.jar;D:\Jdev9031\BC4J\lib\bc4jct.jar;D:\Jdev9031\lib\xmlparserv2.jar;D:\Jdev9031\jlib\jdev-cm.jar;D:\Jdev9031\j2ee\home\lib\jndi.jar;D:\Jdev9031\BC4J\lib\bc4jdomorcl.jar;D:\Jdev9031\BC4J\jlib\bc4jdatum.jar;D:\Jdev9031\jlib\jdev-cm.jar;D:\Jdev9031\jdbc\lib\classes12.jar;D:\Jdev9031\jdbc\lib\nls_charset12.jar
    bcbatch.Batch 101
    java.lang.NoSuchMethodError: void oracle.jdbc.oracore.OracleTypeADT.init(oracle.jdbc.driver.OracleConnection) oracle.sql.TypeDescriptor oracle.sql.TypeDescriptor.getTypeDescriptor(java.lang.String, oracle.jdbc.OracleConnection) TypeDescriptor.java:217 void oracle.jdbc.driver.OracleStatement.defineColumnType(int, int, java.lang.String) OracleStatement.java:1647 void oracle.jdbc.driver.OracleStatement.defineColumnType(int, int) OracleStatement.java:1324 void
    oracle.jbo.server.OracleSQLBuilderImpl.doPreparedStatementDefines(java.sql.PreparedStatement, oracle.jbo.server.AttributeDefImpl[]) OracleSQLBuilderImpl.java:963 void oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(oracle.jbo.server.EntityImpl, boolean) OracleSQLBuilderImpl.java:586 void oracle.jbo.server.EntityImpl.doSelect(boolean) EntityImpl.java:4306 void oracle.jbo.server.EntityImpl.populate() EntityImpl.java:3597 oracle.jbo.server.EntityImpl
    oracle.jbo.server.EntityDefImpl.findFromDatabase(oracle.jbo.server.EntityCache, oracle.jbo.server.DBTransaction, oracle.jbo.Key) EntityDefImpl.java:886 oracle.jbo.server.EntityImpl oracle.jbo.server.EntityDefImpl.findByPrimaryKey(oracle.jbo.server.DBTransaction, oracle.jbo.Key) EntityDefImpl.java:922 com.sun.java.util.collections.ArrayList oracle.jbo.server.QueryCollection.findByKey(oracle.jbo.Key, int) QueryCollection.java:2174 oracle.jbo.Row[] oracle.jbo.server.ViewRowSetImpl.findByKey(oracle.jbo.Key, int)
    ViewRowSetImpl.java:2770 oracle.jbo.Row[] oracle.jbo.server.ViewObjectImpl.findByKey(oracle.jbo.Key, int) ViewObjectImpl.java:5575 void bcbatch.Batch.main(java.lang.String[]) Batch.java:25Exception in thread main
    Process exited with exit code 1.
    May I didn't do the properly project settings for a right execution...
    Could some body help me?
    Thanks a lot in advance.
    Pablo.

    This is the Batch.class:
    package bcbatch;
    import oracle.jbo.*;
    import oracle.jbo.client.*;
    import oracle.jbo.domain.Number;
    public class Batch
    public Batch()
    public static void main(String[] args)
    if (args.length==0)
    show("Customer ID is required.");
    System.exit(0);
    //new Batch();
    ApplicationModule am_Ord = Configuration.createRootApplicationModule("OnlineOrders.OnlineOrdersModule", "OnlineOrdersModuleLocal");
    ViewObject vo=am_Ord.findViewObject("CustomersView1");
    Key custKey = new Key(new Object[] {args[0]});
    Row[] customersFound = vo.findByKey(custKey,1);
    if (customersFound.length==0)
    show("Customer " + args[0] + " not found.");
    else
    Row row_Cust = customersFound[0];
    show("Customer");
    show("========");
    show("ID: " + row_Cust.getAttribute("CustomerId"));
    show("Email: " + row_Cust.getAttribute("CustEmail"));
    private static void show(String s)
    System.out.println(s);
    } // end show()

  • New to JDeveloper - cannot find the configuration file

    Hello,
    I'm new to JDeveloper and have been following a couple of the tutorials on OTN. I have just been through one called Business Components Programmatic Client Tutorial which attempts to teach you how to create a batch client for some customer orders. I've got a workspace with two projects. One holds the business components and the other holds a Java application. Basically, when I try to run it, I get the following errors :
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrder/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:951)
         at bcbatch.Batch.main(Batch.java:21)
    Exception in thread "main"
    Process exited with exit code 1.
    I know that the createRootApplicationModule procedure is trying to instanciate an an application module of the type specified and the configuration file exists at :
    E:\JDeveloper\jdev\mywork\bcbatch\OnlineOrder\src\OnlineOrder\common\bc4j.xcfg
    My classpath is set to :
    E:\<Oracle_home>\jdev\mywork\bcbatch\OnlineOrder\src
    so its hard to see why it can't find \OnlineOrder\common\bc4j.xcfg from there.
    Any help would be greatly appreciated.
    Regards,
    Joe

    Make sure your bc4j application project is compiled. To verify see that the .xcfg file exists in the classpath of the "client-project" / outpath of the Bc4j project.

  • Why I cannot found "oracle.jbo.Transaction"

    I'm study jdeveloper 9.0.3 accord tutorials in help. When I learn the sample (tutorial--&gt;Business Components Programmatic Client Tutorial), I met the problem. I finished the program according to the help step by step. But the program raise the error as follows:
    Project: batchclient.jpr
    D:\jdev903\BC4J\src\bc4jaddinsrc.zip!\oracle\jbo\domain\DomainInterface.java
    Error(14,19): cannot access class oracle.jbo.Transaction; file oracle\jbo\Transaction.class not found
    Error(50,47): class Transaction not found in interface oracle.jbo.domain.DomainInterface
    D:\jdev903\jdev\mywork\bcbatch\batchclient\src\bcbatch\Batch.java
    Error(45,1): class ApplicationModule not found in class bcbatch.Batch
    Error(45,28): variable Configuration not found in class bcbatch.Batch
    Error(46,1): class ViewObject not found in class bcbatch.Batch
    Error(47,1): class Key not found in class bcbatch.Batch
    Error(47,19): class Key not found in class bcbatch.Batch
    Error(48,1): class Row not found in class bcbatch.Batch
    Error(56,3): class Row not found in class bcbatch.Batch
    Notice:
    I can't found the oracle.jbo.Transaction. But I download the full version at the site of java.sun.com. Why?
    下面是我程序的源码:
    the source code is:
    package bcbatch;
    import oracle.jbo.*;
    import oracle.jbo.client.*;
    import oracle.jbo.domain.Number;
    import java.awt.Frame;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.UIManager;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    public class Batch
    public Batch()
    Frame frame = new Frame1();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    if (frameSize.height &gt; screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width &gt; screenSize.width)
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    frame.setVisible(true);
    public static void main(String[] args)
    if (args.length==0)
    show("Customer ID is required.");
    System.exit(0);
    ApplicationModule am_Ord = Configuration.createRootApplicationModule("OnlineOrders.OnlineOrdersModule", "OnlineOrdersModuleLocal");
    ViewObject vo=am_Ord.findViewObject("CustomersView1");
    Key custKey = new Key(new Object[] {args[0]});
    Row[] customersFound = vo.findByKey(custKey,1);
    //first argument of findByKey is the key; the second is the maximum number of rows to
    if (customersFound.length==0)
    show("Customer " + args[0] + " not found.");
    else
    Row row_Cust = customersFound[0];
    show("Customer");
    show("========");
    show("ID: " + row_Cust.getAttribute("CustomerId"));
    show("Email: " + row_Cust.getAttribute("CustEmail"));
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e)
    e.printStackTrace();
    new Batch();
    private static void show(String s)
    System.out.println(s);
    } // end show()

    It looks like your jpr (project) does not include the BC4J library.
    Select the project in your IDE, right-mouse click, select "Project Settings".
    Go to the "Libraries" panel, and shuttle over library named "BC4J Runtime."
    Thanks.
    Sung

  • Where are the client stubs generated

    I am using weblogic 8, so i understand that the client stub is generated by the container when the my ejbs are deployed.
    But where is this jar file created.
    Is there a tool which i can use to generate the .jar file once my ejb is delployed.
    Thank you
    Rahul

    (Found something on this for weblogic 6 ..maybe this holds true for weblogic 8) ..still cant figure out exactly where it creates the stub.. might have to try it out and search BEA_HOME
    WebLogic Server supports the use of ejb-client.jar files.
    The ejb-client.jar contains the home and remote interfaces, the primary key class (as applicable), and the files they reference. WebLogic Server does not add files referenced in your classpath to ejb-client.jar. This enables WebLogic Server to add necessary custom classes to the ejb-client.jar without adding generic classes such as java.lang.String.
    For example, the ShoppingCart remote interface might have a method that returns an Item class. Because this remote interface references this class, and it is located in the ejb-jar file, it will be included in the client jar.
    You configure the creation of an ejb-client.jar file in the bean's ejb-jar.xml deployment descriptor file.When you compile the bean with ejbc, WebLogic Server creates the ejb-client.jar.
    To specify an ejb-client.jar:
    1. Compile the bean's Java classes into a directory, using the javac compiler from the command line.
    2. Add the EJB XML deployment descriptor files to the compiled unit using the guidelines in WebLogic Server EJB Deployment Files.
    3. Edit the ejb-client-jar deployment descriptor in the bean's ejb-jar.xml file, as follows, to specify support for ejb-client.jar:
    <ejb-client-jar>ShoppingCartClient.jar</ejb-client-jar>
    4. Generate the container classes that are used to access the bean using weblogic.ejbc and create the ejb-client.jar using the following command:
    $ java weblogic.ejbc <ShoppingCart.jar>
    Container classes include both the internal representation of the EJB that WebLogic Server uses, as well as implementation of the external interfaces (home, local, and/or remote) that clients use.
    External clients can include the ejb-client.jar in their classpath. Web applications would include the ejb-client.jar in their /lib directory.
    Note: WebLogic Server classloading behavior varies, depending on whether or not the client is stand-alone. Stand-alone clients with access to the ejb-client.jar can load the necessary classes over the network. However, for security reasons, programmatic clients running in a server instance cannot load classes over the network.

  • Tuxedo and VB Client

    We are working with a company which is using BEA Tuxedo Version/Release 6.4. We
    wish to be able to interface to the Tuxedo Workstation software using Microsoft
    Visual Basic (Version 6). Is this possible?
    I have read the BEA Tutorial on this matter, but the implication is that Tuxedo
    Release 6.5 or 7.1 is necessary. I know that several people here have implemented
    VB/Tuxedo interfaces and I'm now seeking confirmation of the version compatibilities.
    Thanks in anticipation - Brian Garner

    Wayne,
         sorry for the delay in replying. I have been away over Easter.
    Anyway, to answer your questions: -
    The Tutorial title is BEA TUXEDO Visual Basic Client Tutorial
    and it can be found at
    http://dev2dev.bea.com/resourcelibrary/technicalguides/vbtuxedoclient.jsp
    Within the zipped documentation, there is a document 'TuxVBClient.pdf', and
    in the Assumptions section of Chapter 1 'About This Tutorial' it states: -
    We also assume that the readers' workstations have the following:
    1. BEA TUXEDO Release 6.5 or 7.1
    2. The bankapp application, from the BEA TUXEDO Application Development
    Guide for BEA TUXEDO Release 6.5 or 7.1, running properly
    3. Microsoft Visual Basic Version 6.0 Development Environment installed and
    running properly
    So, as you can see, the implication is that Tuxedo 6.4 is inadequate for
    developing a Visual Basic BEA Tuxedo client.
    I hope this extra info clarifies matters.
    Regards - Brian
    P.S. Alternatively, the Tutorial can be downloaded directly from
    ftp://edownload:[email protected]/pub/downloads/TuxVBClient20010312Final
    1.zip
    "Wayne W. Scott" <[email protected]> wrote:
    Brian:
    What is the title of the tutorial you have read? Did it come with samples?
    Where exactly is the implication about Tuxedo 6.5 or higher?
    Thanks,
    Wayne Scott

  • Creating a class library in VS2013 that can be referenced by a VB6 application and newer applications

    I need to create a class library in VS2013 that can be referenced by a VB6 application and newer applications. I heard something about
    COM Interop but have no idea where to start. I am assuming I would develop a class library in VS2013 and then package the assembly for COM. Any good sample projects on this out there?

    Hello,
    >> Any good sample projects on this out there?
    Not suer if you are using C# as the develop language, if it is, i think you would find a lot of articles about this topic with your favorite search engine, here are some related links:
    COM Interop Part 1: C# Client Tutorial
    COM Interop Part 2: C# Server Tutorial
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Missing class/interface?

    I'm just starting out w/ JDev. Tried the BC client tutorial and ran into the following error when compiling:
    C:\java\BC4J\src\bc4jaddinsrc.zip!\oracle\jbo\domain\DomainInterface.java
    Error(14,19): cannot access class oracle.jbo.Transaction; file oracle\jbo\Transaction.class not found
    The error in "DomainInterface.java" is where it attempts to import "oracle.jbo.Transaction". I looked in the zip file and could not locate anything resembling an oracle\jbo\Transaction.class! I just installed JDev 9.0.3.2 (Build 1145) this week, am I missing a file or am I looking in the wrong place?
    Connection via JDBC to Oracle 8.1.7 works fine, testing the module with the default interface works great. Error only comes when trying to compile the batch client.
    Thanks for any help - Jason

    I'm just starting out w/ JDev. Tried the BC client tutorial and ran into the following error when compiling:
    C:\java\BC4J\src\bc4jaddinsrc.zip!\oracle\jbo\domain\DomainInterface.java
    Error(14,19): cannot access class oracle.jbo.Transaction; file oracle\jbo\Transaction.class not found
    The error in "DomainInterface.java" is where it attempts to import "oracle.jbo.Transaction". I looked in the zip file and could not locate anything resembling an oracle\jbo\Transaction.class! I just installed JDev 9.0.3.2 (Build 1145) this week, am I missing a file or am I looking in the wrong place?
    Connection via JDBC to Oracle 8.1.7 works fine, testing the module with the default interface works great. Error only comes when trying to compile the batch client.
    Thanks for any help - Jason

  • How to get info about Composition/Candidate window?

    Hi All,
    I'm working on an application which should be able to take multi-language input (especially chinese, japanese, and korean).
    When we type something in Chinese/Japanese, there will be Composition and Candidate Window popped up. I want to know whether there is a way to get/set some attributes/info about those windows.
    Specifically, I want to be able to position the Composition/Candidate Window anywhere I want...
    I've tried the active client tutorial for the on-the-spot and below-the-spot input, but I still haven't find a way to get a 'handle' to the windows...
    Can anyone help? Thanks in advanced :)

    I do not think the individual temp file percentages is of much use. What you usually want to know is how much of the temporary tablespace is in use and how much is available.
    For that I think you want to compare current total usage information that can be found in v$sort_segment against total available for usage data that can be found in dba_temp_files to get the percentage of available temporary file space that is in use.
    I quickly put together the following. See if either is on any use in constructing the information you really want.
    > @t20
    >
    > select
      2    used_blocks
      3   ,total_blocks
      4   ,f.blocks                             as FILEBLOCKS
      5   ,round(used_blocks/total_blocks * 100,1) SORTSEGPER
      6   ,round(used_blocks/f.blocks * 100,1)        TEMPFILEPER
      7  from
      8    v$sort_segment
      9   ,(select sum(t.blocks) blocks from dba_temp_files t) f
    10  /
    USED_BLOCKS TOTAL_BLOCKS FILEBLOCKS SORTSEGPER TEMPFILEPER
           8960       689664    1025024        1.3          .9
    >
    > select
      2    round(used_blocks/ (select sum(blocks) from dba_temp_files) * 100,1) ||'%'
      3    as TEMPFILEPER
      4  from v$sort_segment
      5  /
    TEMPFILEPER
    .9%HTH -- Mark D Powell --

  • Object Type database and BC4J

    Hi everybody
    I have an object type defined in oracle and I attached that type to one of my tables as a type of a column in that type, assume addr type and table customer with column address
    and its type addr.
    In BC4J , I created a domain for the type and after that, I added an entity object for my table and I chose the type of that column as the domain I created, after that view object and after that application module.
    Now I want to test my application module.
    It doesn't bring the fields of that type for data entry. how can I enter something inot my address column?
    Please help and thanks for that.
    Shahram

    Specifically, see the "Batch Client Tutorial" which is part of the following sample Workspace:
    .\samples\BC4J\OrderEntry\OnlineOrdersForClients\OnlineOrdersForClients.jws
    The TestClient.java and TestClient2.java files illustrate best-practice techniques for using the BC4J client API's for working with master/detail coordinated rowsets in a tier-independent manner using the basic oracle.jbo.* interfaces, as well as custom interfaces that expose methods to the clients. TestClient2.java illustrates working with an attribute of (domain) type TAddress which was created on top of an Oracle8 type T_ADDRESS.

  • How to add image

    Hi,
    Does anyone have a good example or best practice when adding an image to a data entry such as users registry to HTML Client? I have a user administration application and I will like for the admin user to be able to add an image to the user.
    Thanks,
    Ronny

    Note that the sample here:
    LightSwitch HTML Picture Manager Using WCF RIA Services. uses the exact same file uploader as the LightSwitch
    HTML Client Tutorial - Contoso Moving tutorial.
    The only difference is that the Contoso tutorial stores the images in the database. Not a problem if you don't have a lot of images, but a real costly problem (I am thinking of costs for your SQL database) if you do have a lot of images.
    The
    LightSwitch HTML Picture Manager Using WCF RIA Services sample stores the images on the file server. Otherwise they are the same. I used their code in my example (and gave them credit in the article).
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • Creating a class member VI from a template locks the class library.

    I have a LabVIEW (8.6.1) class where I need to create a number of very similar member VI's.  In order to make this process more convenient, I created a couple of VI templates.  However, I've found that creating a new VI from the template always locks the class library.  The library then remains locked until I close and reopen the project.
    When I select "Why is library locked?" from the context menu, I'm told:
    "The library is locked because:  This LabVIEW class is loaded in multiple application instances.  Classes must be in only a single application instance to be edited.  The containing library is locked."
    I have the same problem if I create a new project (see attached ZIP file), add a class, and then add two templates.  Everything seems OK if I have only one template.
    Am I doing something wrong, is this a bug in LabVIEW, or do I misunderstand the expected/intended behavior of template VI's?  Is there a way to "unlock" the class library without closing and reopening the project?
    Thanks in advance,
    Mark Moss
    Attachments:
    Locked Class Library Problem.zip ‏17 KB

    Hello,
    >> Any good sample projects on this out there?
    Not suer if you are using C# as the develop language, if it is, i think you would find a lot of articles about this topic with your favorite search engine, here are some related links:
    COM Interop Part 1: C# Client Tutorial
    COM Interop Part 2: C# Server Tutorial
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • I got the iphone iOS 7.1.1 update and now my music won't play and I can't download apps. Can I fix it?

    When i got the update at first the music would play while my headphones were in. I restored my iphone and now it won't play at all. I have tried to go in the settings for itunes and app store but it also won't load.

  • How do I download mp5 from twitter to my ipad

    I would like to know how to download an mp5 video file to my ipad direct from twitter. At the moment i have to download it to my windows pc, transfer it to drop box and then open it via vlc on ipad. Thats ok when i've got access to a windows pc, but

  • Information stored on replaced Seagate drives

    Hi all, Does anyone know what happens to the hard drives that are replaced under the Seagate 1TB hard drive replacement? I am concerned about data security. I have always kept the hard drives from any computer I have disposed of, but it occurs to me

  • "Could not purchase album. The network connection was reset."

    I have been trying to download the Pokemon X&Y soundtrack from iTunes for about a week now, and every single time I get one of two messages... "Could not purchase [album]. The network connection was reset. Make sure your network connection is active

  • OSX/OS9 Boot problems

    Tried this on the OS9 forum, but will try it here. I've happily run OS9 and OSX 10.2 for several years. I recently tried to boot into OS9 and all that popped up was a Smiley Mac folder alternating with a Question mark folder. I can't find my OS9 disk