Problems using a support card cache + @ElementCollection

Hello

Slowly, I attack with consistency. However, in my quest for coherence in our current system interface, I hit bump (another).

I managed to reflect our C++ objects in Eclipse Link. However, the objects have collections. I found what seems to be the ideal solution ElementCollection!

However, after a day of typing! 64 combinations of this attribute, I still managed to make it work! I was wondering if someone could help me.

I want to refer to a set of long defined by another table.

The simple table looks like this.
@Entity
@Table(name="FCS_ISSR_OBG")
public class fcs_issr_obg implements Serializable, PortableObject {

     private static final long serialVersionUID = 1L;

     @Id
     @Column(name="PTY_NO")
     private long pty_no;

     @Column(name="REF_OBG")
     private long ref_obg;

     public fcs_issr_obg() {
     }

     public long getPtyNo() {
          return this.pty_no;
     }

     public void setPtyNo(long pty_no) {
          this.pty_no = pty_no;
     }

     public long getRefObg() {
          return this.ref_obg;
     }

     public void setRefObg(long ref_obg) {
          this.ref_obg = ref_obg;
     }

     @Override
     public void readExternal(PofReader in) throws IOException 
     {
          pty_no=in.readLong(0);
          ref_obg=in.readLong(1);
     }


     @Override
     public void writeExternal(PofWriter out) throws IOException
     {
          out.writeLong(0,pty_no);
          out.writeLong(1,ref_obg);
     }
}
In the class where I want the collection to exist, I have the following
     @ElementCollection(targetClass = java.lang.Long.class)
     @CollectionTable(
               name = "FCS_ISSR_OBG",
               joinColumns=@JoinColumn(name="FCS_ISSR_OBG.PTY_NO")
               )
     @Column(name ="REF_OBG")
     private long def_obg_list[];
The code compiles, however when I run the unit test, I get the following.
Local Exception Stack: 
Exception [EclipseLink-30005] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@11b86e7
Internal Exception: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [FocusCache] failed.
Internal Exception: Exception [EclipseLink-7311] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.ValidationException
Exception Description: An invalid target class is being used with the element collection attribute [def_obg_list] on the class [class com.xxx.focus.model.fcs_issr].  Only basic types and embeddable classes are allowed.
     at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:126)
     at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:136)
     at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
     at com.xxx.focus.model.TestSecurity.setUp(TestSecurity.java:29)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [FocusCache] failed.
Internal Exception: Exception [EclipseLink-7311] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.ValidationException
Exception Description: An invalid target class is being used with the element collection attribute [def_obg_list] on the class [class com.xxx.focus.model.fcs_issr].  Only basic types and embeddable classes are allowed.
     at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:1005)
     at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.callPredeploy(JPAInitializer.java:88)
     at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:127)
     ... 26 more
Caused by: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [FocusCache] failed.
Internal Exception: Exception [EclipseLink-7311] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.ValidationException
Exception Description: An invalid target class is being used with the element collection attribute [def_obg_list] on the class [class com.xxx.focus.model.fcs_issr].  Only basic types and embeddable classes are allowed.
     at org.eclipse.persistence.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:210)
     ... 29 more
Caused by: Exception [EclipseLink-7311] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): org.eclipse.persistence.exceptions.ValidationException
Exception Description: An invalid target class is being used with the element collection attribute [def_obg_list] on the class [class com.xxx.focus.model.fcs_issr].  Only basic types and embeddable classes are allowed.
     at org.eclipse.persistence.exceptions.ValidationException.invalidTargetClass(ValidationException.java:2510)
     at org.eclipse.persistence.internal.jpa.metadata.accessors.mappings.ElementCollectionAccessor.process(ElementCollectionAccessor.java:721)
     at org.eclipse.persistence.internal.jpa.metadata.MetadataProject.processDirectCollectionAccessors(MetadataProject.java:1201)
     at org.eclipse.persistence.internal.jpa.metadata.MetadataProject.processStage3(MetadataProject.java:1554)
     at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.processORMMetadata(MetadataProcessor.java:475)
     at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:441)
     at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:959)
     ... 28 more
