NWDS - Persistence Outline/Persistence Properties View

Hi,
When i develop a new EJB 3.0 project, add persistence to it and generate entities i find that Persistence Properties View and Persistence Outline view are populated and i can work as has been described in the documentation.
However when i open the imported the EDM EJB application and open any entity for e.g. Employee or Project these two views dont get populated.
Am i doing something in a different way or is this is default behaviour.
Regards
Sidharth

Hi Sidharth!
In order to work with Persistence Properties view and Persistence Outline view (Dali plugin) you have to mark your current project as being an Java Persistence project. The EDM EJB application was developed without using the Dali plugin and thus they are not activated for use with Dali.
If you wish to use Dali with this project you have to open the context menu of the project, choose "Java Persistence" and then "add Java Persistence". After that you will be guided through a wizard that connects your EJB project at design-time with the underlying data source. If you are asked for the database connection, use the preconfigured JP1 connection with the schema SAPDEMO. Furthermore you should uncheck the checkbox for creating a new persistence.xml because there is already one that you probably don't want to override. After finishing the wizard you are ready to use the Dali plugin with your project.
Best Regards,
Robin

Similar Messages

  • Problems with properties view

    Hi guys.
    I have one problem that I cant fix. First of all I am going to describe my project.
    I using EMF for my models, and I have my own navigator and couple editors for models. Some of editors have table with list of models as input and some add/remove buttons. My navigator and editors implementing ITabbedPropertySheetPageContributor to return contributor id, and override getAdapter() like this:
    @SuppressWarnings("rawtypes")
    @Override
    public Object getAdapter(Class adapter) {
    if (adapter == IPropertySheetPage.class) {
    return new TabbedPropertySheetPage(this);
    return super.getAdapter(adapter);
    So properties are showing for all models (even same) in navigator and editor. Also I have undo action on my project, this action it is handler that calls UIUndoLastOperationController.
    If I try to delete model from Editors table, content provider notifies listener (SelectionChangedListener) in TabbedPropertySheetPage, and selectionChanged(SelectionChangedEvent event) method is called, that hide properties view. But if I try to create new model in my table, go to navigator and call Undo action (created model disappear from table) and go back to Editor - properties view are no hide, and listener in TabbedPropertySheetPage is not notified.
    Could anybody help my with this problem, maybe someone already had this problem.
    Thanks in advance for any tips.
    Best regards, Ruslan.

    Hi guys.
    I have one problem that I cant fix. First of all I am going to describe my project.
    I using EMF for my models, and I have my own navigator and couple editors for models. Some of editors have table with list of models as input and some add/remove buttons. My navigator and editors implementing ITabbedPropertySheetPageContributor to return contributor id, and override getAdapter() like this:
    @SuppressWarnings("rawtypes")
    @Override
    public Object getAdapter(Class adapter) {
    if (adapter == IPropertySheetPage.class) {
    return new TabbedPropertySheetPage(this);
    return super.getAdapter(adapter);
    So properties are showing for all models (even same) in navigator and editor. Also I have undo action on my project, this action it is handler that calls UIUndoLastOperationController.
    If I try to delete model from Editors table, content provider notifies listener (SelectionChangedListener) in TabbedPropertySheetPage, and selectionChanged(SelectionChangedEvent event) method is called, that hide properties view. But if I try to create new model in my table, go to navigator and call Undo action (created model disappear from table) and go back to Editor - properties view are no hide, and listener in TabbedPropertySheetPage is not notified.
    Could anybody help my with this problem, maybe someone already had this problem.
    Thanks in advance for any tips.
    Best regards, Ruslan.

  • Properties view usability

    Hello,
    From my experience with Sirius I think that it would be nice for usability purposes to be able to open in a pop-up/wizard only the semantic tab of the Properties view (without the rulers or appearance) by double-clicking (using Double Click Descriptors I suppose) on an representation element (digram, table, tree...).
    I read some documentation about opening eef wizard on double-click herehttps://www.eclipse.org/sirius/doc/viewpoint-eef.html#OpeningEEFwizardonadoubleclick, but I found it difficult to integrate with EEF. Can't one just make the semantic tab show up as is?
    Regards

    Hello,
    A solution could be to create a Double-Click tool that will next
    delegate the job to your own Service or Java Action (instead of the EEF
    Java Action) that will open the properties view. Unfortunately, there is
    no default Java Action provides by Sirius to open a properties view wizard.
    Regards,
    Florian
    On 07/23/2015 11:38 AM, Tiago Jorge wrote:
    > Hello,
    >
    > From my experience with Sirius I think that it would be nice for
    > usability purposes to be able to open in a pop-up/wizard only the
    > semantic tab of the Properties view (without the rulers or appearance)
    > by double-clicking (using Double Click Descriptors I suppose) on an
    > representation element (digram, table, tree...).
    >
    > I read some documentation about opening eef wizard on double-click
    > herehttps://www.eclipse.org/sirius/doc/viewpoint-eef.html#OpeningEEFwizardonadoubleclick,
    > but I found it difficult to integrate with EEF. Can't one just make the
    > semantic tab show up as is?
    >
    > Regards
    Florian - Obeo
    Need professional services for Sirius?
    http://www.obeodesigner.com/sirius

  • How to prevent editing a SharePoint site column value from document properties view of a downloaded document?

    Hi,
    We have created a SharePoint site column with below settings
    1. ShowInEditForm - False
    2. ShowInNewForm - False
    3. ShowInDisplayForm - True
    With the above definition, the site column showing only in view properties form not in New and Edit forms.  This column is added to a document library and updating this column value will be managed by event receiver code when a document is uploaded.
    Till this point, everything is working OK.
    But the issue is when we download and open a document from the above document library, under document properties the above column (with value) is visible along with other document default properties and  this column value is editable. With this issue,
    user is able to set a new value and overwrite the existing value by re-uploading the document.
    Could you please let me know how to handle this issue so that user should not be allowed to edit except viewing the value/property (read only)?
    Thanks in advance.
    Regards
    Ramesh

    You can set "ShowInFileDlg" property of field to "FALSE". Using this you will not see that field in document properties list

  • CONFIGURATION PROPERTIES VIEW ON OWB

    Hi people, we want to know if there is some view or table on OWB Repository where we can see the values of the Configuration Properties dialog for each mapping.
    Otherwise we have to open OWB client, expand the mappings tree and open the Dialog for each mapping.
    Our OWB version is 10g R1 10.1.0.1.
    Thanks in advance for your help.
    JESUS B.H.
    Lima, Perú

    I'm not sure about a view or table but there are a useful set of experts for working with configuration values. Look in the Utilities, Tips & Tricks Exchange link on the OWB OTN page and search for Expert. It is listed for 10GR2 so I'm not sure if it works on your version. It uses OMB scripting though, so you could look at that to get the configuration properties.
    Dave

  • Need an outliner - high level view...

    Does InDesign have anything like an outliner? I'm looking for the ability to view (and possibly) rearrange large blocks of text. What I'm looking for is sort of like a TOC, but I'd like to not have to regenerate a TOC every time I need to see how my organization of the information has changed. I know that Story Editor does a little of this, but it also puts in all the body text, and I just need to see the headings.
    I know a little bit about XML and InDesign, but I've never practically used it, so I'm not sure if that would do the trick. My understanding is that XML structured is applied spearately from ID paragraphs tags, and can be applied indepently of formatting. Is this correct?
    Thanks.

    Hi Gregory,
    I guess the answer is that this depends. My first question is whether you are looking at a Relational OLAP or Multi Dimensional OLAP solution? This may change the discussion slightly, but just lets look at some thoughts:
    In essence you can use the OWB bridge to generate the AW objects (cubes etc). If you do that (for either ROLAP or MOLAP) you will get the AW objects enabled for querying, using any OLAPI query tool, like BI Beans or the new Discoverer for OLAP. The current OWB release does not run the discoverer enabler (creating views specifically written for EUL support in Disco classic).
    So if you are looking at Disco classic you must use the AWM route...
    The other things that you must be aware off is that the OWB technology is limited to cloning the relational objects for now. This means that you will create a new model based on your existing data. If you want to tweak the objects generated you will probably need to go to the underlying code in either scenario.
    So if you want to create calculated measures for example you could generate a cube with OWB, create a "dummy measure" and add the formula in OLAP DML. The same will go for some other objects you may want to create such as text measures...
    The benefit of creating place holder or dummy measures is that the metadata is completely in order, you simply change the measure's behavior...
    For the future (the beta starts relatively soon) OWB will support much more modeling, like logical cubes and you can then directly deploy to OLAP. Also the mappings are transparent to the storage. So you map to a logical cube and OWB will implement the correct to load either OLAP or relational targets.
    We will also start supporting calculated measures, sparsity definitions, partioning and compression on cubes, as we will support parallel building of cubes.
    Hope this gives you some insight!
    Jean-Pierre

  • Visible outlines in keyline view fh 9 &10?

    Hi, I wonder if someone could help me with this, it's something I'm really struggling with ..
    If you convert typed letters to paths and then add an outline that is larger, when you view this in keyline the added outline doesnt show as it does in preview. For vinyl cutting work the cutting machines follow visible lines .. how do you get this larger outline to show so that a vinyl cutter would have a line / path to follow to cut the larger outline?
    I have even tried the trace tool but it doesnt trace the outline smoothly or accurately enough know matter what settings I try.
    Help to solve this problem would be greatly appreciated!
    Thanks ..
    Darren

    One idea is to start with your original text formatted exactly as you want it and then clone it in place. Expand the edges of your cloned text using the Inset Path panel. You will need to fiddle with measurement to get the right outline spacing but a larger outline will now show in Keyline mode. see examples:
    In Keyline mode:

  • DB read only access role with properties view of a database

    Hi,
    We need to access database properties for SQL server 2000/2005/2008. I am pretty sure that 2005/2008 can be accessed with db_datareader role. Not sure whether same can be used with SQL 2000 instances. CAn anyone provide clarity on this?

    You can use db_datareader on SQL 2000, but as Satish says, you don't need it only to access database properties.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • File System Location properties: view path (OWB 11..2.0.1 Windows)

    Newbee question:
    From the tutorial "Handling Flat File and COBOL Copybook Sources in Mappings", I imported the metadata for ETL_OWNER. It contains file locations such as SRC_FLAT_FILES_LOCATION but I cannot find any way to view its path in the file system. I created my own file locations where I can specify a path in the Create File System Location wizard, but afterwards, I can neither inspect nor change the path.
    Thanks for help
    Sebastian

    Thank's for help, I am simply not used to the user interface. The Connections Explorer seems to have disappeared in 11gR2 but the Locations node still exists, listing all file locations. However, the property inspector does not display the file's path, somewhat counterintuitively. Double-klicking the file location opens the Edit window containing the path.

  • Deploy failure due to jta-data-source in persistence.xml

    Hey All,
    This is driving me insane. Every example, including the Sun tutorials (which don't work on my instance of Glassfish), list persistence.xml files like:
    "<?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
         <persistence-unit name="persistence_sample">
    <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
    <jta-data-source>jdbc/SamplesDB</jta-data-source>
    <non-jta-data-source>jdbc/SamplesDB__nontx</non-jta-data-source>
    </persistence-unit>
    </persistence>"
    I've tried every combination of <persistence...> tags, with namespace definitions, posted in examples on the internet, but my problem is, any time I deploy my ear with a "<jta-data-source>" tag specified, I receive the following failure from the App Server:
    "Error loading deployment descriptors for module [pi-0] Line 26 Column 24 -- Deployment descriptor file META-INF/persistence.xml in archive [pi-ejb.jar]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'jta-data-source'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
         at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:352)
         at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:327)
         at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:332)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:182)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jta-data-source'. One of '{"http://java.sun.com/xml/ns/persistence":class, "http://java.sun.com/xml/ns/persistence":exclude-unlisted-classes, "http://java.sun.com/xml/ns/persistence":properties}' is expected.
         at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:285)
         at com.sun.enterprise.deployment.archivist.Archivist.readPersistenceDeploymentDescriptor(Archivist.java:1718)
         at com.sun.enterprise.deployment.archivist.EjbArchivist.readPersistenceDeploymentDescriptors(EjbArchivist.java:239)
         at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:301)
         at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:200)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:308)
         at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:316)
         ... 11 more"
    Note that this only happens when I have a <jta-data-source> element in the persistence.xml file. When I comment out the jta-data-source, it deploys without problems (though it doesn't do much). Here's my persistence-unit code:
    <persistence-unit name="prodcontext" transaction-type="JTA">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <class>OneOfMyClasses</class>
    <jta-data-source>jdbc/SamplesDB</jta-data-source>
    </persistence-unit>
    Please help.
    Thank you,
    Todd

    Okay okay, my mistake (staring at this thing too long).
    The solution is, I confess I overlooked it, the jta-data-source node in the xml has to follow the exact order specified in the xsd. I was putting it below the class nodes, which is a no-no.

  • Change outline colors in Flex View?

    The orange and green outlines in Flex View are hard to distinguish with my particular red/green colorblindness variant. Is there a configuration knob that can customize the outline colors?

    This adjustment is not offered.

  • View layers as outlines even with alpha set to 0

    Is there a setting that will allow me to see layers in outlines even though the alpha of the movieclip is set to 0%? I swear I used to be able to see an outline of my clips even though the alpha is all the way down... now if my clip is alpha down there's no outline when i 'view as outlines' in the timeline. maybe i accidently changed a setting some where? anybody know about this... it's making me nuts. thanks!

    Hi Jen,
    I was probably using CS4 at the time, but I just did a test with CS5 and I've got the same result.
    Here are some screen grabs and the fla
    http://www.workalicious.com/cilp_alpha_layer_outline.fla
    Thanks!
    Dave K.

  • Express - Outline Window - Double

    Hi
    We are to find a way to make en express outline window show all 10
    digits of a double.
    Express seems to prefer scientific notation, a unexpected and unwanted
    'feature'.
    Does anyone know how to avoid this.
    best wishes
    jens chr juul jensen
    KAD, Denmark
    [email protected]

    hi,
    To create a webdynpro proejct in the NWDS, you mainly need 2 things:
    Webdynpro window perspective and a few few views. Outline is a view.
    To open the required views, move to Windows>Show View>Outline
    regards,
    pinki

  • NWDS BPM Notification - Variable Type

    Hi NWDS BPM Experts,
    I'm creating an email notification and I need to send a table in the message body.  When I create a variable, the variable type in automatically set to string.  Based on SAP Help I should be able to change the variable type but the dropdown is not abailable, I cannot change the type.  Would you have an idea how to do this?
    Sap help:
    pecify the E-mail Subject and Text
    When you specify the subject and text of the e-mail, you can optionally use variables to provide them with dynamic content from the process context.
    1. In the Properties view of the notification, open the Mail tab page.
    2. Specify the necessary text in the Subject and Message fields under Parameterized Texts .
    3. (Optional) Choose the Add pushbutton under Variables to add a variable.
    The system automatically fills in values in the Name and Type fields, which you can edit. You define an expression with the expression editor.
    4. Select the value in the Name field to rename the variable.
    Caution
    You can only use the letters A-Z, the numerals 0-9, and an underscore (_) in the variable name.
    5. Select a type of the variable from the Type dropdown menu if you want to change the type that was filled in automatically.
    You must set a type before you create an expression.
    6. Choose the Edit... pushbutton to define an expression in the expression editor. Choose the OK pushbutton.
    Rgds,
    Yves

    To add more details about what I'm trying to do, I want to add all records of a table data container as part of the body of the message.  So not sure how to do this.
    Rgds,
    Yves

  • View attributes can not be retrieved. View instance not found or undefined

    Hi,
    I am creating a simple master detail OAF page. For this I have done following steps:
    1. Created ParentEO and ChildEO
    2. Created ParentVO with a transient attribute called "SelectFlag" with default value "Y" .
    3. Created ChildVO
    4. Created a UserViewLink.
    5. Created Application module (UserAM).
    6. New Page UserPG
    7. In the main region I have defined Application Module.
    8. Under the main region, I have created a new advanced table region with following properties:
    View Instance : ParentVO1
    Detail View Attribute : SelectFlag
    View Link Instance: UserViewLink.
    Now when I click to select the "Child View Attribute", it gives a pop up saying "View attributes can not be retrieved. View instance not found or undefined".
    Please help, I am not able to proceed on this.
    Thanks,
    Anupam

    Anupam,
    I do not see in your steps where you associated the VO with the AM. In order to select an attribute, the AM must have an instance of the VO associated with it. Double click the AM in the navigator. Click Data Model and shuttle the VO's you want to be available from the left to the right.
    Hope this helps.
    Kristofer

Maybe you are looking for

  • How do I change alphabetical element listing in xml to nested xml using xslt?

    Have an 'Bus Card Request' indd form exported to fillable form pdf (reader enabled etc). Have 'Bus Card Template' indd to receive the BC data from the returned filled pdf form. The tags & structure are identical on both indd docs. The xml exported fr

  • Photoshop Script  Black and White Raster to Vector

    I do not have AI Adobe for I do not want to spend the money and have to learn an other complex Adobe application. I'm no artist either.  However at rimes I wanted  to have AI live trace feature to change black and white line drawing into vector graph

  • Rollover image problem

    Hello, got a problem with my site carolynalexander.co.uk that is driving me crazy. On a few of my pages I've inserted roll over buttons with dreamweaver. When you roll over them the image changes just like I wanted but an extra block of colour appear

  • Data from SRM to ECC for IDoc Creation

    Hi, Please help me for below requirement. PO and Changed PO details are coming from SRM-IBX server to XI and then IDOcs is getting generated in ECC. We are sure that we are not missing any data in XI that is coming from IBX server. But most of the ti

  • Can't install Adobe Air 2.0.3 on Snow Leopard

    Hi, I upgraded Air from 1.5.x to 2.0.3, but failed with error #2038. After that I have uninstalled the adobe air and did a re-installation, but got the same error again. Anyone can help me with this problem? Thanks