EJB and Oracle9i Object Relational Features
Hy,
Somebody knows where is some information (pdf, html, anything) about work with EJB to load and manipulate the new oracel9i object realtional features (nested tables, varrays, ref, ...)????
Thanks
Fernando -- At this time the best way to work with the object-relational features is with BMP. Some of those capabilities can be used with TopLink as well. Lastly, we are looking at how best to leverage these in the future.
Thanks -- Jeff Schafer
Similar Messages
-
ANN: Eclipse EJB 3.0 Object-Relational Mapping Project Requirements posted
A document that presents an intitial feature and use case list for the early milestones of the Eclipse EJB 3.0 Object/Relational Mapping project has been posted to the project newsgroup (news://news.eclipse.org/eclipse.technology.ejb-orm). It also demonstrates a set of user interface components for editing EJB 3.0 Entities. The document covers the basics and is designed to illustrate the concept. It is in no way comprehensive. For example, it doesn't thoroughly cover the editing of ORM xml descriptors although this is an important requirement for the project. ORM xml support will be detailed in coming revisions, and slated for future milestones.
The purpose of this document is to invite comment on the approach. If you are interested in EJB 3.0 Entity support in Eclipse please give the doc a look over and post your feedback to the EJB 3.0 Object-Relational Mapping Project newsgroup.
Newsgroup: news://news.eclipse.org/eclipse.technology.ejb-orm
Simple Web Interface http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.ejb-orm
--Shaun Smith
Project Overview:
The goal of this project is to add comprehensive support to the Eclipse Project for the definition and editing of Object-Relational (O/R) mappings for EJB 3.0 Entity Beans. EJB 3.0 O/R mapping support will focus on minimizing the complexity of mapping by providing creation and automated initial mapping wizards, and programming assistance such as dynamic problem identification. The implementation will be extensible so third party vendors can add to its functionality.
Project Proposal:
http://www.eclipse.org/proposals/eclipse-ejb30-orm/index.htmlA document that presents an intitial feature and use case list for the early milestones of the Eclipse EJB 3.0 Object/Relational Mapping project has been posted to the project newsgroup (news://news.eclipse.org/eclipse.technology.ejb-orm). It also demonstrates a set of user interface components for editing EJB 3.0 Entities. The document covers the basics and is designed to illustrate the concept. It is in no way comprehensive. For example, it doesn't thoroughly cover the editing of ORM xml descriptors although this is an important requirement for the project. ORM xml support will be detailed in coming revisions, and slated for future milestones.
The purpose of this document is to invite comment on the approach. If you are interested in EJB 3.0 Entity support in Eclipse please give the doc a look over and post your feedback to the EJB 3.0 Object-Relational Mapping Project newsgroup.
Newsgroup: news://news.eclipse.org/eclipse.technology.ejb-orm
Simple Web Interface http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.ejb-orm
--Shaun Smith
Project Overview:
The goal of this project is to add comprehensive support to the Eclipse Project for the definition and editing of Object-Relational (O/R) mappings for EJB 3.0 Entity Beans. EJB 3.0 O/R mapping support will focus on minimizing the complexity of mapping by providing creation and automated initial mapping wizards, and programming assistance such as dynamic problem identification. The implementation will be extensible so third party vendors can add to its functionality.
Project Proposal:
http://www.eclipse.org/proposals/eclipse-ejb30-orm/index.html -
Oracle8i Object-Relational Features Problem(How to manipulate value by Member Method)
sorry ~ I've never use 8iLite before, but I really want to figure out this !
How can I create a Object Table , define Member Functions to change it's self
attribute value ~
for example :
CREATE OR REPLACE TYPE HumanType AUTHID CURRENT_USER AS OBJECT (
id NUMBER(3,0),
name VARCHAR(4),
age NUMBER(3,0),
MEMBER FUNCTION getName RETURN VARCHAR2,
MEMBER Procedure ageChange(c_age IN NUMBER)
CREATE OR REPLACE TYPE BODY HumanType AS
MEMBER FUNCTION getName RETURN VARCHAR2 IS
BEGIN
RETURN (SELF.name);
END;
MEMBER PROCEDURE ageChange(c_age IN NUMBER) IS
age NUMBER;
BEGIN
age:=age+c_age;
END;
END;
CREATE TABLE MAN OF HumanType;
There is one record in MAN table.
ID NAME AGE
1 VIC 21
in SQLplus I command
SQL> SELECT m.agechange(5) FROM MAN m WHERE ID=1;
THE ERROR MESSAGE IS :
ERROR AT LINE1;
ORA-06553: PLS-222: no function with name 'AGECHANGE' exists in this scope
Q1.WHY CAN'T I USE the Member Method to Change the Value of itself ?
Q2.Is there any other site can discuss Oracle Object-Relational Feature ?
Thank you very much!hi,
u r trying to return values but u r using procedure. that's first mistake
then u declared variable called age in proc. from where does the age value comes. do u assume it will take column value. if so its wrong.
start trying with simple examples
ex: CREATE OR REPLACE TYPE HumanType AS OBJECT (
id NUMBER(3,0),
name VARCHAR(4),
age NUMBER(3,0),
MEMBER FUNCTION ageChange(c_age IN NUMBER) RETURN NUMBER
CREATE OR REPLACE TYPE BODY HumanType AS
MEMBER FUNCTION ageChange(c_age IN NUMBER) RETURN NUMBER IS
age NUMBER;
BEGIN
age:=age+c_age;
RETURN AGE;
END;
END;
now try with ur sql stt
since there is no value for variable age it will be treated as null and the result will be : null. it won't give error
try this.
if u have oracle 8 complete reference book refer pages 628 to 630.
ie. Methods, creating metods. -
Object Relational Features supported??
We want to hide our relational datamodel from our application by usage of object views. Our .Net applcation should communicate with the database just handling objects.
How well are object relational features supported in ODP.Net? Can object relational features be better exploited via oo4o? Is this a feasible solution at all?
Thanks for input,
StephanOk. But as you know there are few thirdy party vendors that offer object-realtional mapping products for C#.Net applications. But all of them are not only for just one DB f.e:Oracle, but for many f.e;Oracle, SQL Server, Postgre SQL etc. BUt in my opinion it is not good solution for enterprise applications. Because if you plan to use Oracle DB, so your mapping tool must support most of Oracle features. F.e: mapping packages, using sequences.
Dear Mark William. Have you ever used such product regarding C#.Net Windows Forms and Oracle10G? Could you possibly give me advice about it? What can be achieved from applying mapping product instead of using only relational data at .NET dataset level?
I mean object-oriented application with relational data vs not object-oriented application with relational data.
Thanks in advance. -
Can ODM or/and DM4j support Object-Relational features?
I'd like to apply data mining on some object-relational tables, however, it seemed that DM4j does't support user-defined object attributes. Did I miss something? Will ODM itself support object-relational, or I need to wait for a later version. I'm using ODM 9.2.0.4 now.
ODM does not support the direct access of object types.
In ODM 10.1 the pl/sql api does support two object types that are predefined by ODM.
Currently there are no plans to support object types directly. -
Using pure object-relational features for all
Hi all, as a general hint I wonder if we can manage database contents and definitions in terms of pure objects.
E.i. having always "create table x of y", instead of "create table x (...)", using refs instead of relations, querying on objects, and alike.
If yes, how about indexes ?
As a connected issue - can we alter an object table by changing the definition of involved objects, e.i. adding/dropping fields, much like in traditional tables for adding/removing columns ?
Thanks.See, for example:
to REF or not to REF?
Re: to REF or not to REF?
OR(DBMS) or R(DBMS), That is the Question
http://www.toadworld.com/Knowledge/DatabaseKnowledge/DatabaseTips/OracleTips/tabid/311/TID/81/cid/36/Default.aspx
Regards,
Zlatko -
WDP calling EJB and passing objects of classes from Java project
Hi.
We have <b>Java</b> project which contains some classes common for all projects (like xxx.Version).
We have <b>EJB</b> project which defines EJB interface using these common classes (like getVersion(String,int): xxx.Version and getCurrency(String,xxx.Version,int):xxx.Currency ).
We have <b>Web Dynpro</b> project which calls EJB:
1. Lookup is successful
2. call to getVersion is successful
3. call to getCurrency fails with <b>NoSuchMethodException</b>:
xxx.XXXObjectImpl0.getCurrency(java.lang.String, xxx.Version, int)
at java.lang.Class.getMethod(Class.java:986)
at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:51)
at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:53)
at $Proxy346.getCurrency(Unknown Source)
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:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy347.getCurrency(Unknown Source)
at xxx.XXX.getCurrencyWrapper(XXXXX.java:24)
How can I set dependencies to get this running?
Thanks to all
VolkerHi,
Is it available in the interface you are using..
If the answer is yes.. you might have probably forgotten to deploy the EJBs ear file after making the changes..
Rebuild it.. and deploy the EJB s ear file again..
It will solve the problem.. If that also does not work,it might be a problem with the cache.. restart the server..
It should work now !
Regards
Bharathwaj -
Query on object-relational data takes forever
hello all
i have a problem with a query performance... it seems like whenever i call a specific object function, the query executes very very slow. The results though are correct.
let me explain what i do... I have some relational tables, and i recreate the schema into an object relational one. Then i insert data from relational tables to object tables. I follow this tutorial: [A Sample Application Using Object-Relational Features|http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10799/adobjxmp.htm]
these are the types that make up the transaction object table.
CREATE OR REPLACE TYPE TransactionItem_objtyp AS OBJECT
transItemID NUMBER,
Quantity NUMBER,
iValue NUMBER,
item_ref REF Item_objtyp
CREATE TYPE TransactionItemList_ntabtyp AS TABLE OF TransactionItem_objtyp;
CREATE OR REPLACE TYPE Transaction_objtyp AS OBJECT
transID NUMBER,
cust_ref REF Customer_objtyp,
transTameio NUMBER,
transDateTime DATE,
isStoreCustomer CHAR(1),
store_ref REF Store_objtyp,
transItemList_ntab TransactionItemList_ntabtyp,
MAP MEMBER FUNCTION
getTransID RETURN NUMBER,
MEMBER FUNCTION
getTotalCost RETURN NUMBER
);the function that causes the query to run very slow (fetching 10 rows per sec in a query that should return 130.000 rows) is the getTotalCost:
CREATE OR REPLACE TYPE BODY Transaction_objtyp AS
MAP MEMBER FUNCTION getTransID RETURN NUMBER IS
BEGIN
RETURN transID;
END;
MEMBER FUNCTION getTotalCost RETURN NUMBER IS
i INTEGER;
Total NUMBER := 0;
BEGIN
IF(UTL_COLL.IS_LOCATOR(transItemList_ntab))
THEN
SELECT SUM(L.Quantity * L.iValue) INTO Total
FROM TABLE(CAST(transItemList_ntab AS TransactionItemList_ntabtyp)) L;
ELSE
FOR i IN 1..SELF.transItemList_ntab.COUNT LOOP
Total := Total + SELF.transItemList_ntab(i).Quantity * SELF.transItemList_ntab(i).iValue;
END LOOP;
END IF;
RETURN ROUND(Total,2);
END;
END;the table transaction_objtab that contains the nested table is this
CREATE TABLE Transaction_objtab OF Transaction_objtyp(
PRIMARY KEY(transID),
FOREIGN KEY(cust_ref) REFERENCING Customer_objtab,
FOREIGN KEY(store_ref) REFERENCING Store_objtab)
OBJECT IDENTIFIER IS PRIMARY KEY
NESTED TABLE transItemList_ntab STORE AS TransItem_ntab (
(PRIMARY KEY(transItemID))
ORGANIZATION INDEX)
RETURN AS LOCATOR
ALTER TABLE TransItem_ntab ADD (SCOPE FOR (item_ref) IS Item_objtab);and this is how i insert the values into the transaction_objtab and the nested tables from the relational ones:
INSERT INTO Transaction_objtab
SELECT t.transID,
REF(c),
t.transTameio,
t.transDateTime,
t.isStoreCustomer,
REF(s),
TransactionItemList_ntabtyp()
FROM transactions t, Customer_objtab c, store_objtab s
WHERE t.transCustomer = c.custCode AND t.transStore = s.storeCode;
BEGIN
FOR i IN (SELECT DISTINCT transID FROM transactionItems) LOOP
INSERT INTO TABLE( SELECT p.TransItemList_ntab
FROM Transaction_objtab p
WHERE p.transID = i.transID)
SELECT transItemIDseq.nextval, t.Quantity, t.iValue, REF(i)
FROM transactionItems t, item_objtab i
WHERE t.transID = i.transID AND t.itemID = i.itemID;
END LOOP;
END;so whenever i use transaction_objtab t, t.getTotalCount() query takes for ever.
is there anything i do wrong?
sorry for this long post.
thanks in advanceSo, how many transactions? How many items? There is a whole series of questions I would normally ask at this point, because performance tuning is - to a certain extent - largely a matter of rote. But there's a more fundamental issue.
You are experiencing the problem with objects. They are cool enough when handling individual "things" but they suck when it comes to set-based processing. SQL and relational programming, on the other hand, excels at that sort of thing. So the question which has to asked is, why are you using objects for this project?
Cheers, APC
blog: http://radiofreetooting.blogspot.com -
Hi,
I am having a problem with the object-relational features and JDBC.
It seems that when I select objects from the database into my Java program, those objects can't be used after the Connection is returned to the pool.
I want to read a bunch of objects from the database and cache them in my program. When I use those objects later, I reference their attributes using the accessor methods. If I have returned the Connection to the pool, I get a "Logical handle no longer valid" error.
I'm using Oracle 9.0.1, getting a Connection from a OracleConnectionCacheImpl. I am using JPublisher to generate my Java classes, telling it to use the ORAData interface.
The object features of Oracle looked really nice -- database objects are nicely materialized as Java objects in my program. But what good does it do to have all this fancy generated code if I need to create my own objects from the retrieved objects if I want to use them later?
Am I missing something? Any comments or pointers?
Here is the relevant portion of the code.
try {
DataSource ds = (DataSource)JndiClient.getConnectionPoolDataSource(poolAlias, "test1", "test1");
conn = (OracleConnection)ds.getConnection();
Statement stmt = conn.createStatement();
rset = (OracleResultSet)stmt.executeQuery("SELECT VALUE(p) FROM process_types p");
if (rset.next()) {
np = (NapProcessType)rset.getORAData(1, NapProcessType.getORADataFactory());
catch (Exception e) {
System.err.println("Exception: " + e);
e.printStackTrace();
finally {
// Free up resources.
try {
if (cs != null)
cs.close();
if (rset != null)
rset.close();
if (conn != null)
conn.close();
catch (SQLException ignore) {
try {
System.out.println("getPtName: " + np.getPtName()); // causes Exception
catch (Exception e) {
System.err.println("Exception: " + e);
e.printStackTrace();
Thanks.
MarkPeter,
Glad to see you took my advice and posted your question over here. Although I am a frequent user of the Oracle usenet groups, I have found that this is a much better place to get help with Spatial. My experiences suggest that the population of people using spatial is small--and of them the ones that really know alot are few and far between. I can only claim to be in the former group.
As far as your problem goes--this is probably something you've already considered--is there a way to model the data such that you don't have to replicate the geometry components? Another option would be to handle the replication without using snapshots. Examples would be to export the data and then ftp/copy it to the target machines and import it. If you need real-time replication you could experiment with triggers that execute INSERTs/UPDATEs/DELETEs on the remote databases. This of course has its own issues--but you're going to end up with some sort of compromise no matter how you slice this.
Of course you could use the relational model. I have never used it so I'm hard pressed to give any advice on it. As I posted on the usenet board, it is heading for desupport in 9i Release 2 according to the documentation available. So if you go relational you'll eventually have to migrate to object/relational. I'm not sure how automatic (or non-automatic) that process is. Hopefully someone on here will have some more concrete advice on that.
Good luck.
Matt. -
Relation between EJB and CORBA
Hi,
I'm confused as to the relation between EJB and CORBA. Some books I've read say that CORBA is used to implement the underlying RMI protocol in EJB while others say it is an alternative to EJB.
Could someone please clarify.
ThanksCould you pleae restate your question.
I'm assuming you want to bind a Corba object to a
CosNaming service from within a j2ee component. JNDI
supports this case fully via their CosNaming service provider
(see http://java.sun.com/products/jndi/serviceproviders.html) JNDI is part of J2SE, so it's fully available to any J2EE component.
Amlan on behalf of Kenneth Saks -
Beginners Guide sound installation -- OSS and ALSA objective features
Beginners Guide sound installation -- OSS and ALSA objective features needed
Hi,
In most wiki pages i just edit the things that i think need editing. Just look at the oss history
In all those cases i didn't really saw a need to ask for permission.. that would kinda destroy the wiki idea.
However i want to change the sound instructions in the beginners guide so i made a copy of the entire guide and the part that i changed there is: http://wiki.archlinux.org/index.php/Use … ling_Sound now i have a slight issue there. As you can see i'm in favor of OSS and because you can spot that it's not objective. Now i would ask 2 things.
1. Could you all post your features of OSS and ALSA
2. Once that's done can i have permission to place that section in the beginners guide? that will also include removing the sound installation from the beginners guide which i already did in my version
My personal reason to do this. i've read this and am since then pro OSS and against the ALSA/PulseAudio combo. i think that combo needs to get out of linux (most notably Fedora and Ubuntu) ASAP. and oss needs to go back into the linux kernel
Thank you for your time,
Markngoonee wrote:
I'm an alsa/pulse user, so I'll give a bit of the 'other side'.
Alsa/pulse
Pros:-
network sound
advanced connection of sink/source (including merging sinks)
bluetooth support!
highly supported by existing apps, either through directly supporting Pulse or through its alsa plugin (you should not need to recompile properly-written apps which do not assume they should write audio data directly to hardware, I think I only needed to recompile mpd on my system)
Cons:-
Setup isn't the easiest. Can't comment vs OSS4 because I haven't tried it
OSS4
Pros:-
Everyone seems to say sound quality is better. I guess that's because they're comparing it with dmix alsa. Use pulse with alsa and you should not notice any difference in sound quality though.
Cons:-
Most apps nowadays default output to alsa. Meaning OSS plays them using an alsa plugin.
USB support is admittedly skimpy.
EDIT: Having read the sound article you referred to, my only comment is that the writer really has it in for Pulse... 3 seconds latency, where'd he get that from? I use pulse for audio recording (when I'm lazy to fire up JACK) and while there IS latency, its definitely in the ms range.
Thanx for the input
Gen2ly wrote:
Gen2ly wrote:...As a side note, do you need libflashsupport here???...
markg85, libflashsupport isn't needed. [1]
pacman -Ql oss | grep flash
If you don't know, please don't put in wiki, this could cause unnecessary problems. As for the mms section:
If your stream sounds ugly in totem like it did with me then you could try to play it with another codec like ffmpeg (mplayer). That "fixed" the issue for me. This will not fix the issue that somehow pops up in gstreamer when playing MMS streams but it will give you the option to play it with good sound quality. Playing it in mplayer is simple:
# mplayer mmsh://yourstreamurl
Could you fix this? ffmpeg is not a codec . Also define ugly, and what is somehow?
markg85 wrote:Thanx a lot for your feedback. i will certainly use it when i make more edits.
As for the things you didn't know. As soon as i fully understand how i can get a microphone working in OSS i will add that to the wiki as well. Unless you already know it.. in that case, feel free to add it.
For the mic, I did get mine going. Can't remember just how I did mine (sorry, think I had to disable one of the inputs), but do remember to prevent it from passing through the speakers had to disable "Misc Microphone".
# ossmix
Selected mixer 0/High Definition Audio ALC888
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front|rear|center/LFE|side|pcm4|input> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)
jack.orange.mode <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)
jack.gray.mode <front|rear|center/LFE|side|pcm4|input> (currently pcm4)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.pink [<leftvol>:<rightvol>] (currently 19.9:19.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 4.4:2.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 46.4:37.4 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 34.4:34.4 dB)
misc.green [<leftvol>:<rightvol>] (currently 34.4:38.9 dB)
misc.black [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.orange [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.gray [<leftvol>:<rightvol>] (currently 40.4:41.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 4.4:4.4 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 41.9:41.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 35.9:35.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 25.4:25.4 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|Low|Medium|High|High+|Production|OFF> (currently Medium)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 19.9:19.9 dB) ("knotify4")
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
For libflashsupport on the same page you linked it clearly states:
# Flash V9 and V10 require libflashsupport to output sound via OSS. Typically a 32-bit version of the library is required.
# Flash V10 has a 64-bit version which requires a 64 bit libflashsupport.
Also i tested it with and without libflashsupport. On archlinux (x64 running here) there most certainly is a need for libflashsupport when you want to have sound in your flash. And yes i tested the archlinux OSS version and the mercurial version (running now) bith need it installed manually! On my pc sound in flash didn't work without it but did with it. So, no not removing from the wiki as it's needed. But i see you removed it for me! please do NOT do that if you didn't even verified it. I use flash 10 x64 and i need it!
As for the ffmpeg "codec" changed it to backend.
And i did get the microphone working near perfect: http://www.4front-tech.com/forum/viewtopic.php?p=13192
Now for some news you all might like.
On my school i need to do an investigation to whatever i want and i'm heavily thinking about investigating the pros/cons of alsa compared to oss (or oss compared to alsa). That investigation will take from monday next week till next mondey till friday 23 of oktober. In that investigation i'm going to do some in depth look of alsa and oss and that will include the usability as well.
Following up on that investigation i will spend another 8 weeks on my school making a volume control application that can be used with alsa and oss and easily expandable with other sound systems. The goal of this is to make one sound application that can manage (in the first place) alsa and oss. oss is going to be implemented and alsa is probably going to be dummy implemented because it's likely way to much for me to implement both.
Before you get to exited, both projects (investigating and making the application) are just made up today and i just don't know if both will get accepted by my school. I asked one teacher and he liked the idea a lot and could potentially have a value for the sound management under linux. Once i do get this started i will involve the community (YOU!) with this since this project can't be done without the community specially the investigation.
And once i start and have something to tell/ask i will blog about it on http://blog.mageprojects.com
edit::
And this idea already got dumped. read more a few posts down or click: http://bbs.archlinux.org/viewtopic.php? … 34#p612634
Last edited by markg85 (2009-09-03 17:51:45) -
Listing WBS elements and object relations
Hello Friends,
I want to output all wbs-elements and attached objects in a list, but I'm not sure how to do this. Is there a standard report for this? In trans cj03 you can only se the relation between one wbs-element and its related objects... I want to view them all. I considered to make a report with quickviewer but I am not sure which tables to connect, as the data-fields in transaction cj03 only reffers to structure fields... I would appreciate any input...
best regards
BalloHi Robert,
Check out the conversion routine attached to the WBS element, and you need to add code in your program to convert it before downloading.
If no conversion exit is available, you need to write code to select its mapping from database table.
cheers
swastik -
Hi.
I try to transfer an object from my client to EJB. This object has only 2 simple properties (such as id and name - int and String). the Class of this Object implements java.io.Serializable interface.
But when it occurs i have such eception
com.sun.corba.ee.impl.encoding.CodeSetConversion$JavaCTBConverter convertCharArray
WARNING: "IOP02400001: (DATA_CONVERSION) Character does not map to negotiated transmission code set"
org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1 completed: No
at com.sun.corba.ee.impl.logging.OMGSystemException.charNotInCodeset(OMGSystemException.java:2093)
at com.sun.corba.ee.impl.logging.OMGSystemException.charNotInCodeset(OMGSystemException.java:2111)
at com.sun.corba.ee.impl.encoding.CodeSetConversion$JavaCTBConverter.convertCharArray(CodeSetConversion.java:336)
at com.sun.corba.ee.impl.encoding.CodeSetConversion$JavaCTBConverter.convert(CodeSetConversion.java:249)
at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.writeString(CDROutputStream_1_0.java:504)...............I have an entity
package com.titan.domain;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table(name="CABIN")
public class Cabin implements Serializable {
private static final long serialVersionUID = 1L;
private int id;
private String name;
private int deckLevel;
private int shipId;
private int bedCount;
@Id
@Column(name="ID")
public int getId() {
return id;
public void setId(int id) {
this.id = id;
@Column(name="NAME")
public String getName( ) { return name; }
public void setName(String str) {name = str; }
@Column(name="DECK_LEVEL")
public int getDeckLevel( ) { return deckLevel; }
public void setDeckLevel(int level) { deckLevel = level; }
@Column(name="SHIP_ID")
public int getShipId( ) { return shipId; }
public void setShipId(int sid) { shipId = sid; }
@Column(name="BED_COUNT")
public int getBedCount( ) { return bedCount; }
public void setBedCount(int bed) { bedCount = bed; }
}Remote interface
package com.titan.travelagent;
import com.titan.domain.Cabin;
import javax.ejb.Remote;
@Remote
public interface TravelAgentRemote {
public void createCabin(Cabin cabin);
public Cabin findCabin(int id);
}EJB code is
package com.titan.travelagent;
import com.titan.domain.Cabin;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
* @author sokolov
@Stateless
public class TravelAgentBean implements TravelAgentRemote {
@PersistenceContext
(unitName="titan")
private EntityManager manager;
public void createCabin(Cabin cabin) {
manager.persist(cabin);
public Cabin findCabin(int id) {
return manager.find(Cabin.class, id);
}And client code is
package titan;
import com.titan.domain.Cabin;
import com.titan.travelagent.TravelAgentRemote;
import javax.ejb.EJB;
* @author sokolov
public class Main {
* @param args the command line arguments
@EJB
private static TravelAgentRemote dao;
public static void main(String[] args) {
Main client = new Main();
createCabin();
//findCabin();
public static void createCabin() {
Cabin cabin_1 = new Cabin( );
cabin_1.setId(1);
cabin_1.setName("Master Suite");
cabin_1.setDeckLevel(1);
cabin_1.setShipId(1);
cabin_1.setBedCount(3);
dao.createCabin(cabin_1);
public static void findCabin() {
Cabin cabin_2 = dao.findCabin(1);
System.out.println(cabin_2.getName( ));
System.out.println(cabin_2.getDeckLevel( ));
System.out.println(cabin_2.getShipId( ));
System.out.println(cabin_2.getBedCount( ));
}I had the same problem.
I deleted automatically generated deployment and RMIC code, did a rebuild all projects, deployed on server, restarted server and it just worked out. -
Relation between Roles and Course/Object ID
hi
Please tell me the HR-infotype having roles/position/job in relation with Course/object Id.
HRP1000 have only courses .
or please tell me how to make relation between two i.e. roles and course/object id
S@chinall these
Characterstic will available in differnt Infotypes Check the tcode PP01
and check with the help of the Objects
for Course ID -
Working with Object Relational model and Eclipse
Hello,
I have mad some types and typed tables in a schema on oracle 10g.
My database respects the Object Relational model, in which I work with VARRAY, TYPES, NESTED TABLES, PL/SQL,...
I have already install Enterprise Pack for Eclipse, and also have the Weblogic server, And I can generate tables. But the problem is that it gives to me this tables with wrong types, until they contains in fact other tables as Objet column, and also the types are not supported.
Please need a help !
Thank's in advance :)nhauge wrote:
Hi,
I want to make sure I understand the problem but will try to give you some information as well. So you have an Oracle 10g database in which you are using the object-relational database model with VARRAY's, etc. You say you are also trying to generate tables, but the generation is not working correctly. Are you using the "Generate tables from entities..." functionality? What is the source of the generated tables? I assume you generating from some type of JPA entity? Could you give a small example of the source you are generating from?
In order to generate proper tables of this type, you would need to be using special TopLink/EclipseLink annotations such as @Array so the persistence provider would know that they are "special" and not just regular entities that would create standard relational tables.
Neil
Thank you for your replay,
well I'm generating that with "Generate tables from entities" of eclipse link.
this is an example of what I have in the database:
[DB-SCRIPT|http://www.mediafire.com/view/?n3knwz1o4ggk50n]
and this is what is generated(eclipselink-orm.xml):
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings version="1.2" xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eclipse.org/eclipselink/xsds/persistence/orm http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_1_2.xsd">
<entity class="model.Chefterritoire" access="VIRTUAL">
<attributes>
<id name="idChef" attribute-type="long">
<column name="ID_CHEF"/>
</id>
<basic name="lesterritoires" attribute-type="Object">
</basic>
<basic name="nomChef" attribute-type="String">
<column name="NOM_CHEF"/>
</basic>
<basic name="tel" attribute-type="java.math.BigDecimal">
</basic>
</attributes>
</entity>
<entity class="model.Client" access="VIRTUAL">
<attributes>
<id name="idClient" attribute-type="long">
<column name="ID_CLIENT"/>
</id>
<basic name="adresseClient" attribute-type="String">
<column name="ADRESSE_CLIENT"/>
</basic>
<basic name="dateP" attribute-type="java.util.Date">
<column name="DATE_P"/>
<temporal>DATE</temporal>
</basic>
<basic name="lescommandes" attribute-type="Object">
</basic>
<basic name="nomClient" attribute-type="String">
<column name="NOM_CLIENT"/>
</basic>
<basic name="profession" attribute-type="String">
</basic>
<basic name="refrepresentant" attribute-type="Object">
</basic>
<basic name="telClient" attribute-type="java.math.BigDecimal">
<column name="TEL_CLIENT"/>
</basic>
</attributes>
</entity>
<entity class="model.Commande" access="VIRTUAL">
<attributes>
<id name="idCommande" attribute-type="long">
<column name="ID_COMMANDE"/>
</id>
<basic name="dateCommande" attribute-type="java.util.Date">
<column name="DATE_COMMANDE"/>
<temporal>DATE</temporal>
</basic>
<basic name="dateLivraison" attribute-type="java.util.Date">
<column name="DATE_LIVRAISON"/>
<temporal>DATE</temporal>
</basic>
<basic name="refreleve" attribute-type="Object">
</basic>
<basic name="refrepresentant" attribute-type="Object">
</basic>
<basic name="refvehicule" attribute-type="Object">
</basic>
<basic name="reprise" attribute-type="String">
</basic>
</attributes>
</entity>
<entity class="model.Constructeur" access="VIRTUAL">
<attributes>
<id name="idConstructeur" attribute-type="long">
<column name="ID_CONSTRUCTEUR"/>
</id>
<basic name="adresseConstructeur" attribute-type="String">
<column name="ADRESSE_CONSTRUCTEUR"/>
</basic>
<basic name="lesreleves" attribute-type="Object">
</basic>
<basic name="nomConstructeur" attribute-type="String">
<column name="NOM_CONSTRUCTEUR"/>
</basic>
<basic name="refvehucule" attribute-type="Object">
</basic>
</attributes>
</entity>
<entity class="model.LesccommandesN" access="VIRTUAL">
<table name="LESCCOMMANDES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LescommandessN" access="VIRTUAL">
<table name="LESCOMMANDESS_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LescommandesN" access="VIRTUAL">
<table name="LESCOMMANDES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LesoptionsN" access="VIRTUAL">
<table name="LESOPTIONS_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LesrepresentantsN" access="VIRTUAL">
<table name="LESREPRESENTANTS_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LessclientsN" access="VIRTUAL">
<table name="LESSCLIENTS_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LesscommandesN" access="VIRTUAL">
<table name="LESSCOMMANDES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LesterritoiresN" access="VIRTUAL">
<table name="LESTERRITOIRES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.LesvehiculesN" access="VIRTUAL">
<table name="LESVEHICULES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.Modele" access="VIRTUAL">
<attributes>
<id name="idModele" attribute-type="long">
<column name="ID_MODELE"/>
</id>
<basic name="couleurExterieure" attribute-type="String">
<column name="COULEUR_EXTERIEURE"/>
</basic>
<basic name="couleurInterieure" attribute-type="String">
<column name="COULEUR_INTERIEURE"/>
</basic>
<basic name="lesoptions" attribute-type="Object">
</basic>
<basic name="lesvehicules" attribute-type="Object">
</basic>
<basic name="prix" attribute-type="double">
</basic>
</attributes>
</entity>
<entity class="model.Option" access="VIRTUAL">
<table name="OPTIONS"/>
<attributes>
<id name="idOption" attribute-type="long">
<column name="ID_OPTION"/>
</id>
<basic name="nomOption" attribute-type="String">
<column name="NOM_OPTION"/>
</basic>
<basic name="refmodele" attribute-type="Object">
</basic>
</attributes>
</entity>
<entity class="model.Rapportvisite" access="VIRTUAL">
<attributes>
<id name="idRapport" attribute-type="long">
<column name="ID_RAPPORT"/>
</id>
<basic name="dateVisite" attribute-type="java.util.Date">
<column name="DATE_VISITE"/>
<temporal>DATE</temporal>
</basic>
<basic name="frais" attribute-type="double">
</basic>
<basic name="refclient" attribute-type="Object">
</basic>
<basic name="refrepresentant" attribute-type="Object">
</basic>
<basic name="resultat" attribute-type="String">
</basic>
</attributes>
</entity>
<entity class="model.Releve" access="VIRTUAL">
<attributes>
<id name="idReleve" attribute-type="long">
<column name="ID_RELEVE"/>
</id>
<basic name="dateDebut" attribute-type="java.util.Date">
<column name="DATE_DEBUT"/>
<temporal>DATE</temporal>
</basic>
<basic name="dateFin" attribute-type="java.util.Date">
<column name="DATE_FIN"/>
<temporal>DATE</temporal>
</basic>
<basic name="lescommandes" attribute-type="Object">
</basic>
<basic name="refconst" attribute-type="Object">
</basic>
</attributes>
</entity>
<entity class="model.RelevesN" access="VIRTUAL">
<table name="RELEVES_N"/>
<attributes>
</attributes>
</entity>
<entity class="model.Remise" access="VIRTUAL">
<attributes>
<id name="idRemise" attribute-type="long">
<column name="ID_REMISE"/>
</id>
<basic name="remise" attribute-type="double">
</basic>
</attributes>
</entity>
<entity class="model.Representant" access="VIRTUAL">
<attributes>
<id name="idRepresentant" attribute-type="long">
<column name="ID_REPRESENTANT"/>
</id>
<basic name="lesclients" attribute-type="Object">
</basic>
<basic name="lescommandes" attribute-type="Object">
</basic>
<basic name="nomRepresentant" attribute-type="String">
<column name="NOM_REPRESENTANT"/>
</basic>
<basic name="refterritoire" attribute-type="Object">
</basic>
<basic name="typeRep" attribute-type="String">
<column name="TYPE_REP"/>
</basic>
</attributes>
</entity>
<entity class="model.Territoire" access="VIRTUAL">
<attributes>
<id name="idTerritoire" attribute-type="long">
<column name="ID_TERRITOIRE"/>
</id>
<basic name="lesrepresentants" attribute-type="Object">
</basic>
<basic name="nomTerritoire" attribute-type="String">
<column name="NOM_TERRITOIRE"/>
</basic>
<basic name="refchef" attribute-type="Object">
</basic>
</attributes>
</entity>
<entity class="model.Vehicule" access="VIRTUAL">
<attributes>
<id name="idVehicule" attribute-type="long">
<column name="ID_VEHICULE"/>
</id>
<basic name="lescommandes" attribute-type="Object">
</basic>
<basic name="nomVehicule" attribute-type="String">
<column name="NOM_VEHICULE"/>
</basic>
<basic name="refavoir" attribute-type="Object">
</basic>
<basic name="refmodele" attribute-type="Object">
</basic>
</attributes>
</entity>
<entity class="model.Visiteav" access="VIRTUAL">
<attributes>
<id name="idVisiteav" attribute-type="long">
<column name="ID_VISITEAV"/>
</id>
<basic name="dateDebut" attribute-type="java.util.Date">
<column name="DATE_DEBUT"/>
<temporal>DATE</temporal>
</basic>
<basic name="dateFin" attribute-type="java.util.Date">
<column name="DATE_FIN"/>
<temporal>DATE</temporal>
</basic>
<basic name="refclient" attribute-type="Object">
</basic>
<basic name="refrepresentant" attribute-type="Object">
</basic>
</attributes>
</entity>
</entity-mappings>
Maybe you are looking for
-
Inventory transaction worker (INCTCW) Material transaction Interface Manage
Hello, We have issue "Inventory transaction worker" (INCTCW) failed, we want to notified if its failed again, is there a way I can get notification (email) if this request failed. Thanks Ed
-
How to use dreamweaver to check scripts.
I am both new to scripting and in using dreamweaver, I n eed to be able to copy an asp code and paste in dreamweaver and c ontinue with it, can anyone please help me on how to do this? , I a m testing dream weaver cs4
-
(s)sd_max_throttle for solaris 10
Hi, I've read some docs on sunsolve regarding the max_throttle value but they seems related to solaris 8 and 9. In my case I have about 80 LUNs and MPxIO and the recommendation from my storage vendor is 256/(LUNs per adapter) (IBM SVC). This will res
-
sorry, newbie not quite sure if my terminology is correct. I will try to explain the best I can. I am using creative mediasource as (came with my audigy 2zs), are there any downloads or updates that play random videos when your music is on (like with
-
Hi all, Is there a consolidation monitor available in BPC? If yes, How do you get into the BPC cons monitor?. Please respond. Kind regards, Rj