Can't put anonymous object into db

I define an EntityClass named EntityMe as PrimaryIndex<K,V>'s V. Now I usually like new a anonymous object like:
primaryIndex.put("test",new EntityMe(){
setId("123");//Id is the primary key
When I run it , console show an error(maybe can't support it sub class):
java.lang.IllegalArgumentException: Class could not be loaded or is not persistent: myTest.TestPerformance$1
In normally , we instance a object and named it, then setter something , process is OK.
If je should support this? I think it's a usually operation.
thx.

Hi,
Please collect the report for the further troubleshooting. Note:Please do the following steps when VPN is connected.
1. Click Start, type in “cmd”, right click it and choose “Run as administrator”.
2. Type in the following command.
Powercfg –energy
3. Find the report file in the location showed in Command window.
4.
Upload it.
Kim Zhou
TechNet Community Support

Similar Messages

  • How can i put one scene into JPanel of the swing?

    how can i put one scene into JPanel of the swing?

    980571 wrote:
    ty for the information but i have a problen with JFXpanel when i try to into a panel it doesnt display insideSorry to hear that. If you want assistance with the code, feel free to post the relevant parts of it. Make sure to use \ tags when you do.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I put my bookmarks into the sequence I want, alphabetical or otherwise?

    How can I put my bookmarks into the sequence I want, alphabetical or otherwise?

    http://kb.mozillazine.org/Sorting_bookmarks_alphabetically <br />
    http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox

  • Can i put photos back into the camera chip once they have been imported into my mac?

    Can i put photos back into the camera chip once they have been imported to my Mac?

    Export them
    File -> Export
    to a folder on the desktop. From there copy them back to your camera.
    Remember, the camera has a quite specific set up of folders, and you'll need to put the files back in the correct place for them to be viewable on the camera.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How can i put below  table into internalt table

    how can i put below  table into internalt table and want to add both internal table into 3rd internal table.
    SELECT  * FROM J_1IEXCHDR  WHERE STATUS = 'P'.
    WRITE: / J_1IEXCHDR-LIFNR,
              J_1IEXCHDR-DOCNO,
              J_1IEXCHDR-EXYEAR,
              J_1IEXCHDR-BUDAT.
    SELECT * FROM J_1IEXCDTL  WHERE TRNTYP = J_1IEXCHDR-TRNTYP
                              AND DOCYR  = J_1IEXCHDR-DOCYR
                              AND DOCNO  = J_1IEXCHDR-DOCNO.
       WRITE: / J_1IEXCDTL-EXBAS,
                J_1IEXCDTL-EXBED,
                J_1IEXCDTL-RDOC1,
                J_1IEXCDTL-ECS.
    ENDSELECT.
    ENDSELECT.
    please help
    thanks in adavaced.

    hi laxman,
    use for all entries and get the required data.
    SELECT * FROM J_1IEXCHDR into table itab1 WHERE STATUS = 'P'.
    if not itab1[] is initial.
    SELECT * FROM J_1IEXCDTL into table itab2 for all entries in itab1 WHERE TRNTYP = itab1-TRNTYP
    AND DOCYR = itab1-DOCYR
    AND DOCNO = itab1-DOCNO.
    endif.
    so itab2 will have the common records...This will solve ur problem..
    also u can do other method declare an final internal table with the common fields of the two internal table.
    then after getting data in itab1 and itab2.
    loop at itab1.
    move-corresponding itab1 to itab3.
    read table itab2 with key <give the fields> = ......
    if sy-subrc eq 0.
    move-corresponding itab2 to itab3.
    endif.
    append itab3.
    endloop.
    Regards,
    nagaraj

  • Can't put the computer into sleep if VPN is connected

    I think I have found a win7 bug. The problem is that I can't put my computer into sleep if VPN is connected. The VPN client I used is Microsoft VPN client. The VPN works fine.  But if I click sleep button with VPN connected, the computer screen turns
    black, the fan speeds up, and the signal light tells me the computer is  still on, not in sleep mode. When I try to wake up my computer by tapping the enter key, space, or moving the mouse, it just doesn't work at all: the fan speeds faster and faster
    and the computer heats up. The only thing I can do now to save my computer from darkness is to hit and hold the power button, powering off the computer. The sleep function works just fine if the VPN is disconnected. I can easily wake my computer up by tapping
    the enter key. I don't know whether this problem is only present on my computer or universally present on all win7 computers.
    The following is my system info:
    OS Name Microsoft Windows 7 Ultimate
    Version 6.1.7601 Service Pack 1 Build 7601
    OS Manufacturer Microsoft Corporation
    System Manufacturer LENOVO
    System Model IdeaPad Y460
    System Type X86-based PC
    Processor Intel(R) Core(TM) i5 CPU       M 460  @ 2.53GHz, 2534 Mhz, 2 Core(s), 4 Logical Processor(s)

    Hi,
    Please collect the report for the further troubleshooting. Note:Please do the following steps when VPN is connected.
    1. Click Start, type in “cmd”, right click it and choose “Run as administrator”.
    2. Type in the following command.
    Powercfg –energy
    3. Find the report file in the location showed in Command window.
    4.
    Upload it.
    Kim Zhou
    TechNet Community Support

  • I can't put more music into my iPod touch 4gen

    i can't put more music into my iPod touch 4gen

    Do you have a question?
    Why can't you pur more music on the ipod?
    Perhaps if you were to explain you issue, then someone could help.

  • How can I convert table object into table record format?

    I need to write a store procedure to convert table object into table record. The stored procedure will have a table object IN and then pass the data into another stored procedure with a table record IN. Data passed in may contain more than one record in the table object. Is there any example I can take a look? Thanks.

    I'm afraid it's a bit labourious but here's an example.
    I think it's a good idea to work with SQL objects rather than PL/SQL nested tables.
    SQL> CREATE OR REPLACE TYPE emp_t AS OBJECT
      2      (eno NUMBER(4)
      3      , ename  VARCHAR2(10)
      4      , job VARCHAR2(9)
      5      , mgr  NUMBER(4)
      6      , hiredate  DATE
      7      , sal  NUMBER(7,2)
      8      , comm  NUMBER(7,2)
      9      , deptno  NUMBER(2));
    10  /
    Type created.
    SQL> CREATE OR REPLACE TYPE staff_nt AS TABLE OF emp_t
      2  /
    Type created.
    SQL> Now we've got some Types let's use them. I've only implemented this as one public procedure but you can see the principles in action.
    SQL> CREATE OR REPLACE PACKAGE emp_utils AS
      2      TYPE EmpCurTyp IS REF CURSOR RETURN emp%ROWTYPE;
      3      PROCEDURE pop_emp (p_emps in staff_nt);
      4  END  emp_utils;
      5  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY emp_utils AS
      2      FUNCTION emp_obj_to_rows (p_emps IN staff_nt) RETURN EmpCurTyp IS
      3          rc EmpCurTyp;
      4      BEGIN
      5          OPEN rc FOR SELECT * FROM TABLE( CAST ( p_emps AS staff_nt ));
      6          RETURN rc;
      7      END  emp_obj_to_rows;
      8      PROCEDURE pop_emp (p_emps in staff_nt) is
      9          e_rec emp%ROWTYPE;
    10          l_emps EmpCurTyp;
    11      BEGIN
    12          l_emps := emp_obj_to_rows(p_emps);
    13          FETCH l_emps INTO e_rec;
    14          LOOP
    15              EXIT WHEN l_emps%NOTFOUND;
    16              INSERT INTO emp VALUES e_rec;
    17              FETCH l_emps INTO e_rec;
    18          END LOOP;
    19          CLOSE l_emps;
    20      END pop_emp;   
    21  END;
    22  /
    Package body created.
    SQL>Looks good. Let's see it in action...
    SQL> DECLARE
      2      newbies staff_nt :=  staff_nt();
      3  BEGIN
      4      newbies.extend(2);
      5      newbies(1) := emp_t(7777, 'APC', 'CODER', 7902, sysdate, 1700, null, 40);
      6      newbies(2) := emp_t(7778, 'J RANDOM', 'HACKER', 7902, sysdate, 1800, null, 40);
      7      emp_utils.pop_emp(newbies);
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM emp WHERE deptno = 40
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7777 APC        CODER           7902 17-NOV-05       1700
            40
          7778 J RANDOM   HACKER          7902 17-NOV-05       1800
            40
    SQL>     Cheers, APC

  • Can I export solid objects into Illustrator / InDesign CS2 and maintain vector format

    Can Adobe 3D export solid objects in vector format into Illustrator or InDesign CS2 suite?
    I'm interested in taking solid 3D objects developed in Pro/E 2.0 and import from Adobe 3D into Adobe Illustrator & InDesign in vector format for page layout. I want to import solid objects in vector format and maintain color scheme and surface textures.
    I'm running 3D trial version and can successfully import 3D objects (asm & prt files) solid views from Pro/E but can only export wireframe views from Adobe 3D Toolkit into Illustrator or InDesign (CS2). Solid objects first have to get rendered in a raster format before importing into Illustrator.
    If this function is not supported does anyone have experience doing this using Quadraspace or Right Hemisphere 3D software?

    Any help???? After 2 weeks I still can't learn from Adobe or Right Hemisphere people how to import solid objects in vector format into Illustrator with color and surface textures in place. All imported objects in vector format are converted to a wireframe or line format unless they are first rasterized.

  • How can I put 1 object in a photo in color but the rest in black and white?

    I have iPhoto '08, and I have seen many photos that have interesting effects like the one I mentioned before. I would really like to know how I can allow the main object in the photo to remain its natural color, but change the rest of the picture to black/white or sepia.

    Welcome to the Apple Discussions. You mean like this?
    Click to view full size
    This was created by Photoshop. But it's a little over the top for must of what we want to do. Photoshop Elements can do the same as can some of Larry's other suggestions. I've worked with PSE and it's an excellent editor with about 75% of PS's capabilities at about 1/7 the price.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • How can i put a file into blob(using sun.jdbc.odbc.JdbcOdbcDriver)

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • How can i put a file into blob using jdbc !?

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.
    D.T.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • How can I put my system into StandBy Mode?

    Hi
    I am not able to put my system into stanby mode.
    How can I do that?

    Hi
    As Ivan said you can use these two options.
    Furthermore I would recommend checking the settings in the Toshiba power saver (if is installed)
    Possibly you have to activate this option before using.

  • Can I put a class into a jsp??

    I want to put this class into a jsp.. and reference it when I need it... can i just dumped it into a jsp... or do I have to do anything specific to it...
    public class areaformat {
         public synchronized static String replace(String str, char oldchar, String newstr)     {
              StringBuffer sb = new StringBuffer(str);
              int len = sb.length();
              try     {
                   for (int i=0; i<=len; i++)     {
                        if (sb.charAt(i) == oldchar)     {
                             sb = sb.replace(i, i, newstr);
                             sb.deleteCharAt(i + newstr.length());
                             i = i + newstr.length() - 1;
              }catch(StringIndexOutOfBoundsException sioobe)     {
                   if (len == 1 && str.equals("'")) {
                        sb = new StringBuffer(newstr);
              return sb.toString();
    Thx RIch

    No, you can't. You can put only the function in the beginning of your jsp file like:
    <%!
    public void myFunction(...){
    %>
    So, you can use myFunction wherever you want in the page.
    The other method is to compile your class in a file called "javac className.java" and the put the .class file generated in your WEB-INF/classes folder of your web-container.

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

Maybe you are looking for

  • Share only specific groups with users over cardDAV?

    OS X Server 3.2.2 I've successfully set up the Contacts server, but it appears that cardDAV syncing is an all-or-nothing prospect.  There appears to be no way to sync only select groups of contacts with select users or groups.  Instead, it appears yo

  • Error message when trying to burn CD's

    I am getting "Unknown Error # 4450" repeatedly when I try to burn a CD from my i tunes library. Anyone know how to fix this?

  • OCITransCommit() returns ORA-01013 for correctly committed transaction

    I had the following issue which seems to me a critial bug in Oracle 11g: Breaking an oracle transaction asynchronously with OCIBreak() while transaction is being committed with OCITransCommit() did result in a correctly committed transaction on the d

  • Create object IF_WD_SELECT_OPTIONS

    Hello, how can I create an object here from the interface  IF_WD_SELECT_OPTIONS. in order to use its method ADD_SELECTION_FIELD First step is done: data zb type ref to IF_WD_SELECT_OPTIONS. Secons step: create object regards sas

  • How do I set domain and range in grapher.app?

    Hey, I'm brand new to this program, and i can't figure out for the life of me how to set the domain and range of an equation. For example, if i had the equation y=x^2 , how would i go about setting the x values>0? Any quick replies are very appreciat