I faced the example here (http://en.wikibooks.org/wiki/Java_Persistence/ElementCollection) (Collections of basis).

However, I guess I did something wrong.

Any help much appreciated.

Thank you
Rich

Tables are not supported in JPA collection types. You must use, Collection, set, list, or map

@ElementCollection(targetClass = java.lang.Long.class)
     @CollectionTable(
               name = "FCS_ISSR_OBG",
               joinColumns=@JoinColumn(name="FCS_ISSR_OBG.PTY_NO")
               )
     @Column(name ="REF_OBG")
     private List def_obg_list;

A better exception should be thrown.
-Gordon

Tags: Fusion Middleware

Similar Questions

  • Continuing the audio problems using the Kona card

    MAC PRO 2 x 2.93 GHz 6 Core

    12 GB 1333 DDR3 Ram MJZ

    Kona card 3

    Kona driver 10.3.1

    Adobe for Kona 10.3.0 utilities

    Graphics Quadro 4000 card

    Video player Apple XServe raid

    more 2 TB G-raid & 3, 7200 RPM internal 2 TB disks

    10.7.4 OS

    CS6.0.1.31

    So I've dealt with this problem since I downloaded and started using the Kona 3 with PPCS6.0.1 drivers

    Often when I start my computer after it turned off the day before and restart the Prime Minister in the same project that I left that worked very well.  I'm broken audio playback mode.  When I check my audio computer system to preferences they mysteriously turned on in Kona, which is what causes the problem.

    I try to change their return to the line output line, preferneces and close then reopen and that the switch did not and they are back to Kona.

    I repair permissions and restart and make the change again... sometimes when I do this I get a kernel panic, so need to stop and start again.  Someties it will fix the problem today, sometimes not.  Today, after the kernel panic, everything seems to work properly.

    It's a bit boring and a 15 to 20 minutes exercise every morning.  Of course, I could leave my machine all night, but I'd sure appreciate all the ideas on how to fix this ongoing issue.

    I've turned into a bug report today, because I think that it is indeed a bug somewhere.

    THX... Jim Watt

    I found a post in the apple forum that solved this problem...

    If you have problems with your sound 'exit by default' in Snow Leopard, try the following...

    Go to your hard drive (root level) and open the library folder. Open the Preferences folder, and then open the Audio folder.

    Remove the two preference files in the Audio file:

    -com.apple.audio.DeviceSettings.plist

    -com.apple.audio.SystemSettings.plist

    Restart your mac, and I hope that your problems will be solved.

    This solution worked for me, and I hope that it will be too much for you.

  • My purchase is that creative cloud is a ° 16034007400 at the date of renewal, there was problems with the credit card, but the tax has been paid in January. So far I can't use the program or any of its components without Adobe me any explanation on why I

    My the purchase is Creative Cloud is a ° 16034007400 at the date of renewal there are problems with the credit card, but the deposit was paid to January. Up to now I can not use the program or one of its components without Adobe me any explanation on why I can not use.
    Why not allow Use Adobe Creative Cloud?

    : Contact support from adobe for hourly pst by clicking here and, when available, click on "still need help," http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • will facetime be able in my phone if I use the sim card to an operator that supports factime

    will be time face enabled in my phone if I use the sim card from an operator who takes care of facetime

    Probably not. Most of the devices sold it disabled permanently, although some carriers may allow it. No one could be sure here. And it is only when you are in this local geographical situation. Ask the carrier.

  • Problems with the graphics card when you use AutoCad

    Hi, I have a dell xps 18.4 - i7 with 8 GB of RAM, when I'm working with Auto CAD I face problem with my graphic card, what can I do to fix this? has any experience with that? the graphics card is Intel(r) HD Graphics 4000

    Hello

    Thanks for the reply.

    I'm sorry for the late reply.

    I appreciate your patience.

    I suggest you to try installing the driver in compatibility mode and tick.
    Reference:
    Make the programs more compatible with this version of Windows
    http://Windows.Microsoft.com/en-us/Windows-8/older-programs-compatible-version-Windows

    Please keep us informed.

    Thank you

  • Can I use a prepaid card for subscription in terms of creative photography Cloud?

    Hello

    Recently, I tried subscribing to CC (Plan of photography) using my prepaid MasterCard card. I read on another thread that is should be possible to use a prepaid credit card to subscribe to creative cloud.

    However, every time I finish my order an error message that says: "there was a problem processing your order, contact Adobe to...» »

    Screen Shot 2015-12-28 at 11.56.37 AM.png

    I live in Malaysia, and so far the support of Adobe for the Malaysia was not very useful. They constantly tell me it shouldn't be error should not happen, and they will look into it, but it will take 5 to 7 days. I have Photoshop and Lightroom is urgent and cannot afford to wait. I contacted them last week and they said they would look in there, but I've yet to receive updates, and it is still unable to subscribe to CC.

    Does anyone else have this problem? In addition, everyone all tried using a credit card to subscribe to CC?

    I tried to use different browsers, my history, and caches, clearing and my internet connection troubleshooting. I was also in touch with the supplier for my prepaid card (Aeon Malaysia) and they assured me that my card can be used in online transactions. I also checked my card balance to ensure that there are sufficient funds to buy a CC.

    Help, please!

    Creative cloud for individuals is available in Malaysia:

    http://www.Adobe.com/content/dam/Adobe/en/products/creativecloud/CC/PDFs/CC-availability-m atrix.pdf

    Please note that the country of your payment address, the country on your Adobe account and the store you purchase of should be the same.

    Please refer to this link for more details and in the case of the country of your AdobeID is wrong:

    FAQ: How can I change the country associated with my Adobe ID?

  • No employee of Gov using the 'PIV card' readers?

    Greetings-

    I know there are many Govt employees here who have been allowed to "Teleworking" from home and use their personally owned equipment (POE) versus having a portable Govt assigned to them - that would result by using a card reader so that they could use their PIV card to plug into a USB port it.

    However, those of use with any Mac / Apple products as our equipment challenge readers of cards Govt NOT recognized on our devices to Mac, so we (in my Govt organization anyway) must use what is called "MobilePass chips" that are obtained from an application downloaded from our App Store. They are used with our normal Login User Id and password too.

    BTW-I use a Citrix / CAG VPN to access the Gov Agency (not classified of course!) and prefer to use the PIV player.

    My question is: is anyone know of any material that can be used to read these cards PIV - or software to allow a card reader external to be recognized in a device of Mac in order to read a PIV for this system of "Double authentication?

    NOTE: I know some out there to read "CAC" cards, but these are NOT the same as people "PIV" cards.

    (I tried this way already) * also - if posted in the wrong forum - please move if necessary because I didn't know where. Thank you.

    Post edited by: GunnyFitz
    Added the system used to access Gov Outlook, etc.

    Hi GunnyFitz,

    Thank you for using communities Support from Apple! I'm sorry to hear that you are having these problems with your MacBook Pro. For more information on the current situation with cards PIV on Mac, you can find the article useful next and link (my apologies if you have already seen it):

    OS X El Capitan: on smart cards

    Concerning

  • How to set up and use two video cards at the same time.

    I have HP Pavilion a6150d desktop under Windows XP SP3 PC. My goal is to be able to use the integrated video card and GeForce 220 video card I just buy at the same time.

    The integrated video card and GeForce video card (connected to the PCI-E) are installed and usable, but the problem is that I think that my computer cannot detect a video at a time card, so I can't use 2 monitors at the same time.  The video only card detects my computer is what I chose as a primer in the BIOS. When you go to the Device Manager display adaptors I can only find an available video card and that's regardless of Setup as primary in the BIOS.

    My GeForce 220 have VGA, DVI and HDMI display connectors, but I don't have that VGA cables. So my only option at the moment is to use my video card GeForce with band single VGA connector and integrated everyone to use my two monitors.

    I hope someone can help me without spending more money...

    "You're not going to be able to use the graphics card integrated Intel and PCIe x 16 graphics card at the same time."

    Thanks Frank, this already answered my question, you help me already by saving my time searching for the fix (since there is NO solution), although it won't save my money I like always your quick response and your support. My monitor is HPw1907 with a DVI connector, so I'll just buy a DVI cable. My other monitor LCD SHARP that have a HDMI and VGA connector so I'll just use the VGA cable in this one.

    So I guess that my simple goal is not achievable using HP Pavilion a6150d. I love HP more than Dell, but it's doable in Dell, so I hope that HP will have way on how to make this thing work in the future.

  • Problems with Toshiba Flash cards

    I have problems with toshiba flash Cards on my desk and stay there.  It says flash cards, not reponding, but I can't get rid of it.  This utility is really necessary to make my computer work correctly?  How can I get it out of my office?

    Hi Bklawinsky,

    ·         Did you do changes on the computer before the show?

    ·         The other device USB (Universal Serial Bus) have recognized?

    Follow the suggestions below for a possible solution:

    Method 1: You will need to check the updated version of the utility of flash cards on the site of Toshiba, if found, install and check if the problem persists.

    Method 2: If you can't find any update of the utility so I would suggest that you uninstall using programs and features, reinstall it later using the Toshiba website, according to your model number of the computer to download the utility below.

    Uninstall or change a program

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

     

    Toshiba downloads

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Let us know if that helps.

  • Problems with the video card and sound card on Toshiba model #PSLCOU - 02701G

    I bought a new laptop in 2009, and it is a Toshiba, model #PSLCOU - 02701G. After about three months the video card and the sound began to spoil. It's what he does, I can go on U-tube or any web site that has a video to watch like CNN news, etc. What it does is it starts to play and the video and the sound is good and he paused for a few seconds and starts again, new breaks and pauses, starts, pauses, starts. He does it all the time, and I was wondering if you all have any idea whats going on? Help? Help?

    It really sucks when you try to watch the news. Also, I put a CD or DVD into the laptop and it works perfectly. I can watch any DVD or listen to a GREAT Cd.

    How is your network connection?  Sometimes, the system needs to create a cache to store the downloaded information and if the download is not pass quickly enough the system will freeze while wiaiting for download to catch up - not a problem with your sound cards and video, but with the speed of Connection on the website or on the network itself (or your network equipment).  This looks like the case if the DVD and the CD's works fine.  Check your internet connection and try to download the video pages to see if the problem is with all the downloads, or only those on a site.  You can contact your ISP and have them help check you connection and settings and the modem for problems or changes, you can do to improve things. Sometimes happens to me as well in the internet connection runs slower than normal and there is nothing that I can do but wait to accelerate - and it's frustrating.

    You can get in trouble with your device drivers.  Go to the Device Manager by going to start / find and type Device Manager and enter and then double-click on the program icon that appears.  Check each device to a red x, yellow! or white?  These identify devices with problems probably (drivers, but also of conflict or something else).  Click on each for more details and troubleshooting tips.  If you need to get the drivers (and you need you to do all you have time to do, but at least the network card, sound card and video card - they can help way beyond simply solve this problem), get the computer dealer or the manufacturer of the device (NOT of Microsoft Updates).  In fact, you must disable automatic updates in Windows Update driver as follows: http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/. Follow these steps to get the drivers: http://pcsupport.about.com/od/driverssupport/ht/driverdlmfgr.htm.  Once you have the drivers, you can install them via the Manager device as follows: http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Problem with my video card

    Wen I try to load my game, I get the message cannot find suitable display device ive looking into my device manager and theres a yellow! next to my video card, I have a NVIDIA GeForce 8800GT I right click on it go into property, and he says that Windows has stopped this device because it has reported problems. (Code 43) Ive tried uninstalling the driver and put it back and restart my computer don't work ive tried also to solve this program on microsoft forcing has also worked

    Hello

    Check with Nvidia Support and their forums might be a known issue. It could be a hardware or driver problem.

    Support NVIDIA
    http://www.nvidia.com/page/support.html

    NVIDIA forums
    http://www.nvidia.com/object/nvidia_zones.html

    ------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==================================

    It's my generic how updates of appropriate driver: update your drivers manually and do not use
    their scanner.

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • payment failed while I have no problem with my credit card

    Hello

    Adobe sent me a message where they say that my payment has failed for this month. They ask me to pay with one card of another check with my Bank because they do not recognize the information of my credit card. I checked with my Bank and there is no problem with my credit card or my bank account. This disorder has happened twice, month last month. Last month I paid with one card of another but this month here I don't want to pay with another again, because my credit card works great! Is there anyone in this situation? If not, I would call Adobe, but I have not found the opportunity to call for this specific problem.

    I need to use my creative cloud subscription to work then it is an emergency situation

    Thanks in advance,

    Perrine Gregy

    Hello

    Please contact our support here: contact customer service

    Let us know if this helps!

  • Bad support card stuff ;-)

    I did plan to backup stuff (to implement Versions of objects).

    I thought naively that the binary way was an object:

    ExternalizableHelper.toBinary)

    However, this does not take account of the KeyAssociation.

    Ben Stopford was able to dig me up a code that works:

    binary.getContext () .getKeyToInternalConverter () .convert (vKey)

    Anyone can comment on that - is there a method 'allowed '?

    Best, Andrew.

    Hi André,.

    It depends on what you want to do.

    To convert a binary object, you should preferably use ExternalizableHelper.toBinary (object, serializer), where the serializer is retrieved from the appropriate Cluster Service (you should do this way, if you enable evenly POF in all the services, or if you use a custom serializer).

    On the other hand, support card keys are not simple binaries. It may contain additional information such as decorations, including the partition in non-cloison-split support id cards distributed caches. To do this, you should indeed be able to handle the key association.

    So if and only if you want to create a binary file that you can use as a key to a storage card, you must use the expression of BackingMapManagerContext.getKeyToInternalConverter () .convert (Object) .

    Of course, if you want to convert an object into a binary file, which is used as a support card (which I believe can also be decorated, e.g. lock information or writeback status plugged), you must use a different Converter: BackingMapManagerContext.getValueToInternalConverter () .convert (Object).

    The BackingMapManagerContext instance, itself can be retrieved by CacheService.getBackingMapManager () .getBackingMapManagerContext ().

    Best regards

    Robert

  • How to combine coherence 3.5 partitioned support card with overflow?

    I would like to set up a near cache where the back cover uses an infinity card that uses a map of partitioned support as before and a file (or Berkley DB) based at the back. I wish that the storage for primary storage and backup to use the same configuration. I tried the following config of cache (I'm not even sure nothing cela a say on how the backup storage must be configured, except that I say it should be off-lot):
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
        <caching-scheme-mapping>
            <cache-mapping>
                <cache-name>near-small</cache-name>
                <scheme-name>near-schema</scheme-name>
            </cache-mapping>
        </caching-scheme-mapping>
    
        <caching-schemes>
            <near-scheme>
                <scheme-name>near-schema</scheme-name>
                <front-scheme>
                    <local-scheme>
                        <eviction-policy>HYBRID</eviction-policy>
                        <high-units>10000</high-units>
                    </local-scheme>
                </front-scheme>
                <back-scheme>
                    <distributed-scheme>
                        <scheme-name>near-distributed-scheme</scheme-name>
                        <service-name>PartitionedOffHeap</service-name>
                        <backup-count>1</backup-count>
                        <thread-count>4</thread-count>
                        <serializer>
                            <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                        </serializer>
                        <backing-map-scheme>
                            <overflow-scheme>
                                <scheme-name>OverflowScheme</scheme-name>
                                <front-scheme>
                                    <external-scheme>
                                        <nio-memory-manager/>
                                        <unit-calculator>BINARY</unit-calculator>
                                        <high-units>256</high-units>
                                        <unit-factor>1048576</unit-factor>
                                    </external-scheme>
                                </front-scheme>
                                <back-scheme>
                                    <external-scheme>
                                        <scheme-name>DiskScheme</scheme-name>
                                        <lh-file-manager>
                                            <directory>./</directory>
                                        </lh-file-manager>
                                    </external-scheme>
                                </back-scheme>
                            </overflow-scheme>
                            <partitioned>true</partitioned>
                        </backing-map-scheme>
                        <backup-storage>
                            <type>off-heap</type>
                        </backup-storage>
                        <autostart>true</autostart>
                    </distributed-scheme>
                </back-scheme>
                <invalidation-strategy>present</invalidation-strategy>
                <autostart>true</autostart>
            </near-scheme>
    
            <!--
            Invocation Service scheme.
            -->
            <invocation-scheme>
                <scheme-name>example-invocation</scheme-name>
                <service-name>InvocationService</service-name>
                <autostart system-property="tangosol.coherence.invocation.autostart">true</autostart>
            </invocation-scheme>
        </caching-schemes>
    </cache-config>
    It's fine when I run the cache node (s), but when I run an application that tries to use the cache I get the error message:

    2009-04-24 08:20:24.925/17.877 GE Oracle coherence 3.5/453 (pre-release) < error > (thread = DistributedCache:PartitionedOffHeap, Member = 1): java.lang.IllegalStateException: Partition support com.tangosol.net.cache.OverflowMap map does not implement ConfigurableCacheMap
    at com.tangosol.net.partition.ObservableSplittingBackingCache.createPartition(ObservableSplittingBackingCache.java:100)
    to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ Storage.initializePartitions (DistributedCache.CDB:10)
    to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ Storage.instantiateResourceMap (DistributedCache.CDB:63)
    to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ Storage.setCacheName (DistributedCache.CDB:27)
    to com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ ConfigListener.entryInserted (DistributedCache.CDB:15)


    How can I change my cache config so that it works?

    Best regards
    Magnus

    Magnus,

    Optimizations related to effectively support the overflow-style of caching are not included in 3.5 consistency. I created COH-2338 and 2339 COH to track the progress of related issues.

    There are four different implementations of the PartitionAwareBackingMap of coherence 3.5:

    * PartitionSplittingBackingMap is the simplest implementation that simply partitions the data through a number of backup card; It is not observable.
    * ObservableSplittingBackingMap is the observable implementation; It extends WrapperObservableMap and delegates to (wraps) a PartitionSplittingBackingMap.
    * ObservableSplittingBackingCache is an extension of the ObservableSplittingBackingMap who knows how to handle instances of ConfigurableCacheMap as the underlying storage by score cards; in other words, it can spread and merge a configured memory quantity (etc) in all of the cards of real support.
    * ReadWriteSplittingBackingMap is an extension of the ReadWriteBackingMap that supports the partition.

    The DefaultConfigurableCacheFactory currently uses only the ObservableSplittingBackingCache and the ReadWriteSplittingBackingMap; COH-2338 relates to the enhancement request add support for the other two implementations. Moreover, optimizations of balancing (where caching overflow tends to get bogged down by several small i/o operations) will be important; those which are followed by COH-2339.

    Peace,

    Cameron Purdy
    The Oracle coherence

  • Can I use an SD card with the new MacBook?

    Looking to buy a new MacBook. From what I can tell there is no SD card reader.  I don't see any accessory adapter for SD readers either.  Is it possible to use an SD card with the new MacBook?  Thank you!

    Only I can find is for iOS devices > > http://www.apple.com/shop/product/MJYT2AM/A/lightning-to-sd-card-camera-reader?f node = 91

    On the SDXC - Apple Support and SD card slot

    I hope someone will find an adapter for you.

Maybe you are looking for