Recording in CLOB through XSU?
Big enough application for work with database Oracle is written with use Oracle XSU library for JAVA. And here there was a problem with preservation of the big textual documents in this base. Thus VARCHAR2 will not suffice. It is desirable, that the given problem also was solved with help XSU.
Somebody possible decision may will prompt?
KSV
Unfortunately I do not have a Dynacord..
I was simply making sure the standard way of doing things, wasn't working...
I cannot think of any reason it won't record all four tracks at the same time if all four R buttons were highlighted in red... Usually with other interfaces, it is that simple.
All I can think of, given you are using Logic correctly, is your Dynacord drivers are not working correctly.
What is odd is that you can hear all four channels through Logic yes?
Logic's meters are showing movement on all four tracks yes?
You just cannot record all four at the same time?
When you arm just one track, does it work normally? For example, Can you record track 2 instead of track 1?
Finally, did you install the latest drivers for the Dynacord as discussed in this thread?
https://discussions.apple.com/message/19096579#19096579
Similar Messages
-
Can't record into Logic through the built-in mike
Hi guys, just faced a strange thing in Logic 8, want to record my voice through my MacbookPro's internal mike, so in Audio preferences I've put an in-built input, in System preferences put input and output to in-built speakers and mike, but I can't move the track level meter in Logic with my voice at all, and there's no waveform, no sound is going inside, i got just an empty audio region, while in the System's preferences window the level meter moves when I'm saying sth...What can it be?Anyone faced the same?
Thank youyou need to select the build in microphone as the input in Logic Audio preferences as well.
it's the 1st on the drop down menu in Input Device Logic's Audio prefs.
And mute the output of the build in speakers or wear headphones
A
Message was edited by: immo -
Why do I have to change source input to mono when it's recorded in stereo through my interface from an acoustic pick up in order to hear anything in playback?
It's a dean markley acoustic pick up with a mono 1/4" jack. It's plugged into a focusrite interface. GarageBand only records it in stereo and only plays it back in mono.Watts100woo wrote:
with a mono 1/4" jack. It's plugged into a focusrite interface. GarageBand only records it in stereo and only plays it back in mono.
you appear to already know the answer, however...
GB is not recording it in stereo, nor could it
the short story:
http://www.bulletsandbones.com/GB/GBFAQ.html#leftspeakeronly
(Let the page FULLY load. The link to your answer is at the top of your screen)
the long story:
http://www.bulletsandbones.com/GB/Tutorials.html#bsqstereovsmono
(Let the page FULLY load. The link to your answer is at the top of your screen) -
I have a usb to 1/4" cable and want to record my guitar through it on logic. How do I do so?!?
Hi,
Interesting cable you have there but, unless it's also and analog to digital converter, it may not work. -
Insert multiple records into database through internal table
Hi
please help me how to insert multiple records into database through internal tableHi,
Welcome to SCN.
Press F1 on INSERT statement and you will teh syntax as well the docu for the same. -
Error inserting XML records 4000 bytes through Pro*C
Hi,
I am seeing the following error while trying to insert XML records > 4000 bytes (Records < 4000 bytes get inserted without any issues). Any help in resolving the issue would be highly appreciated.
ORA return text: ORA-01461: can bind a LONG value only for insert into a LONG column.
I am also able to insert records > 4000 bytes using the following query, But, I want to insert the records through a C application (using Pro*C) that is not running on the database server.
INSERT INTO MY_XML_TABLE
VALUES (XMLType(bfilename('XML_DIR', 'MY_FILE.XML'),
nls_charset_id('AL32UTF8')));
Oracle Version
===============
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Pro*C/C++ version:
====================
Pro*C/C++ RELEASE 11.2.0.0.0 - PRODUCTION
Schema registration:
====================
begin
DBMS_XMLSCHEMA.registerSchema (
SCHEMAURL => 'MY_XML_SCHEMA.xsd',
SCHEMADOC => bfilename ('ENG_REPORTS', 'MY_XML_SCHEMA.xsd'),
GENTYPES => FALSE,
OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
CSID =>nls_charset_id ('AL32UTF8'));
end;
Table creation
===============
CREATE TABLE MY_XML_TABLE (
MY_XML_RECORD XmlType )
XMLTYPE MY_XML_RECORD STORE AS BINARY XML
XMLSCHEMA "MY_XML_SCHEMA.xsd" ELEMENT "MYXMLTAG" ;
Record Insertion (Pro*C generated code):
=========================================
/* EXEC SQL FOR :l_sizeof_array_togo
insert INTO MY_XML_TABLE
(MY_XML_RECORD )
VALUES( XMLTYPE(:l_XML_ptr INDICATOR :l_XML_indicators )); */
struct sqlexd sqlstm;
sqlstm.sqlvsn = 12;
sqlstm.arrsiz = 1;
sqlstm.sqladtp = &sqladt;
sqlstm.sqltdsp = &sqltds;
sqlstm.stmt = "insert into MY_XML_TABLE (MY_XML_RECORD) values (XMLTYPE(:s1\
:s2 ))";
sqlstm.iters = (unsigned int )l_sizeof_array_togo;
sqlstm.offset = (unsigned int )20;
sqlstm.cud = sqlcud0;
sqlstm.sqlest = (unsigned char *)&sqlca;
sqlstm.sqlety = (unsigned short)4352;
sqlstm.occurs = (unsigned int )0;
sqlstm.sqhstv[0] = (unsigned char *)&l_XML_ptr->xml_record;
sqlstm.sqhstl[0] = (unsigned long )8002;
sqlstm.sqhsts[0] = ( int )sizeof(struct xml_rec_definition);
sqlstm.sqindv[0] = ( short *)&l_XML_indicators->XML_record_ind;
sqlstm.sqinds[0] = ( int )sizeof(struct XML_indicator);
sqlstm.sqharm[0] = (unsigned long )0;
sqlstm.sqadto[0] = (unsigned short )0;
sqlstm.sqtdso[0] = (unsigned short )0;
sqlstm.sqphsv = sqlstm.sqhstv;
sqlstm.sqphsl = sqlstm.sqhstl;
sqlstm.sqphss = sqlstm.sqhsts;
sqlstm.sqpind = sqlstm.sqindv;
sqlstm.sqpins = sqlstm.sqinds;
sqlstm.sqparm = sqlstm.sqharm;
sqlstm.sqparc = sqlstm.sqharc;
sqlstm.sqpadto = sqlstm.sqadto;
sqlstm.sqptdso = sqlstm.sqtdso;
sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);
}After selecting data from xmltab table I just received first line of xmldata file. i.e
<?xml version="1.0" encoding="WINDOWS-12 52"?> <BAROutboundXM L xmlns="http://BARO
That must be a display issue.
What client tool are you using, and what version?
If SQL*Plus, you won't see the whole content unless you set some options :
{code}
SET LONG <value>
SET LONGCHUNKSIZE <value>
{code}
Could you try the following?
{code}
SET LONG 10000
SELECT t.object_value.getclobval() FROM xmltab t;
-- to force pretty-printing :
SELECT extract(t.object_value, '/*').getclobval() FROM xmltab t;
{code}
Edited by: odie_63 on 16 févr. 2011 08:58 -
How to append records in MSAccess through Java using JDBC:ODBC
Hello,
I was able to retrieve records from MSAccess database through JAVA over the JDBC-ODBC bridge.
If I want to append records to a table (for eg. photo1 table containing photono., length, breadth, area as
columns) I could not able to do so through JAVA.
I am using JTable with the above fields. The user is displayed with the JTable and he has to enter
data inside the JTable and press a button titled "Append". Then the JAVA program should append
whatever the user has entered in the JTable as a single record inside the MSAccess database.
Can anyone help me please?hi i too am having similar problem. i am able to create a table in ms access through java but when i insert values i get a msg that it has inserted the values but when i check the table by opening ms-access there are no values in the table.
the insert statement i am using is
" insert into tk1 values(3,'tarun')"
further i tried using the methods commit, setAutoCommit etc with the connection object. -NO GO.
can you help me ? -
Servlet inserting record into postgresql through hibernate
Hi
I have developed a servlet. This servlet is inserting record into postgres sql through hibernate using eclispe ide. When I run my code then I find the following exception
exception
java.lang.NullPointerException
hibernate.example.FirstExample.doGet(FirstExample.java:54)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I have developed the following code
package hibernate.example;
public class Contact {
private String firstName;
private String lastName;
private String email;
private long id;
public String getEmail() {
return email;
public String getFirstName() {
return firstName;
public String getLastName() {
return lastName;
public void setEmail(String string) {
email = string;
public void setFirstName(String string) {
firstName = string;
public void setLastName(String string) {
lastName = string;
public long getId() {
return id;
public void setId(long l) {
id = l;
**Now the servlet is**
package hibernate.example;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class FirstExample extends HttpServlet {
Session session = null;
public String getServletInfo() {
return "Servlet connects to PostgreSQL database and displays result of a SELECT";
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
try{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
Configuration cfg = new Configuration().configure();
SessionFactory factory = cfg.buildSessionFactory();
session = factory.openSession();
out.println("Inserting Record");
Contact contact = new Contact();
contact.setId(6);
contact.setFirstName("Deepak");
contact.setLastName("Kumar");
contact.setEmail("[email protected]");
session.save(contact);
out.println("Done");
catch(Exception e){
System.err.println(e.getMessage());
finally{
session.flush();
session.close();
**web.xml is**
<web-app>
<database>
<driver>
<type>org.postgresql.Driver</type>
<url>jdbc:postgresql://127.0.0.1:5432/ali</url>
<user>ali</user>
<password>ali</password>
</driver>
</database>
<servlet>
<servlet-name>FirstExample</servlet-name>
<servlet-class>hibernate.example.FirstExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FirstExample</servlet-name>
<url-pattern>/hb</url-pattern>
</servlet-mapping>
</web-app>
**And contact.hbm.xml is**
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="hibernate.example.Contact" table="CONTACT">
<id name="id" type="long" column="ID" >
<generator class="assigned"/>
</id>
<property name="firstName">
<column name="FIRSTNAME" />
</property>
<property name="lastName">
<column name="LASTNAME"/>
</property>
<property name="email">
<column name="EMAIL"/>
</property>
</class>
</hibernate-mapping>
**And hibernate.cfg.xml is**
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.postgressql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:postgresql://127.0.0.1:5432/ali</property>
<property name="hibernate.connection.username">ali</property>
<property name="hibernate.connection.password">ali</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<!-- Mapping files -->
<mapping resource="contact.hbm.xml"/>
</session-factory>
</hibernate-configuration>
Pleas tell me that where I have done the mistake and how can I resolove the error.ahmadgee wrote:
Thank u very much.
First I tried with out the servlet. I took a simple class. But it was displaying the null pointer exception.
then you still have the problem. do you understand the root cause?
After then I made a servlet. how was that going to help your null pointer exception?
Now it is displaying error hibernate.cfg.xml not found.that's part of the problem. where is the servlet reading that file and initializing the session factory? how is it finding that file?
i don't know where you have that .cfg.xml file, or where the recommended place is where hibernate expects to see it, but i'd bet it needs to be in the CLASSPATH, which means WEB-INF/classes.
figure out why you get that NPE first, though. the servlet is only making things worse.
% -
Why can't I get stereo sound recording to iMovie through audio line in?
I am recording some keyboard music from a digital keyboard (Yamaha pf85) into iMovie HD 6 on my laptop through the audio line in. I have connected Output I from the keyboard to the audio line in using a mini jack adapter. This is supposed to record the music in Mono, but it will only play back on the left side of the spectrum. There is no right side sound at all. The keyboard has twin outputs, so I have also tried connecting Outputs I and II to the laptop's line in, using a twin mini jack adapter, but the music still only plays back on the left side. What's happened to the right side?
I have transferred the movie to my desktop Mac (PowerPC G4 with OS 10.4.11) but I get the same problem.
I've tried exporting the movie to QuickTime, but still the same problem.
What am I doing wrong? How can I record/playback the sound on both sides of the spectrum?Thanks for these suggestions, which are blinding but have not solved it.
1) All cables OK and fully inserted.
2) I tried recording a voice over into iMovie using a USB mic/headset and that was in mono but played back through both channels, so laptop and iMovie are OK recording with USB.
3) I tried recording from the keyboard into iMovie and QuickTime on the laptop in three different ways through line in: first using both Outputs, then using Output I only and finally using Output II only. On all three occasions, the sound played back on the laptop through the left channel only. The keyboard itself has two inbuilt speakers and a headphone socket and both are providing mono sound through left and right channels, which suggests it's not faulty.
I then tried recording sound only from the keyboard into Quicktime on my desktop Mac, using the same cables and adapter. Left channel only.
I guess this means either the adapter is faulty or it's something to do with the way my keyboard outputs sound. I'll try your other suggestion. Or maybe I just need a hardware interface to route the separate channels. That seems excessive for what I want to achieve. -
Handling CLOB through DB Link - Help me!!
Hi All,
I am porting data using DB link through a procedure. My source has a CLOB field. When I tried to port it I am getting the error ora-22992. Please help me in overcoming this issue.
Thanks in advance.
Regards,
Subbu SHi,
The data interface for insert, update, and select of remote LOBs (access over a dblink)
is supported since Oracle Database 10g Release 2.
For more information read "Application Developer's Guide - Large Objects" -
Insert a record into UDO through DI API
Dear All,
I have a UDO with the type document created. I would like to insert records through DI (Document header and Document Rows). Can you please guide me how to do it?
Thanks,
TamizhHi Tamizh,
Please have a look at this article:
/people/daniel.wroblewski/blog/2009/03/26/udo-access-via-di-api-in-pl46
It should have everything you need to insert and update UDO data. You need to be using SBO 2007A Patch 46 or higher to use this object in the DI API.
Kind Regards,
Owen -
Can we change the Record Group Type through Custom.pll
Hello All,
I have a small requirement on Changing the Record Group Dynamically.
Can i set the Record group type to 'Query' from 'Static'. i.e Can i change the Record group type dynamically through custom.pll. I know that we can dynamically change the Record group query.
Please help me its a bit urgent.
Thanks inadvance,
Amarnadh Jsyou can control your record group runtime without create any recordgroup at design time..
1.static group
declare
rg_name VARCHAR2 (40) := 'Global_Rgp_Menu'; --global record group name for menu use
rg_id recordgroup; --global record group id
gc_id groupcolumn; --global record group coulmn id
errcode NUMBER; --error code
grp_row PLS_INTEGER := 0; --global record group row count
begin
rg_id := FIND_GROUP (rg_name);
IF NOT ID_NULL (rg_id)
THEN
DELETE_GROUP_ROW (rg_id, all_rows);
ELSE
rg_id := CREATE_GROUP (rg_name, global_scope);
gc_id := ADD_GROUP_COLUMN (rg_id, 'menu_item', char_column, 100);
gc_id := ADD_GROUP_COLUMN (rg_id, 'p_type', char_column, 100);
gc_id := ADD_GROUP_COLUMN (rg_id, 'p_no', char_column, 100);
END IF;
grp_row := 0;
for 1 in 1..10 loop
grp_row := grp_row + 1;
ADD_GROUP_ROW (rg_id, grp_row);
SET_GROUP_CHAR_CELL (rg_name || '.menu_item', grp_row, 'menu' || to_char(i) );
/*type*/
SET_GROUP_CHAR_CELL (rg_name || '.p_type', grp_row, 'type' || to_char(i) );
/*program_no */
SET_GROUP_CHAR_CELL (rg_name || '.p_no', grp_row, 'programno' || to_char(i) );
end loop;
end;
2. query group
declare
FACT_SQL VARCHAR2(500) :=NULL;
rg_name1 VARCHAR2(40) := 'Global_Rgp_fact';
rg_id1 RecordGroup;
Error_Flag number:=0;
group_error exception;
begin
rg_id1 := Find_Group( rg_name1 ); IF NOT Id_Null(rg_id1) THEN Delete_Group( rg_id1 ); END IF;
FACT_SQL := ' SELECT * FROM MYFACTORY ' ;
rg_id1 := Create_Group_From_Query( rg_name1,FACT_SQL ,global_scope);
Error_Flag := POPULATE_GROUP(rg_id1);
IF Error_Flag <>0 THEN
error_msg:='Error while populating factory group';
raise group_error;
END IF;
exception
when group_error then
message(error_msg);
raise;
end;Edited by: nolemlin on 2010/3/23 上午 7:50 -
How do I record separate tracks through my Mixer in logic?
Hello All,
I am trying to record two seperate instruments at the same time into logic through my Xenyx Q502 USB Mixer so they are recorded on two sperate tracks (one track for microphone, the other for guitar) but am struggling as to how to do this. I have the Microhone in input one and the guitar in input two on my mixer. The problem that arrises is that both of these inputs record on the same track in logic and are not recorded as indivudal tracks. How do I make them record as indivudal tracks?
Thanks,
T.Hobbs.TryfanH wrote:
Hello All,
How do I make them record as indivudal tracks?
Thanks,
T.Hobbs.
Stop recording on a stereo track!
Record on two mono tracks, one set to Input 1, the other set to Input 2
http://documentation.apple.com/en/logicpro/usermanual/index.html#chapter=39%26se ction=5%26tasks=true
You might want to go here and read.... "Exploring Logic Pro"
http://documentation.apple.com/en/logicpro/ -
Rookie needs help recording DJ set through M-audio Firewire 410
Ok.... ive been reading through the forums and I still can't find help...
Im running GB 3 that came with my Macbook I bought about 4 months ago.
I am a DJ and I trying to record a DJ set/demo.
What I use to DJ is Pioneer cdj-800 x2 and a Pioneer DJM400 using Rane Serato Scratch through my Mac.
I recently bought an M-Audio Firewire 410.
I installed all necessary drivers from m-audio's website (i bought it on ebay so it did not come with the install cd).
I connect the Maudio into the Mac as instructed and set all my inputs/outputs in prefs to the m audio.
The record out of my mixer is via rca so i bought an rca to 1/4" cable. The rca going into my mixer and the 1/4" is going into the first "mic/inst" on the interface.
I created a real instrument track on a new project in GB and set the input to channel 1 (mono).
I play a track..... no sound. nothing at all. i tried the inputs in the back of the firwire and played with the gains. still nothing. i am getting a little frustrated here as you can imagine.
I would really appreciate if someone could walk me through this or at least point me in the right direction.
Thanks a ton in advance.
Message was edited by: defman13Perhaps you may need to reinstall the driver again from the M-audio website. The newest drivers don't work well but if you're running the newest OSX 10.4.10 then you have no choice but to use the newest drivers. When installing the new driver, do not have the 410 hooked up to the computer. After it is installed, shut down the computer. Hook up the 410, then turn the computer on, make sure teh 410 is power button is on as well. Once you're computer is up and running, open up the m-audio mixer application that comes with the driver. on the top right-hand corner is a reset button. Click that and a there will be a popup asking if you want to reset, say reset. Next open up system preferences and check the sound. Select the 410 for input and output. You have to also do this again in garagebands prefs. Test your audio out by playing a song through itunes or something. Hope it works.
-
Recording and listening through a TD20 module
Hello I am new to the forum and to logic express. I am trying to listen to music through my Roland TD20 module while recording the drumming I am performing. I am not sure if there is an easy way to put this. I would like to take a song (any song) and edit out the drum parts, play that back through my TD20 module where my headphones are plugged in, then record back the drums I am playing while listening to everything. I am using a MIDIsport UNO usb by M-Audio and right now I do not have logic express and would purchase it if I can perform these functions.
Thank you for any assistance.really what I would like to do is get the output from the mac to the TD20. Garageband does not do this. Will I have better luck with Logic Express 8? Can I import music into Logic that I can modify? This is all for practice for me.
Maybe you are looking for
-
Internet shuts off after a few minutes requiring wireless network reset on windows 8.1
I recently upgraded from windows eight to windows 8.1 I do not know if this has anything to do with anything I have a 64 bit OS. My Internet goes off by itself every 5 minutes even though my wireless icon at the lower right of the screen still shows
-
I am running lion now and I am not able to safe my emails to the computer with the attachments. what's wrong?
-
Would it be possible to have a better PRESETS management system in LR6/CC2015 ?
Congrats on LR6. I see a very nice speed improvement when working with my 36MP D800 files, especially when zooming in/out 100%. I still experience some hickups (controls sometime feel like they hang for half a second), but overall I enjoy the direc
-
Tool-tip text for Selection screen buttons.
Hi all, Got another requirement and need your help. I have a user-defined selection screen in my program. I would like to know if it is possible to have a tool-tip text ( quick info ) for the Pushbuttons on this selection screen. Any help is apprecia
-
IDVD- I need two windows opened at once...is that possible?
I am working on two separate IDVD projects. I would like to have two windows in IDVD opened at the same time. When I open the first project it shows in on my screen, then I go to file to open a new one and the first project is overridden. Is this not