Create JPub class for table of records/record types and access them
Hi,
I have the following object types in the database:
PERSON_REC with 3 fields and
PERSON_TAB table of PERSON_REC
I have created a Java class for PERSON_REC using JPub. The created class implements CustomDatum and CustomDatumFactory. How do I do it for table of records type i.e PERSON_TAB??
I have a stored procedure that has PERSON_TAB as a OUT parameter. How do retrieve the value from callablestatement? Is there a sample code anywhere. Kindly direct me.
I have seen sample code and documentation for PERSON_REC type from JPub but not for table of records; also there is no sample code for accessing them from JDBC. Please help me..
Thanks and regards,
Vadi.
Vadi,
Try searching this forum's archives for the words "STRUCT" and "ARRAY".
Good Luck,
Avi.
Similar Messages
-
How to create a record for table PLAF with order type 'NB'.
How to create a record for table PLAF with order type 'NB'(standard purchase order).
who can tell me the T-code or some usefull information?
Thanks.Hi
This will be updated automatically when generate planned orders thru MRP. (MD02)
regards
Srinivas -
Unable to create Entity objects for tables in TimesTen database using ADF
Hi,
I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
Is ADF even supported with TimesTen?
Chris -
How to create proxy class for a Siebel WS which has many Workflows in it?
Hi,
I am facing a strange problem. I have a Web Service for which there are many workflows associated with this. When I generate WSDL for this Web Service and later on generate proxy class in .NET, it creates mutilple classes for each workflow. From UI, I can invoke a perticular method for the class for which I am interested in. But when I am building the same in JDeveloper, using Web Service proxy, I get only one class and I am not interested in invoking method in this class but interested in some other class for which the proxy was not generated. Is there some way to generate multiple classes in JDeveloper proxy?
Thanks,
Sudha.I have figured this out. Actually Generate proxy creates package and it includes all the class in it. Now i am able to invoke web service method call.
-
Creating A Class For A ComboBox Component
I have a comboBox component that I would like to create a
class for. But I am not sure if I could. I see how you can use the
Linkage window to assign an AS 2.0 Class to a movie clip, but I do
not see that same option for a comboBox component.
It has all of the basic combo box things that I would like to
seperate out into it's own class if possible
If anyone could give me a few tips, or better yet, point me
to a few good tutorials, that would be great.
Thanks
MathiasI have a comboBox component that I would like to create a
class for. But I am not sure if I could. I see how you can use the
Linkage window to assign an AS 2.0 Class to a movie clip, but I do
not see that same option for a comboBox component.
It has all of the basic combo box things that I would like to
seperate out into it's own class if possible
If anyone could give me a few tips, or better yet, point me
to a few good tutorials, that would be great.
Thanks
Mathias -
How do I create Wrapper class for Message Box?
I want to create Wrapper class for Message Box class in my project. I am using Telerik Testing FrameWork. In that message box was not recognized in unit testing thats y i want to create wrapper class, for creating the
instance for that mesage box.A wrapper class is simply a class that for example wraps another object or a subset of its methods. You could just create a class that exposes the same methods as the MessageBox and uses the MessageBox internally.
If you define an interface and program against this in your application, you could replace your wrapper object with another object that implements the same interface when you are doing the unit tests. Something like this:
public interface IMessageBoxWrapper
System.Windows.Forms.DialogResult Show(string text, string caption);
public class MessageBoxWrapper
public System.Windows.Forms.DialogResult Show(string text, string caption)
return System.Windows.Forms.MessageBox.Show(text, caption);
public class MockMessageBoxWrapper
public System.Windows.Forms.DialogResult Show(string text, string caption)
return System.Windows.Forms.DialogResult.OK;
private readonly IMessageBoxWrapper _mbw;
public Form1(IMessageBoxWrapper mbw)
InitializeComponent();
_mbw = mbw;
private void SomeMethod()
_mbw.Show("...", "...");
Hope that helps.
Please remember to close your threads by marking all helpful posts as answer and please start a new thread if you have a new question. -
i created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?
Expanding and clarifying what BJD said;
After you create the temporary sub-VI that BJD mentioned, open its front panel and copy the reference control that LV created when it created the sub-VI.
This reference control will be correct class etc that you need. Use the control to replace the original control that you were attempting to wire up.
The technique of "create sub-VI...copy" always works for me.
There is one more thing that you should watch out for.
The mechanical action of the boolean can not be set for latch action when attempting to read the value using a value property node.
Trying to help,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
I have some my violin recorded audio files and want them to be converted to printable notation throw "audio to score"from Factory. But do not have a normal result. Could someone help me, please. .
seeren wrote:
Normal result is on the sloppy side of inaccurate.
Wish I'd started this topic so I could give you a green star!
Great description. -
What are message tables and their role?How to create and access them ?
hi,
Can any body clarify me about What are messaging tables and their role(use) in DataBase?How to create and access them ?
Thanks in advance
GopiIf you have doubt that's you have an idea. So, explain your idea please, because I don't see what are "messaging tables".
Did you say about Oracle database ? Apps ?...
Nicolas. -
How to force business to create Manual Invoice for a particular OM Trx Type
Hi Guru's,
How do i force business to create Manual Invoice for a particular OM Trx Type?For some order types,we dont want auto invoice to creae invoice automatically.business wanted to create manually.How do we achieve it.
Rgds,APHello,
I think you should create new source ( type manual ) and transaction type ( I think you can use this you use in autoinvoice) in AR. After that you can create manual invoice.
Regards,
Luko -
How do I search for lines with a particular pattern and delete them when a match occurs
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
Lines in what? And what language are you using to develop with?
Are the lines in a text file? A RichTextBox? A TextBox? Some other control? A List(Of String)?
Is there some expectation by you that by providing what you wrote in your question post that the knowledge in your mind about what you are thinking about will mysteriously emanate to anybody reading your post so all of the sudden your knowledge will
become their knowledge and they will be able to provide you with an answer as they will suddenly understand what you are trying to do? Because that's probably impossible. Most people try providing enough information in a question so anybody, even stupid people
like me, can understand what they want. Maybe you should try that. As well as selecting an appropriate forum for your question in the future. Usually a question like this is related to programming in a particular language therefore a language forum may be
a good choice. Or not.
La vida loca -
Settings for the relation of requirement type and planned order type
Dear Gurus
Where we maintain the settings for the relation of requirement type and planned order type?Actually I have maintained strategy 60 for a particular material (planning material) so the requirement type is vsev and along with that the planned order type is coming is vp i.e non convertible planned order.That is ok the system is behaving right.But nowhere I can find the setting of vp with vsev how the system is picking vp?
Regards
Sandip SarkarHi!,
That is an inbuilt sytem setting and you can't change that.
Regards,
Uday -
How to create object class for a z table
Hi All,
I have a z table and I want to register the changes of fields should be logged to CDHDR and CDPOS table.
Is this possible?
If yes how can I creat an object class for a z table. I have already checked the change document option in z data element.
Please help.
Regards,
Jeetu
Moderator message: standard functionality, please search for available information/documentation before asking.
locked by: Thomas Zloch on Oct 6, 2010 6:16 PMTcode SCDO. You'll need to create a change document for you Z table and then use the FM created to record the changed data.
-
Problem creating inner class for JTable panel in a class for an application
i want to create an inner class for a database application development.
but there is occuring exceptions & errors.i want to retrieve data & enter data also from many tables in a database.i want an urgent help for this plz.http://forum.java.sun.com/thread.jsp?forum=57&thread=271752
See this thread, please. -
How to create Transaction code for Table Maintanance generator.?
Hi,
I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
Thanks in advance.
Best Regards,
Paddu,Hi,
Check the below steps......
1. Go to Tcode u2018se93u2019.
2. Select ' Transaction with parameters'.
3. Then Transaction 'SM30' with click on skip initial screen
VIEWNAME : XXX9tABLE NAME)
UPDATE : X
4. Maintain the Table maintenance generator
Authorization group : &NC&
Authorization object :
Function group : name(xxx)
Maintenance Screens :
Maintenance type : One step
Maint Screen No : Overview screen (2)
If still u have problem I will send u steps with Screen shot ...send me Yr id.
Regards,
Biswanath
Maybe you are looking for
-
HP Slate 21 audio issue after KitKat update and reset
I have upgraded my HP Slate 21 from JB to KK. Now the sound quality is very bad! I came directly from xxx.11 kernel and made factory reset but didn't get a good result. Please how can I fix this tremendous issue?
-
Recommended second 27 inch monitor for imac 27
can anyone recommend a second monitor for a 27 inch imac for around £300
-
Hi, I'm just getting started with JCAPS, and am going through the Java(TM) Composite Application Platform Suite Tutorial. I'm at the point of defining the fields for the CustomerInfo message. The tutorial says to set the Part Type to xsd:string. Howe
-
We could not complete your Itunes Store Request. There is not enough memory
I am getting this error message, when I try to update applications on my iphone 3.0.1. iTunes version is 8.0.2 Please Help
-
Face recognition using elemets 8 to lightroom 3
Experiementing with face recognition using elemets 8 then trying to export the meta data to my lr catalog.. so far not working. any ideas?