Help with JPA Inheritance Relationship Mapping

Perhaps someone can help with this. I'm trying to figure out how to map what seems like a simple data model using JPA. But it is not working.
@Entity
public class Account {
    @OneToOne(cascade=CascadeType.ALL)
    private AbstractPaymentMethod paymentMethod;
@Entity
@MappedSuperClass
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name="__CLASS__", discriminatorType=DiscriminatorType.STRING, length=20)
@DiscriminatorValue("AbstractPaymentMethod")
public abstract class AbstractPaymentMethod {
@Entity
@Table(name="payment_method")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name="__CLASS__", discriminatorType=DiscriminatorType.STRING, length=20)
@DiscriminatorValue("CreditCardPaymentMethod")
@SuppressWarnings("serial")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class CreditCardPaymentMethod extends AbstractPaymentMethod {
    @Column
    private String expirationDate;
}The problem is, when I add a CreditCardPaymentMethod to an account like this...
Account account = new Account();
CreditCardPaymentMethod m = new CreditCardPaymentMethod();
account.setPaymentMethod(m);
em.persiste(account);... The entity manager attempts to save account.creditCardPaymentMethod as an AbstractPaymentMethod.
Surely I'm doing something horribly wrong. Is there something I'm missing here?
Thanks for any help.

Thank you! You saved my life. After removing @MappedSuperClass, all is well.
The entity manager is now saving my CreditCardPaymentMethod objects as CreditCardPaymentMethod classes instead of AbstractPaymentMethod classes.

