Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » updateAction() missing when I create an SDO
updateAction() missing when I create an SDO [message #225326] Thu, 02 August 2007 08:47 Go to next message
Eclipse UserFriend
Originally posted by: lafual.hotmail.com

I am using Eclipse3, WAS6, Oracle10g and connecting to a database where my
account has insert, update, delete access on a table. However, when I
create an SDO / Relational Record List for this table, I only get an
fetchAction, no updateAction()! Does anyone know why? (maybe an incorrect
Oracle JDBC driver?)
Re: updateAction() missing when I create an SDO [message #225341 is a reply to message #225326] Thu, 02 August 2007 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Anthony,

I suppose it's possible that someone might answer such a question here,
but it sounds like your asking about functionality that isn't provided
by any Eclipse project but rather by some product you've purchased, so
you'd likely be best to ask on that product's forum...


Anthony Leon wrote:
> I am using Eclipse3, WAS6, Oracle10g and connecting to a database
> where my account has insert, update, delete access on a table.
> However, when I create an SDO / Relational Record List for this table,
> I only get an fetchAction, no updateAction()! Does anyone know why?
> (maybe an incorrect Oracle JDBC driver?)
>
Re: updateAction() missing when I create an SDO [message #225400 is a reply to message #225341] Thu, 02 August 2007 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lafual.hotmail.com

I am using the Eclipse IDE. When one right clicks on an Oracle table in
the JSF Page Data view, Eclipse offers the opportunity to create data
accessor classes that conform to the SDO. Eclipse generates the classes to
read, but not update the. I couldn't say whether this is the result of the
code of the Eclipse IDE or some underlying 3rd party package creates the
classes. [Ed thanks for your quick response, it's comforting to find a
news group where one gets an answer the same day :-) ]
Re: updateAction() missing when I create an SDO [message #225424 is a reply to message #225400] Thu, 02 August 2007 15:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Anthony,

Hmmm. JSF implies you are probably installing WTP as well. The SDO
generation is likely something EMF (my project) is supporting, but
that's just the APIs for the data model. Maybe the DTP tools are
involved too... Is there any information in the Error log view that
might help indicate that something is failing?


Anthony Leon wrote:
> I am using the Eclipse IDE. When one right clicks on an Oracle table
> in the JSF Page Data view, Eclipse offers the opportunity to create
> data accessor classes that conform to the SDO. Eclipse generates the
> classes to read, but not update the. I couldn't say whether this is
> the result of the code of the Eclipse IDE or some underlying 3rd party
> package creates the classes. [Ed thanks for your quick response, it's
> comforting to find a news group where one gets an answer the same day
> :-) ]
>
Re: updateAction() missing when I create an SDO [message #225900 is a reply to message #225424] Mon, 06 August 2007 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lafual.hotmail.com

there is nothing in \metadata\.log

The XML file created from using the GUI and referred to in the pageCode
class is below.

<?xml version="1.0" encoding="UTF-8"?>
<com.ibm.websphere.sdo.mediator.jdbc.metadata:Metadata xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:com.ibm.websphere.sdo.mediator.jdbc.metadata="http:///com/ibm/websphere/sdo/mediator/jdbc/metadata.ecore"
rootTable="//@tables.0">
<tables schemaName="IDB_BROKER_D" name="IT_GROUP"
collisionColumn="//@tables.0/@columns.0">
<primaryKey columns="//@tables.0/@columns.0"/>
<columns name="RT_ID"/>
<columns name="RT_NAME" type="4"/>
<columns name="RT_LAST_CHANGE" type="12"/>
</tables>
</com.ibm.websphere.sdo.mediator.jdbc.metadata:Metadata>
Re: updateAction() missing when I create an SDO [message #225908 is a reply to message #225900] Mon, 06 August 2007 13:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Anthony,

Probably you should ask about this on a WAS forum since this appears to
be something proprietary.


Anthony Leon wrote:
> there is nothing in \metadata\.log
>
> The XML file created from using the GUI and referred to in the
> pageCode class is below.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <com.ibm.websphere.sdo.mediator.jdbc.metadata:Metadata
> xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:com.ibm.websphere.sdo.mediator.jdbc.metadata="http:///com/ibm/websphere/sdo/mediator/jdbc/metadata.ecore"
> rootTable="//@tables.0">
> <tables schemaName="IDB_BROKER_D" name="IT_GROUP"
> collisionColumn="//@tables.0/@columns.0">
> <primaryKey columns="//@tables.0/@columns.0"/>
> <columns name="RT_ID"/>
> <columns name="RT_NAME" type="4"/>
> <columns name="RT_LAST_CHANGE" type="12"/>
> </tables>
> </com.ibm.websphere.sdo.mediator.jdbc.metadata:Metadata>
>
Re: updateAction() missing when I create an SDO [message #225932 is a reply to message #225424] Mon, 06 August 2007 13:51 Go to previous message
Eclipse UserFriend
Originally posted by: lafual.hotmail.com

I also noticed something else;
* If I choose Relational Record List, I only get doXXXFetchAction().
* If I choose Relational Record; I get the following options that are not
supplied with Relational Record List (not typed word-for-word);
- What action do you want to initialise the record?
x Fill with existing data ?
x Create an empty record ?

If I choose 'Create an empty record', I get doXXXFetchAction and
doXXXUpdateAction().

If I choose 'Fill with exiting data', I get doXXXFetchAction,
doXXXUpdateAction() AND doXXXDeleteAction() !

I really wanted Fetch, Update and Delete on the record list.
Previous Topic:Source control deletes bookmarks
Next Topic:Overriding eclipse menu and toolbar
Goto Forum:
  


Current Time: Wed Jul 03 10:21:16 GMT 2024

Powered by FUDForum. Page generated in 0.08473 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top