Plugged-in Persistence problem

We are having problem in using imqdbmgr to 'create tbl' to mysql.
The error msg said :
'java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax near '100),DEST TINYBLOB,primary key(DID))' at line 1'
I think it's a problem of data type used in imqdbmgr incompatible with mysql.
I found other post in this forum with the same problem with Sybase.
I think if the data store db schema be published, this problem can be resolved by manual creating the tables.

Jeffrey,
We haven't tested MQ running with mySQL, and
we're not prepared to support customers tweaking
the SQL yet. Even if you get the tables created I'm
not very confident the rest of our SQL will work.
We're looking to support the ability to modify the SQL
in the field in an upcomming release.
FYI the JDBC data type used in the table being created
below are VARCHAR(100) and LONGVARBINARY. MySQL appears
to map LONGVARBINARY to TINYBLOB.
Sorry for the inconvenience,
Joe Di Pol
Sun Microsystems, Inc.
We are having problem in using imqdbmgr to 'create
tbl' to mysql.
The error msg said :
'java.sql.SQLException: Syntax error or access
violation: You have an error in your SQL syntax near
'100),DEST TINYBLOB,primary key(DID))' at line 1'
I think it's a problem of data type used in imqdbmgr
incompatible with mysql.
I found other post in this forum with the same
problem with Sybase.
I think if the data store db schema be published,
this problem can be resolved by manual creating the
tables.