Similar Messages

  • Need Help with One to One Mapping in SQL

    Can aynone please design me tables in Oracle .
    I want to have a two tables with one to one mapping .
    Following is the scenario.
    I have an Employee object and a Parking Space Object. The have a one to one relation i.e., an employee will always be associated to only one parking space, that parking space should not be associated to any other employee.
    It would be a great help .

    sb92075 wrote:
    We don't do homework assignments.I used to do my own... seems like a novel concept now-a-days :)

  • Help with BC and Google maps integration

    Hi, I am considering going for the paid option of BC so that I can have access to the web apps.  But before I go ahead, I have  a few questions for someone who may be able to help.
    I am building the site on adobe muse - this is not the latest version of muse as I am working on an windows 7 computer.  Would all the BC web apps work on the site for all it is not the latest version?
    Also, the thing  I am really interested in is the ability to do an interactive map, building pins etc at the back end - is there any tutorials that anyone can point me to to help possibly with styling of say the little pop up box?  I have watched the AID+BC muse and BC dynamic duo webinar on aidbc already, but wondered if there was more tutorials that would help.
    Also, is it possible to use a stylized map, or do you have to go with the default google map?  If you can use a stylized map, how do you add this to the BC web app.
    Sorry for so many questions, but need to know before I make the leap onto a paid BC option.
    Many thanks for anyone who can help
    Michele

    HI Michelle,
    Muse can not and does not utilise or have access to all that BC is. It does not give you access to the layouts and things like eCommerce and Web apps in the full ability sense. You can build interactive maps with the google API, web apps as the source of data, using the address lat and long or geo location ability etc But its not something you can do really Muse on its own.

  • Embeded Total Views , Help with creating AW limit map

    Hi,
    I am trying to crate ETV but my limit map exceed 4000 ch. so I have to store
    it as text variable in AW...
    Does any one knows how exatly to do that....
    I have no experience with AW worksheet , a brief tutorial with examples will
    be much appreciated.
    pc. I am not using the plug in for ETV because it does not work properly with my AWM

    hi
    well you have 2 options.
    the first is in the olap table function. It can take multiple varchars to overcome the 4000ch limit.
    i.e.
    olap_table(
    'OLAP.AW duration SESSION',
    '4000 characters of limit map',
    'second 4000 characters of limit map',
    'third 4000 characters of limit map'....
    it will take 8 limit maps in this way.
    The other uses an olap variable to hold the limit map then uses substitution in the table function. To do this using the olap worksheet (accessed from AWM) you need to firstly define a text variable.
    this is done with
    define myvar VARIABLE TEXT
    now make you limit map and set the entire limit map string to the olap variable:
    set myvar = 'MEASURE .... DIMENSION..... '
    Update and commit this to save it as a permanent part of the AW.
    Now in the olap_table function we can use substitution instead of putting the whole limit map in. It would now look like:
    olap_table(
    'OLAP.AW duration SESSION',
    '&myvar');
    Hope that helps
    Alex

  • Help with jpa paging exception

    hi i have the following method that does paging in an ejb. (dont mind the string params, not using them yet)
    @Override
    public List<DatamainMst> findAll(String srchCallup, String srchSurname, String srchOthernames, String srchInst, String srchCourse,int first, int pagesize) {
    List<DatamainMst> mst = em.createQuery("select o from DatamainMst o")
    .setFirstResult(first).setMaxResults(pagesize).getResultList();
    return mst;
    my database table has about 61868 records. the whole paging works well until "first" argument is 61200, and irrespective of the page size, i always get the following exception:
    WARNING: java.lang.NullPointerException
    at nysc.entities.DatamainMst._persistence_set(DatamainMst.java)
    at org.eclipse.persistence.internal.descriptors.PersistenceObjectAttributeAccessor.setAttributeValueInObject(PersistenceObjectAttributeAccessor.java:46)
    at org.eclipse.persistence.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1367)
    at org.eclipse.persistence.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1258)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:331)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:660)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:582)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:551)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:491)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:443)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
    at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
    at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
    at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:675)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
    at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2857)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
    at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:453)
    at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:681)
    at com.nysc.setup.MobilizedEJB.findAll(MobilizedEJB.java:37)
    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.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1056)
    at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1128)
    at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5292)
    at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:615)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:567)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139)
    at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367)
    at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5264)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5252)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:190)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)
    at $Proxy139.findAll(Unknown Source)
    at com.nysc.view.MobilizedMBean.populateLazyDatamain(MobilizedMBean.java:46)
    at com.nysc.view.MobilizedMBean.access$000(MobilizedMBean.java:21)
    at com.nysc.view.MobilizedMBean$1.load(MobilizedMBean.java:64)
    at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:644)
    at org.primefaces.component.datatable.DataHelper.decodePageRequest(DataHelper.java:53)
    at org.primefaces.component.datatable.DataTableRenderer.decode(DataTableRenderer.java:47)
    at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:790)
    at javax.faces.component.UIData.processDecodes(UIData.java:980)
    at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:472)
    at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:175)
    at javax.faces.component.UIData.visitTree(UIData.java:1194)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIForm.visitTree(UIForm.java:324)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:368)
    at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:246)
    at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:179)
    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:939)
    at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
    at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:619)
    WARNING: A system exception occurred during an invocation on EJB MobilizedEJB method public java.util.List com.nysc.setup.MobilizedEJB.findAll(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,int)
    javax.ejb.EJBException
    at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5119)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5017)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4805)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2004)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:198)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)
    at $Proxy139.findAll(Unknown Source)
    at com.nysc.view.MobilizedMBean.populateLazyDatamain(MobilizedMBean.java:46)
    at com.nysc.view.MobilizedMBean.access$000(MobilizedMBean.java:21)
    at com.nysc.view.MobilizedMBean$1.load(MobilizedMBean.java:64)
    at org.primefaces.component.datatable.DataTable.loadLazyData(DataTable.java:644)
    at org.primefaces.component.datatable.DataHelper.decodePageRequest(DataHelper.java:53)
    at org.primefaces.component.datatable.DataTableRenderer.decode(DataTableRenderer.java:47)
    at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:790)
    at javax.faces.component.UIData.processDecodes(UIData.java:980)
    at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:472)
    at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:175)
    at javax.faces.component.UIData.visitTree(UIData.java:1194)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIForm.visitTree(UIForm.java:324)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
    at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:368)
    at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:246)
    at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:179)
    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:939)
    at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
    at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
    at nysc.entities.DatamainMst._persistence_set(DatamainMst.java)
    at org.eclipse.persistence.internal.descriptors.PersistenceObjectAttributeAccessor.setAttributeValueInObject(PersistenceObjectAttributeAccessor.java:46)
    at org.eclipse.persistence.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1367)
    at org.eclipse.persistence.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1258)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:331)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:660)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:582)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:551)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:491)
    at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:443)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
    at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
    at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
    at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:675)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
    at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
    at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2857)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
    at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:453)
    at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:681)
    at com.nysc.setup.MobilizedEJB.findAll(MobilizedEJB.java:37)
    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.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1056)
    at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1128)
    at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5292)
    at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:615)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:567)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139)
    at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367)
    at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5264)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5252)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:190)
    ... 55 more
    i dont know what the problem is, it seems like an eclipse link problem?
    what can i do?

    Well look at the generated code and if you can fix it. The code generator might have a bug so it will be worth reporting it in the bugs database of the netbeans website.
    But I would advise you to do the proper thing: don't generate code. Generate getters and setters, but don't let the entire entity be generated. Do the mappings yourself, determine for yourself where you need bi-directional mappings (hint: as little as possible). Make sure that you do EAGER and LAZY initialization in the proper places. Fine tune the nullable,insertable,updateable flags to help the ORM generate the most efficient (and correct) queries possible.
    In other words take control, don't let the tool be in control.

  • Need little help with JPA code and displaying database data into tables

    Hello Everyone,
    I am using java6 and Netbeans 6.1 on Windows XP platform.
    This is probably very simple but have'nt been able to figure it out yet. I am using the Travel Java Databse included in NB6 as a learning tool.
    I have a JComboBox connected to Person Table and want to display a Trip table from using the selected item from theJcombobox. In other words, Trip table shows only the Person selected from the Jcombobox.
    If someone could point me on the right direction how to code JPA code or how to use NB6 GUI to accomplish this.
    Thanks

    The w and wi are just table aliases that make it easier to
    referrence those tables by column when joining multiple tables
    (avoids having to prefix column names with the entire table name,
    etc.) When doing a self-join (joining a table to itself), the use
    of table aliases is
    required, otherwise you would have no other way to tell
    which column belonged to which "instance" of table.
    The query itself is pretty simple. It is just using a
    correlated subquery to select only those instances of
    workstationApps where the count of appID instances in
    workstationAppIndex is less than the amount specified in the
    maxConcurrentInstalls for the same appID.
    Also, I do see what you are doing with #form.searchType#, I
    was just making sure that it was what you really intended to do.
    Phil

  • Help with JPA

    hi, hmmm i'm totally new to EJB, i must say JPA is confusing (at least for me), but "never give up, right?" , Ha!.
    ok, m reading an article now, nd we have these two classes
    @Entity
    public class Inventory {
    @Id
    @Column(name="ITEM_SKU", insertable=false, updatable=false)
    protected long id;
    @OneToOne
    @JoinColumn(name="ITEM_SKU")
    protected Item item;
    public void setItem(Item item) {
    this.item = item;
    this.id = item.getSKU();
    //////////// and
    @Entity
    public class Item {
    protected long SKU;
    @Id
    @GeneratedValue
    public long getSKU() {
    return SKU;
    i think i understand the annotation part, my question is this?
    1).does it mean the ITEM_SKU column in the inventory table will contain an object of Item entity or what?
    2).are both entities persistable? if yes, if you persisit an inventory entity, what will the ITEM_SKU column contain?.
    please, help and if u gat links to usefull material, please drop.
    thanks.

    Hi,
    You will have two tables in the DB named Inventory and Item.
    Inventory will have a column named ITEM_SKU. This is the primary key, and it's a foreign key to the second table Item. Item has a column named SKU.
    The entities are persistable, however if you try to persist the inventory without an Item (null instance variable) you will probably get an exception, because the primary key, or the foreign key constraint will fail.
    If it's not null, both objects will be persisted. So 2 records will be written into the database.

  • Need help with class inheritance

    I've got a class called jemAccount and i need to create a savings account class and a checking account class that inherit from it.
    Here is the jemAccount:
    public class jemAccount
    protected String myName;
    protected double myBalance;
    protected double[] withdrawls = new double [50];
    protected double[] deposits = new double [50];
    protected int withIndex = 0;
    protected int depIndex = 0;
    public jemAccount ()
    myBalance = 0;
    public jemAccount (String newName)
    myName = newName;
    myBalance = 0;
    public jemAccount (String newName, double newBal)
    myName = newName;
    myBalance = newBal;
    public void setName(String newName)
    myName = newName;
    public double balance()
    return myBalance;
    public void withdrawl (double amount)
    if (amount < 0)
    myBalance += amount;
    else
    myBalance -= amount;
    if (withIndex < 50)
    withdrawls[withIndex] = amount;
    withIndex++;
    public void deposit (double amount)
    if (amount > 0)
    myBalance += amount;
    if (depIndex < 50)
    deposits[depIndex] = amount;
    depIndex++;
    public void printAccount()
    System.out.println("Owner of account: " + myName);
    System.out.println("Balance of account: " + myBalance);
    System.out.println("Deposits: ");
    for (int i = 0; i < depIndex; i++)
    System.out.println(" " + deposits);
    System.out.println("");
    System.out.println("Withdrawls: ");
    for (int i = 0; i < withIndex; i++)
    System.out.println(" " + withdrawls[i]);
    System.out.println("");
    System.out.println("");
    } // end of class jemAccount
    Here are my requirements for the savings account class:
    � Call the class "abcSaveAccount".
    � Have this class inherit from "jemAccount"
    � Add a float for keeping track of the yearly interest rate of the checking account. Call this class variable "interest" Make it protected.
    � Add a public constructor for the savings account class. It should have one parameter, a float that initializes the new savings account class variable. This constructor should also call the parent class constructor with no arguments.
    � Add a public method for calculating interest. Call it "calcInterest". Have it take one parameter, an integer which represents the number of months to calculate the interest for. This method should return a float, the result of the interest calculation. For example, if 30 months are entered as a parameter of 30, then 2 and one/half years of interest on the balance are calculated and returned.
    Here are the requirements for the checking account class:
    � Call the class "abcCheckAccount"
    � Have this class inherit from "jemAccount"
    � Add an array for keeping track of the checks you write. For now, just make this an array of 100 doubles, very similar to withdrawals
    � Add a public constructor for the checking account class. It should have zero parameters. This constructor should also call the parent class constructor with no arguments.
    � Add a new public method to your checking account class. Call it "writeCheck". This should take one double parameter. If the value of the parameter is positive, subtract the parameter from the balance, and copy the value into the "checks" array. (Keep the checks and withdrawals separate.) Else do nothing.
    � Override the "printAccount" method. Have the checking account "printAccount" run its parent "class printAccount", then print out a list of the checks, after the list of the withdrawals.
    Here's what i have so far for the savings account class:
    public class abcSaveAccount extends jemAccount
    protected float interest;
    public void abcSaveAccount (float newSavings)
    super ();
    public calcInterest (int numberMonths)
    return interest;
    And here's what i have so far for the checking account class:
    public class abcCheckAccount extends jemAccount
    double[] checks = new doulbe[100];
    public abcCheckAccount ()
    super ();
    public writeCheck (double value)
    if (value >= 0)
    balance = balance - value;

    Few changes,
    public class abcCheckAccount extends jemAccount {
         private double[] checks = new double[100];
         private int checkIndex;
         public abcCheckAccount() {
              super ();
              checkIndex=0;
         public void writeCheck (double value) {
              if ( value >= 0) {
                   withdrawl(value);
                   checks[checkIndex++]=value;
         public void printAccount() {
              super.printAccount();
              System.out.println("Checks:");
              for (int i = 0; i < checkIndex; i++) System.out.println("     "+checks[ i ]);
              System.out.println("");
              System.out.println("");
    } // end of abcCheckAccount classand
    public class abcprog {
       public static void main (String args[]) {
              abcCheckAccount check = new abcCheckAccount();
              check.setName("Sudha");
              check.deposit(1000.0);
              check.deposit(200.0);
              check.withdrawl(112.0);
              check.writeCheck(300.0);
              check.printAccount();
              abcSaveAccount save = new abcSaveAccount(6);
              save.setName("Mike");
              save.deposit(1000.0);
              save.withdrawl(112.0);
              save.printAccount();
              System.out.println("Calculated Interest : "+save.calcInterest(120));
    }U can use this program to test your classes.
    Sudha

  • Help with Message Mapping - Context Change

    I need help with the following message mapping.  I am filtering by EMP_STAT in the Message Mapping.  I have this working for the ROW structures, but I can get the HEADER/REC_COUNT field to calculate.  I can do just a record count of ROW and get it to work, but I can't get it to work with the filter EMP_STAT = 'REG' added.  I get a context error.  Could someone send me the mapping code.
    Sender XML----
    <RECORD>
    <ROW>
    <EMPLOYEE>111</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>222</EMPLOYEE>
    <EMP_STAT>PT</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>333</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    </RECORD>
    Receiver XML----
    <RECORD>
    <HEADER>
    <REC_COUNT>2</REC_COUNT>
    </HEADER>
    <ROW>
    <EMPLOYEE>111</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>333</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    </RECORD>

    Hello,
    You can use this mapping
    For REC_COUNT:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> count -> REC_COUNT
                                     EMPLOYEE -> /
    For ROW:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> ROW
                                     EMPLOYEE -> /
    For EMPLOYEE:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> SplitByValue -> EMPLOYEE
                                     EMPLOYEE -> /
    For EMP_STAT:
    Constant: REG -> EMP_STAT
    Hope this helps,
    Mark

  • [SOLVED] VIM - need help with keymapping

    As the header says, I need help with creating a key mapping in my vimrc. What I would like is a
    mapping to<F8> that would toggle between " :set paste and :set nopaste. " Any and all help
    would be appreciated
    Last edited by orphius1970 (2010-03-02 07:50:22)

    YES!!!!  Thank you! Exactly what I was hoping for. I am new to vim so all these config options
    are a little intimidating for now. Thank you again!!!!

  • Please help with OWB Mapping for Children Parent relationship attributes.

    Hi there,
    I am pretty new to Oracle Warehouse Builder (Ver10.2.0.3). If you have attempted the following, appreciate if you can share your knowledge.
    I have to create a mapping to populate the following attributes in a Children Parent relationship mapping.
    1. isleaf
    2. path
    3. descendant_level
    4. parent_level
    5. descendant_order (tree walking)
    6. root_parent
    Please refer to the following SQL which is based on the scott/tiger EMP table. This SQL generates me the above attributes correctly.
    select h.*,
    nvl(i.descendant_level,0),
    nvl(j.parent_level,0),
    row_number()
    over(partition by SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) order by ROWNUM) - 1 DESCENDANT_order,
    SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) parent
    from (select
    emp.empno,
    emp.ename,
    emp.mgr,
    decode(connect_by_isleaf,0,'N',1,'Y') isleaf,
    sys_connect_by_path(emp.empno,'/') path
    from emp
    CONNECT BY MGR = PRIOR EMPNO) h,
    (select
    level descendant_level,
    emp.empno
    from emp
    CONNECT BY MGR = PRIOR EMPNO
    start with mgr = 7839) i,
    (select
    level parent_level,
    emp.empno
    from emp
    CONNECT BY MGR = PRIOR EMPNO
    start with mgr = 7839) j
    where h.empno = i.empno(+)
    and SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) = j.empno(+)
    order by nvl(parent_level,0),nvl(descendant_level,0),DESCENDANT_order
    I searched OTN and found the following document:-
    http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$10
    I tried all the 3 variations of the expression below in my FILTER condition.
    CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO
    CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO START WITH INOUTGRP1.ENAME = 'KING'
    START WITH INOUTGRP1.ENAME = 'KING' CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO
    When I tried to validate each of the above expression, it came back with the following error:-
    'ORA-00936 missing expression' error.
    Hope someone can help me with the above or better still have done the above and can sent me an MDL export file.
    Thanks in advance.
    Regards
    Rudy

    Hi Carsten,
    Thanks for your help.
    Oracle Support provide me the solution. I have to do the following:-
    1. Set the mapping's "Default Operating Mode" and "Generation Mode" to 'Set Based'
    2. Changed the Filter condition to "CONNECT BY PRIOR INOUTGRP1.EMPNO = INOUTGRP1.MGR"
    You right, the Filter condition still produce an error 'ORA-00936 - missing expression' when I tried to 'Validate', but it deployed and executed successfully.
    Again thanks for your help.
    Regards
    Rudy

  • TS1702 After I updated my new Ipad  with IOS 6, now Map& Dictation icon are not working. please help me

    After I updated my new Ipad  with IOS 6, now Map& Dictation icon are not working. please help me

    Thank you wjsten for your soon reply. Unfortunately on these days I'm in a country that Apple don't have any retail store here and for sake of time I prefer to fix it myself to DHL it to the nearest country to use its warranty. Do you have any idea how can I fix it? Do you think it's a software issue?

  • I need help with my mapping - CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV

    hi, guys, i need help with my mapping, i dont know this error (i not speak english)
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping already defined in interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Object-Id:4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="1" type="T">Mapping-SWCV:88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Step:1 </Trace>
    <Trace level="1" type="T">Mapping-Type:JAVA_JDK </Trace>
    <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_mm_sgipi_fi001_vta_clientes_ </Trace>
    <Trace level="3" type="T">MTOM Attachments Are Written to the Payload </Trace>
    <Trace level="3" type="T">Dynamic Configuration Is Empty </Trace>
    <Trace level="3" type="T">Executing multi-mapping </Trace>
    <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
    help me please

    you can use the sharedobject to record a user/computer has taken your quiz, the session data and record their results.  at the start of your quiz, check for the sharedobject and, if it exists, check the other data and take appropriate action.

  • Help with java mapping

    PI File adapter has a processing option u2018Empty-Message Handlingu2019 to ignore or Write Empty Files. In case there is no data created after mapping on target side then this option determines whether to write an empty file or not. But there is a catch to this option when it comes to using it with File Content Conversion which is described in SAP Note u2018821267u2019. It states following:
    I configure the receiver channel with File content conversion mode and I set the 'Empty Message Handling' option to ignore. Input payload to the receiver channel is generated out of mapping and it does not have any record sets. However, this payload has a root element. Why does file receiver create empty output file with zero byte size in the target directory?  Example of such a payload generated from mapping is as follows:                                                           
    <?xml version="1.0" encoding="UTF-8"?>                          
    <ns1:test xmlns:ns1="http://abcd.com/ab"></ns1:test>
    solution :
    If the message payload is empty (i.e., zero bytes in size), then File adapter's empty message handling feature does NOT write files into the target directory. On the other hand, if the payload is a valid XML document (as shown in example) that is generated from mapping with just a root element in it, the File Adapter does not treat it as an empty message and accordingly it writes to the target directory. To achieve your objective of not writing files (that have just a single root element) into the target directory, following could be done:
    Using a Java or ABAP Mapping in order to restrict the creation of node itself during mapping. (This cannot be achieved via Message Mapping)
    Using standard adapter modules to do content conversion first and then write file. 
    can someone help with java mapping that can be used in this case?

    Hi,
        You have not mentioned the version of PI you are working in. In case you are working with PI 7.1 or above then here is the java mapping code you need to add after message mapping in the same interface mapping
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class RemoveRootNode extends AbstractTransformation{
         public void execute(InputStream in, OutputStream out)
         throws StreamTransformationException {
    // TODO Auto-generated method stub
    try
         DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder builderel=factory.newDocumentBuilder();
         /*input document in form of XML*/
         Document docIn=builderel.parse(in);
         /*document after parsing*/
         Document docOut=builderel.newDocument();
         TransformerFactory tf=TransformerFactory.newInstance();
         Transformer transform=tf.newTransformer();
         if(docIn.getDocumentElement().hasChildNodes())
              docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
              transform.transform(new DOMSource(docOut), new StreamResult(out));
         else
              out.write(null);
    catch(Exception e)
    public void setParameter(Map arg0) {
    // TODO Auto-generated method stub
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    try{
         RemoveRootNode genFormat=new RemoveRootNode();
         FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
         FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
         genFormat.execute(in,out);
         catch(Exception e)
         e.printStackTrace();
    public void transform(TransformationInput arg0, TransformationOutput arg1)
              throws StreamTransformationException {
         // TODO Auto-generated method stub
         this.execute(arg0.getInputPayload().getInputStream(), arg1.getOutputPayload().getOutputStream());
    In case you are working in PI 7.0 you can use this code
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class RemoveRootNode implements StreamTransformation{
         public void execute(InputStream in, OutputStream out)
         throws StreamTransformationException {
    // TODO Auto-generated method stub
    try
         DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder builderel=factory.newDocumentBuilder();
         /*input document in form of XML*/
         Document docIn=builderel.parse(in);
         /*document after parsing*/
         Document docOut=builderel.newDocument();
         TransformerFactory tf=TransformerFactory.newInstance();
         Transformer transform=tf.newTransformer();
         if(docIn.getDocumentElement().hasChildNodes())
              docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
              transform.transform(new DOMSource(docOut), new StreamResult(out));
         else
              out.write(null);
    catch(Exception e)
    public void setParameter(Map arg0) {
    // TODO Auto-generated method stub
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    try{
         RemoveRootNode genFormat=new RemoveRootNode();
         FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
         FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
         genFormat.execute(in,out);
         catch(Exception e)
         e.printStackTrace();
    The code for PI 7.0 should also work for PI 7.1 provided you use the right jar files for compilation, but vice-versa is not true.
    Could you please let us know if this code was useful to you or not?
    Regards
    Anupam
    Edited by: anupamsap on Dec 15, 2011 9:43 AM

  • Help with mapping the mod_plsql path with Apache

    Hi,
    I need help with mapping my pl/SQL Handler path.
    Currently i have an URL like this :
    http://myhost.com/pls/DADUSER/PLSQLPROC?param1=123
    But I need something like :
    http://myhost.com/d/PLSQLPROC?param1=123
    I tried to rename the "Location Handler" from "pls" to "d", works great, but it always appends my Default DAD User to the URL.
    And I tried to map my PL/SQL Handler to "/" and create a DAD User called "d" and set it to default. Didn't worked...
    Any help is appreciated....
    Bye,
    Oliver
    null

    Oliver,
    try to use the rewrite directive or the
    rewrite engine (mod_rewrite).
    Please see the Online documentation for how
    to do this:
    http://technet.oracle.com/docs/products/ias/doc_library/1021doc_otn/comm.102/a87562/apptroub.htm
    Hope it helps
    -Stefan

Maybe you are looking for

  • I accidently copied one gmail acct onto my new gmail acount in Thunderbird, how do I delete it?

    I have 3 different e-mail accounts on Thunderbird. JJ@gmail is my main account. My new acct is tman@gmail. I foolishly tried to move 3 folders from the main acct into the new acct., rather than simply create new folders. Now I have copies of my main

  • Deployment Error

    My datasource is MySql. When I try to deploy the application I get the following error: javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: Error in allocating a connection. Cause: null What am i doing wrong???

  • So my mac book keeps telling me my start up disc is full!!!! help me!!!

    ive been getting these pop ups for a wyle now. its starting to really worry me! im not super new to mac. i know that you have to empty the trash. i have also used different types of free programs because i dont want to waist my money on one. they hel

  • Proecure to be executed at specific time

    Hi All, I have created a procedure which will create table on top of data from another schema, but i want the procedure to be executed at midnight as there would be some udpates in database during the day until midnight. I want to create my tables on

  • Dataguard - logical standby - need help - not updating data at commit

    Hi Need help ? We have logical standby setup where data is not updated at standby when committed at Primary. It only updates when alter system swith logfile. On Primary: log_archive_dest_2='service=xxStandby LGWR ASYNC valid_for=(online_logfiles,prim