Similar Messages

  • My iMac 27" Late 2012 has Image Persistence Problem

    I'm wondering what to do about an annoying image persistence problem on my 27" late 2012 iMac. I got the iMac just a few days ago. Monday actually, so 4 days ago.
    It's the 3.4GHz i7, 8GB, NVIDIA 680MX 1TB fusion drive model.
    Overall it has become the love of my life, but the image persistence thing is getting harder to ignore. This happens after only a few minutes of use. If I follow Apple's instruction on dealing with LCD image persistence, I can make it go away for a while, but it comes back very quickly.
    It is extremely noticeable on a plan dark background. It looks as thought he screen has been left on for a very long time with the same windows open, but it occurrs in less than 5 minutes of use with nothing more intense than a bit of web surfing.
    I've read that this is happening a great deal on these new iMacs, particularly teh 27" machines.
    While the problem seems to be known to those of us afflicted I don't know if Apple has acknowledged an issue or not.
    Here is a sample of the complaints: http://forums.macrumors.com/showthread.php?t=1509571
    I can make the ghost image vanish by bringing up an all white scree for a minute or so or using LCD Scrub.
    I'm wondering if anyone else has foun a solution other than asking for a replacement computer, which Apple seems to be granting on this issue?

    Avoiding image persistence on Apple (IPS) displays
    Avoiding image persistence on Apple LCD displays
    If you cannot resolve the issue yourself, then return the computer for a replacement. You may do this freely within 14 days from date of purchase, so don't delay.

  • "Blocked plug-in message" problem on my OS X 10.6.8. (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end). Thanks.

    "Blocked plug-in message" problem on my OS X 10.6.8 (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end, i.e. product for sale). Thank you. 

    Prior to updating flash player, you must first uninstall all previous versions.  Make sure you are downloading from the proper Adobe website = Adobe Flash Player Software
    Flash Player Uninstaller
    Repair permissions and restart your computer after the installations.

  • QT plug-in several problems

    Hi everyone,
    i'm developing a website which use QT plug-in to display an interactive VR movie. This website is composed with a first page with link to a second page that is written with classic ASP and is divided into two frames (upper wich contains the QT and lower which is the target (named targetFrame) of the hotspots).
    I control the QT-plg-in with javascript functions described here:
    https://developer.apple.com/documentation/QuickTime/Conceptual/QTScriptingJavaScript/bQTScripting_JavaScri_Document/chapter_1000_section_6.html#//apple_re f/doc/uid/TP40001526-CH001-DontLinkElementID14
    And i insert the QT OBJECT in my page with the javascript function suggested here:
    https://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/ index.html
    I have encountered several problems to realize this webpage and i ask your help:
    1) in IE (6/7):
    When the user open the second page, all is loaded perfectly, but if the second page were closed and reopened IE ALWAYS crash. I tried with Safari and Firefox but they works very fine.
    2) in Firefox:
    As i explained before, i control QT plug-in with javascript functions suggested by Apple, but Firefox don't recognize theese functions as valid functions and therefore not work.
    3) QT 7.2:
    To control the click of hotspot i use the object parameters like suggested by Apple,:
    QT_WriteOBJECT('vr/vr1.mov','545', '340','','HOTSPOT1','mylink1.asp','TARGET1','targetFrame','HOTSPOT2','mylink2.a sp','TARGET2','targetFrame')
    When i start to develope this website i used QT 6.5, and everything works fine, but when i have installed the QT 7.2, everytime i click on an hotspot it open the link in a new window instead of the target frame i choose.
    As you can realize i cannot publish this website, beacause of this problems.
    Please HELP ME!!!

    Hi Kirk, thank you for your answer.
    Unfortunately, i had to remove the Demo.
    However, i know that the demo works fine with Safari.
    The problems are with IE 6/7 or Firefox.
    I have noticed a strange behavior of the Demo for the first problem.
    I have converted all pages from asp to htm, and tried it in local.
    It works very well and IE never crash.
    I am driving crazy!

  • Plug in settings problem

    Hey all
    I have a slight problem...
    I have transferred all my software from my old mac to my new mac, and now i don't seem to have a single plug in setting for any of my logic plug ins... or any other one for that matter!!!
    I do, however, have several folders called plug in settings with subfolders for each instrument (seems like they were from old versions of logic i had previously installed), but nothing inside the folders.
    S0
    1. What's the correct file structure for logic plug in settings in logic pro 7.1?
    2. Can i re-install plug in settings only from my install disc or a user site online?
    Thanks in advance
    David Tobin

    the factory ones will be on the install disc.
    David
    I have managed to find some plug in settings from an old logic 6 install disc.
    However, i upgraded from 6 to 7, and on the upgrade disc i cant see any plug in settings folder. There is the option to reinstall logic, or to install factory sampler instruments and samples, but nothing about the plug in settings - so where can i find the logic 7 plug in settings without reinstalling the whole programme? Where they on a separate install disc that i have forgotten about?
    David

  • ACI modification with Plug-in, but Problem, it has no effect.

    I wrote Plug-in which modifies some entries' ACI attribute according to client's certain request.
    My Plug-in works well, ACI is updated well, and updated ACI Syntax is legal.
    But, the updated ACI does not effect on Access controll.
    It effects nothing
    until the ldap server is restarted
    or it(the ACI updated by Plug-in) is re-edited via iPlanet console.
    following is real ACI example and more detailed .
    1. After client`s certain request (modifying some entry), following ACI value is added to an entry by plug-in. ( My fellow wrote the plug-in)
    (targetfilter = "(ssoUsPathId=mt04-01)")
    (targetattr = "*")
    (version 3.0; acl "SLAPI-generated Permissions"; allow (all)
    (userdn = "ldap:///uid=ga,ou=user,o=ssoroot??sub?(ssoAccessAllowed=TRUE)");)
    2. But the user "ldap:///uid=ga,ou=user,o=ssoroot??sub?(ssoAccessAllowed=TRUE)");)" has no Access
    to the entries allowed by the updated ACI.
    3. Two mothods make it effect the updated ACI, but it's manual and impractical.
    3.1. one : restart the iplanet ldap server 5.0.
    3.2. two : edit & save the ACI updated by plug-in, through the iPlanet Console 5.0.
         but, "edit & save" only does add meaningless space the ACI.
         following is the same case before and after "edit & save"
    (targetfilter ...) (...) (...) : before
    (targetfilter ...) _(...) (...) : after
    ("_" means space)
         Difference between before & after is only meaningless space.
         Before & after has same meaning in ACI Syntax.
    There is no difference between step 2. and step 3.2. in ACI meaning & syntax.
    4. what can i do for resolving this problem?
         Thanks in advance.

    If you want to ensure the ACI has that value you need to write a pre-op plugin which only makes this change when the aci is changed. Aci's are cached and the only way to trigger a re-cache is a modify operation involving the aci attribute.

  • Recent batches 30" with shadow imprint/persistence problems

    Recently changed 2!!! displays, and both 30" had the same shadow imprints or what some would call persistence. You do not need to leave the display on for a long time, just on it for about a minute, and set any coloured image on a dark bg, eg dark blue, and later switch to the complete bg which had the same dark blue background, u'll definetly be able to see the imprint or shadow coloured image which u viewed previously, its so obvious u wouldnt miss it.

    from wat i understand, it is the vendor thats supplying apple with the "problematic" panels..so the recent batches of the 30" all have the shadow imprint problem, thats why apple is saying that its within specification as they cant reject all the panels from the vendor. Right now i am being in a difficult position as i know i will get back a recent batch with the same problem even if i changed another display.

  • Persistence problems wit seam/hibernate and EntityHome

    This is the scenario(using JBoss Seam 2.2 and JBoss Application Server 5.1.0.):
    I've got TestCases and TestSteps. One TestCase has multiple TestSteps. I have a table that displays the steps and actions like "addStep" and "deleteStep".
    I use rich:inplaceInput to edit existing steps. This works perfectly.
    Adding or deleting a step however does not. When adding, I create an "empty" step which is displayed in the table and the user can then edit it.
    I can't explain how it persists changes to existing steps, but doesn't cooperate when list TestCaseHome.testSteps changes in size.
    Entity TestStep:
    @Entity
    @Table(name = "teststeps")
    public class TestStep implements java.io.Serializable {
         private static final long serialVersionUID = 6534546556882292702L;
         private long id;
         private TestCase testCase;
         private String test;
         private String expectedResult;
         private long ordering;
         @ManyToOne(fetch = FetchType.LAZY)
         @JoinColumn(name = "tc_id")
         public TestCase getTestCase() {
              return this.testCase;
         public void setTestCase(TestCase testCase) {
              this.testCase = testCase;
    }Entity TestCase: Entity CoreTestObject isn't really relevant, TestCase just inherits it's id from it.
    @Entity
    @Table(name = "testcases")
    @PrimaryKeyJoinColumn(name="id")
    public class TestCase extends CoreTestObject implements java.io.Serializable{     
         private Set<TestStep> testSteps = new HashSet<TestStep>(0);
         public TestCase(Set<TestStep> testSteps, ...) {
              this.testSteps = testSteps;
         @OneToMany(fetch = FetchType.LAZY, mappedBy = "testCase")
         @OrderBy("test")
         public Set<TestStep> getTestSteps() {
              return this.testSteps;
         public void setTestSteps(Set<TestStep> testSteps) {
              this.testSteps = testSteps;
    }TestCaseHome:
    @Name("testCaseHome")
    @Scope(ScopeType.CONVERSATION)
    public class TestCaseHome extends EntityHome<TestCase> {     
         @DataModel
         private List<TestStep> testSteps;
         /*@param step The Step after which the new Step is to be inserted*/
         public void addStep(TestStep step){
              testSteps = new ArrayList<TestStep>(this.getInstance().getTestSteps());
              long id, ordering;
              [...] // here I find the id and ordering of step
              testSteps.add(new TestStep(id+1, this.getInstance(), "", "", ordering+1));     
              this.getInstance().setTestSteps(new HashSet<TestStep>(testSteps));
         /*@param step The Step to be deleted*/
         public void deleteStep(TestStep step){
              int index = testSteps.indexOf(step);          
              testSteps.remove(index);
              this.getInstance().setTestSteps(new HashSet<TestStep>(testSteps));          
    }EntityHome:
    public class EntityHome<E> extends Home<EntityManager, E>
       @Transactional
       public String update()
          joinTransaction();
          getEntityManager().flush();
          updatedMessage();
          raiseAfterTransactionSuccessEvent();
          return "updated";
       @Transactional
       public String persist()
          getEntityManager().persist( getInstance() );
          getEntityManager().flush();
          assignId( PersistenceProvider.instance().getId( getInstance(), getEntityManager() ) );
          createdMessage();
          raiseAfterTransactionSuccessEvent();
          return "persisted";
    }View:
    <rich:dataTable value="#{testCaseHome.testSteps}" var="_testStep"
              id="testStepsTable" rowKeyVar="row" autoresize="true">
         <rich:column sortBy="#{_testStep.ordering}"
              sortOrder="ASCENDING" style=" width : 20px;">
              <f:facet name="header">Order</f:facet>
              <rich:inplaceInput layout="block" value="#{_testStep.ordering}"
                   selectOnEdit="true" editEvent="onclick">
                   <a:support event="onviewactivated" ajaxSingle="true"
                        reRender="testStepsTable" />
              </rich:inplaceInput>
         </rich:column>
         <rich:column sortBy="#{_testStep.expectedResult}" [...] </rich:column>     
         <rich:column sortBy="#{_testStep.test}"> [...] </rich:column>
         <rich:column style=" width : 80px;">
              <f:facet name="header">
                   Action
                        </f:facet>
              <a:commandLink ajaxSingle="true" id="deletelink"
                   reRender="testStepsTable"
                   action="#{testCaseHome.deleteStep(_testStep)}">
                   <h:graphicImage value="/img/delete.gif" />
                   <f:param name="testCaseId" value="#{testCaseHome.instance.id}" />
                   <f:param name="testStepFrom" value="TestCase" />
              </a:commandLink>
              <a:commandLink ajaxSingle="true" id="addlink"
                   reRender="testStepsTable"
                   action="#{testCaseHome.addStep(_testStep)}">
                   <h:graphicImage value="/img/plus_icon.gif" style=" width : 16px; height : 16px;"/>
                   <f:param name="testCaseId" value="#{testCaseHome.instance.id}" />
                   <f:param name="testStepFrom" value="TestCase" />
                   <s:conversationId />     <!-- <<<<I thought that might help but it didn't-->
              </a:commandLink>
         </rich:column>
    </rich:dataTable>
    <div class="actionButtons">
         <h:commandButton id="save"
              value="Save" action="#{testCaseHome.persist}"
              disabled="#{!testCaseHome.wired}"
              rendered="#{!testCaseHome.managed}" />
         <h:commandButton id="update"
              value="Save" action="#{testCaseHome.update}"
              rendered="#{testCaseHome.managed}" />
    </div>I cut a lot from the code, I hope I didn't leave anything relevant out. I also hope this is the right place for this question, excuse me if not (noob here).
    I would very much appreciate your help since I'm trying to fix this for weeks. Thank you!

    Hello gimbal2,
    yes, I initialized the collection by myself now and it works better.
    But I think there is a general Problem in the order-Example. The Example isn't implemented as described in the written part of the tutorial and has several other
    bugs with persistence in this example.
    I've installed the turorial with Update Tool. Is it possible that the samples in the update contain a newer/older version than the code that is described in the PDF?
    Thanks,
    Johann

  • Persistence problems

    Hello. I have made myself a web app using Java Server Faces which I am running on Glass Fish V2.
    The problem that I am having is that while the program complies and runs without throwing any exceptions. My entities are not beeing saved to the database when I call the persist() method on them. The primary key of the entity objects (which is set to auto generate) is updated after the call to persist(), and the sequence database table is also updated. But no data is entered in to the database table for the entity object.
    My app reads data from the database that I have inserted via SQL commands by running Queries made in the Java persistencve query lanuage and returns entity objects as you would expect.
    Here is the entity object I am trying to save.
    @Entity
    @NamedQueries({
    @NamedQuery(name="getTimeSheetsBetween",
                query="Select ts From TimeSheet ts Where ts.startDate >= :startDate AND ts.endDate <= :endDate"),
    @NamedQuery(name="getTimeSheetsFor",
                query="Select ts From TimeSheet ts Where ts.timeSheetUser = :user")})
    public class TimeSheet implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @GeneratedValue(strategy = GenerationType.AUTO)
        private Long id;
        @ManyToOne
        private TimeSheetUser timeSheetUser;
        @Temporal(TemporalType.DATE)
        private Date startDate;
        @Temporal(TemporalType.DATE)
        private Date endDate;
        private boolean signedOff;
        @OneToMany(cascade=CascadeType.ALL)
        private List<TimeSheetDay> timeSheetDays;
        public TimeSheet(){
        public TimeSheet(TimeSheetUser pUser, Calendar pStartDate, Calendar pSettingsStartDate, int pLength){
            Calendar testEndDate = (GregorianCalendar) pSettingsStartDate.clone();//modifications to objects passed as method parameters are not reverted after the method is finished
            Calendar testStartDate = (GregorianCalendar) pSettingsStartDate.clone();//so we create new date values to change which will not effect the pSettingsStartDate object
            testEndDate.add(Calendar.DAY_OF_MONTH, pLength);
            while(!(pStartDate.after(testStartDate) && pStartDate.before(testEndDate))){
                testStartDate.add(Calendar.DAY_OF_MONTH, pLength);
                testEndDate.add(Calendar.DAY_OF_MONTH, pLength);
            }//not sure if this is the best way to work this out. Refacter later
            startDate = testStartDate.getTime();
            endDate = testEndDate.getTime();
            signedOff = false;
            timeSheetUser = pUser;
            timeSheetDays = new ArrayList(pLength);
            for(int counter = 1; counter <= pLength; counter++){
                TimeSheetDay day = new TimeSheetDay(testStartDate.getTime());
                timeSheetDays.add(day);
                testStartDate.add(Calendar.DATE, 1);
        Here is the method that saves data
    package timesheet2;
    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.persistence.EntityExistsException;
    import javax.persistence.EntityManager;
    import javax.persistence.Query;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import javax.persistence.PersistenceUnit;
    import javax.persistence.TransactionRequiredException;
    import timesheet2.entities.PayPeriodSettings;
    import timesheet2.entities.TimeSheet;
    import timesheet2.entities.TimeSheetUser;
    import timesheet2.exceptions.*;
    public class DataBaseAccess implements Serializable{
        private static final Logger logger = Logger.getLogger("timeSheet.DataBaseAccess");
        private List<PayPeriodSettings> periodSettings;
        private TimeSheetUser currentUser;
        @PersistenceUnit
        private EntityManagerFactory emf;
        public DataBaseAccess() throws Exception{
            logger.log(Level.INFO, "DBAO being created, timeSheet.DataBaseAccess");
                try{
                    emf = Persistence.createEntityManagerFactory("TimeSheet2PU"); //emf is not injected into the object, don't know why.
                catch(Exception e){
                    System.out.println("there was a problem with making the em " + e.getMessage());
        public TimeSheet getTimeSheet(TimeSheetUser pUser, Date pDate)throws NoPeriodSettingsFound, UserNotFound{
            EntityManager em;
            List<TimeSheet> userTimeSheets = pUser.getTimeSheets();    
            for(TimeSheet ts : userTimeSheets){           
                if(pDate.after(ts.getStartDate()) && pDate.before(ts.getEndDate())) return ts;
            //if we get this far the user does not have a time sheet that covers the given date
            Calendar date = new GregorianCalendar();
            date.setTime(pDate);
            PayPeriodSettings settings = getPayPeriodSettings(date);
            TimeSheet timeSheet = new TimeSheet(pUser, date, settings.getSettingsStartDate(), settings.getPeriodLength());
            try{
                em = emf.createEntityManager();
                System.out.println("Time sheet id = " + timeSheet.getId());
                em.persist(timeSheet);
                System.out.println("Time sheet id = " + timeSheet.getId()); //id is updated at this time.
            catch(EntityExistsException e){
                System.out.println("EntityExistsException with persist method call. " + e.getMessage());
            catch(IllegalStateException ise){
                System.out.println("IllegalStateException with persist method call. " + ise.getMessage());
            catch(IllegalArgumentException iae){
                System.out.println("IllegalArgumentException with persist method call. " + iae.getMessage());
            catch(TransactionRequiredException tre){
                System.out.println("TransactionRequiredException with persist method call. " + tre.getMessage());
            catch(Exception e){
                logger.log(Level.INFO,"Exception: DateBaseAccess.getTimeSheet", e);
            pUser.addTimeSheet(timeSheet);
            return timeSheet;
        }

    Hi,
    We are using JDeveloper 11.1.1.6. We have enabled the MDS on this setup.
    Though its working fine with all the defined components , its not working for af:panelsplitter.
    Can you please update if MDS is working fine with af:panelsplitter in JDeveloper 11.1.1.6?

  • Plug-In compatibility problem

    I'm running CS5.1 on a Windows 7, 64 bit machine.  I've been using plug-in's from Neat Image and OnOne for a long time with no issues.  Now I've installed Topaz Adjust plug-in and I'm having a problem.  Randomly, when I launch Photoshop and look in Filters I will find EITHER my old plug-in's or the new Topaz plug-in.  But never all three at the same time.  And it is always random as to which will load at launch.
    Any thoughts on this problem? 

    Well, that's an interesting point.  I'm pretty sure that I'm running the 64 bit version (at least I thought I was) and all of the plug-in's are supposed to be 64 bit as well.  Topaz comes with both 32 bit and 64 bit so I insured the 64 bit was installed in the Photoshop plug-in folder.  But it is entirely possible that I have managed to get it into the wrong folder set, so I'll have to go back and look at that again tonight.
    I start Photoshop several different ways.  From Bridge I will right click on an image and select to open with Photoshop.  If it's a RAW image then Camera Raw will open first, from there to Photoshop.  Also from Bridge I will often want to work on bracketed images as layers so I'll highlight a set of images and from the tools menu select to open in Photoshop layers.  Then of course there is the desktop shorcut.  Until now it never occurred to me that those actions might be opening different versions of Photoshop.
    Thanks for the suggestion.  I'll get into that tonight.

  • [ID Desktop MAC] plug-in loading problem CS5/5.5

    Hi All,
    I'm running into a very strange problem. I have made 2 plugins (model and UI). They are working perfectly on windows.
    But sometimes on mac, when I put them inside a folder inside the Plug-In folder(eg <Path to indesign app>/Plug-Ins/Myfolder), the plugins do not show but they do get loaded as the total count gets increased by 2.
    If I put the plugins directly in the Plug-Ins folder, they get loaded and they show up also.
    Also putting them inside a subfolder (eg <Path to indesign app>/Plug-Ins/Myfolder) sometimes makes indesign crash.
    Is there a code related reason behind it?
    Regards
    maddy1907

    Do you use any third party frameworks or dylib's? This seems to be a problem with the install path of some framework or dylib's you might be using. Try to launch the plugins from XCode and look into gdb for any messages, you could get the idea of the cause of failure to load.
    You could also check the dependency of your plugin by using the otool command on the executable of the plugin to check for all dependencies and the executable paths of the dependencies.
    Hope this solves your problem.
    Thanks
    -Manan

  • MAC OS X Clientless VPN Plug-in Installation Problem Solved

    I have nearly pulled my hair out trying to get clientless VPN connections to work for Mac users looking to connect into our RV220W.
    The key is to connect to the router as root the first time in order to avoid VPN plug-in installation permissions issues.
    Preconditions: Java must be installed. Installing Java 7 for Mac OS X is 64-bit. This means that 32-bit browsers like Chrome cannot be used and that only 64-bit browsers like Safari will work with the plug-in.
    Part 1 – Install the VPN Plug-in
    Enable the root user account.
    Log into the Mac as root.
    Connect to the RV220W VPN portal.
    Enter your credentials.
    Select VPN Tunnel menu item
    Hit the SSL VPN Tunnel Client Installer / Launcher icon.
    When prompted, run the Installer.
    The VPN should connect.
    Disconnect from the VPN and log out of the root System Administrator account.
    Part 2 – Use the VPN Plug-in
    Log in as your normal user account.
    Connect to the router’s VPN portal.
    Enter your credentials.
    Select VPN Tunnel menu item
    Hit the SSL VPN Tunnel Client Installer / Launcher icon.
    When prompted, run the software.
    The VPN should connect.

    I solved my problem by downloading and installing the "Final Cut Pro Universal (supports Intel)" .sit version of the plug-in, which is not the default. I will inform StageTools that the default .zip download doesn't seem to work.

  • Flash Plug-In crashing Problem

    I keep having a problem with Flash Plug-In crashing even after downloading the suggested upgrades . Never had a problem with this before installing the two most recent Firefox upgrades. How can I get rid of this problem or this program?

    Hi bpiette,
    Have you looked at our [https://support.mozilla.org/en-US/kb/firefox-crashes-or-flash-plugin-crashes Flash plugin troubleshooting section]? There is a lot of useful information in there that should help you get to the bottom of your issue.
    Hopefully this helps!

  • * newbie alert * kodo persistence problem

    Trying to follow this oh so easy example:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/JDev11gExperience/JDev11gExperience.html
    Here's the last few lines of the exception error...
    The following providers:
    kodo.persistence.PersistenceProviderImpl
    org.apache.openjpa.persistence.PersistenceProviderImpl
    Returned null to createEntityManagerFactory.
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:154)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
         at sample.model.JavaServiceFacade.<init>(JavaServiceFacade.java:12)
         at sample.model.JavaServiceFacade.main(JavaServiceFacade.java:19)
    Process exited with exit code 1.
    Connecting through an JDBC-ODBC bridge to an Ingres database (other locking issues make it difficult to connect using native ODBC driver)
    fairly simple logic... connect to a single table then display one field out of the table to the console
    [Tuserprof.java]
    @Entity
    @NamedQueries({
    @NamedQuery(name = "TUserprof.findAll", query = "select o from TUserprof o")
    [JavaServiceFacade.java]
    public static void main(String [] args) {
    final JavaServiceFacade javaServiceFacade;
    javaServiceFacade = new JavaServiceFacade();
    // TODO: Call methods on javaServiceFacade here...
    List<TUserprof> emps = javaServiceFacade.getTUserprofFindAll();
    for (TUserprof tUserprof : emps) {
    System.out.println(tUserprof.getFirst_name());
    Here's the persistence.xml file
    <?xml version="1.0" encoding="windows-1252" ?>
    - <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
    - <persistence-unit name="Model-1" transaction-type="RESOURCE_LOCAL">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <class>sample.model.TUserprof</class>
    - <properties>
    <property name="eclipselink.jdbc.driver" value="sun.jdbc.odbc.JdbcOdbcDriver" />
    <property name="eclipselink.jdbc.url" value="jdbc:odbc:sys10 sql" />
    <property name="eclipselink.jdbc.user" value="report" />
    <property name="eclipselink.jdbc.password" value="C21EECE0FBC5CC41A77C390BE52548ED" />
    <property name="eclipselink.logging.level" value="FINER" />
    <property name="eclipselink.target-server" value="WebLogic_10" />
    </properties>
    </persistence-unit>
    - <persistence-unit name="Model">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>java:/app/jdbc/jdbc/sys10sqlDS</jta-data-source>
    <class>sample.model.TUserprof</class>
    - <properties>
    <property name="eclipselink.target-server" value="WebLogic_10" />
    <property name="javax.persistence.jtaDataSource" value="java:/app/jdbc/jdbc/sys10sqlDS" />
    </properties>
    </persistence-unit>
    </persistence>
    NO CLUE on how to solve the error... any assistance would be appreciated...
    Edited by: shawnc on Mar 14, 2011 2:58 PM

    NO CLUE on how to solve the errorFirst step STOP using a JEE server to figure out the problem.
    Write a simple Java console app to test your ODBC set up. If you can't get that to work then you can't get it to work in JEE.

  • Use persistEntity problem

    Dear all:
    I hava dropped a constructor and a persistEntity from the Data controls palette ,to insert a record ,and in this table has a column which type is number(6,2), when i run the project and click the persistEntity button,errors diplay as follows:
    JBO-29000: Unexpected exception caught: java.lang.IllegalArgumentException, msg=argument type mismatch,
    and the af:inputText's value is number(10.00 or 10),why is that?
    Thanks

    Thanks for you help and it runs well!
    but i am confused about when i use ${bindings.VsaMirOfferInfo.result} ,except the double type column has problem, other type columns(e.g:Intger String) are good.
    Alex

Maybe you are looking for