Sqlserver connection in odi fetches no tables in reverse engineering
Hi,
I have created successfully sqlserver(2005) connection using odi. however, when i reverse engineered ..i do not see any tables..any idea why?
Thanks
Venkat
I figured out..i need to specify the username and password.
Similar Messages
-
Issue with MSSQL server connectivity from ODI 10.1.3
Hi,
In one of the interface we are populating data to target table in MSSQL server version 2005.
The physical topology connection results successful.
Since so long there is no problem and it is running successful. But suddenly I'm facing issues with this.
I cannot see teh datastores under the model created for this table. When expanding the model, when trying to reverse the model or when I am trying to save any changes in the package I am getting the below error.
java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java)
at com.sunopsis.dwg.reverse.Reverse.a(Reverse.java)
at com.sunopsis.graphical.component.b.a.g.a(g.java)
at com.sunopsis.graphical.component.b.a.g.a(g.java)
at com.sunopsis.graphical.component.b.a.d.a(d.java)
at com.sunopsis.graphical.component.b.h.e(h.java)
at com.sunopsis.graphical.component.b.h.b(h.java)
at com.sunopsis.graphical.component.b.h.b(h.java)
at com.sunopsis.graphical.component.b.h.b(h.java)
at com.sunopsis.graphical.component.b.h.a(h.java)
at com.sunopsis.graphical.frame.module.SnpsSplitFrame.refreshSplitFrame(SnpsSplitFrame.java)
at com.sunopsis.graphical.frame.module.SnpsSplitFrame.refreshNode(SnpsSplitFrame.java)
at com.sunopsis.graphical.frame.bp.bN(bp.java)
at com.sunopsis.graphical.frame.bp.bL(bp.java)
at com.sunopsis.graphical.frame.a.is.bH(is.java)
at com.sunopsis.graphical.frame.bo.r(bo.java)
at com.sunopsis.graphical.frame.bo.bv(bo.java)
at com.sunopsis.graphical.frame.bo.z(bo.java)
at com.sunopsis.graphical.frame.bo.b(bo.java)
at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I have verified below:
The SQL server version is: MSSQL server 2005
the "sqljdbc.jar" file is there in place "<ORACLE_HOME>/oracledi/drivers"
Java version: jdk1.5.0
There is no change in source or target db. Please help me to fix this issueHi,
Thanks for the reply. The link is helpful and its the same what is there in the environment.
"The JDK version is 1.5 and JRE version is 1.4.2."
But, this was working fine till last week. I am worried, if the issue is due to version compatability why we were not facing this issue before. There is no changes in the environment since go live of this interface.
Thanks, -
Table Browser does not 'fetch' any tables back from Database.
Post Author: StevenL
CA Forum: Semantic Layer and Data Connectivity
When I click on 'table browser', after waiting overnight (not me, physically..), the list of modules are shown but with no tables in. If I click on a module's contents it says 'Fetching tables' for a split secind before returning nothing. If I do a refresh the modules list goes blank. I have been able to do this until very recently, my Connection, user Account (Supervisor-Designer), BO version (6.5.1, ORACLE Database 10g) etc have all not changed. The problem we have is because there is more than 20 000 tables to return when 'table browser' is clicked and this takes overnight. Other users here with same resp. can all come in next morning to a full list to choose from - except me. We're all confused. Can anyone offer suggestions to what this could be?u201D A trace file setup via sqlnet.ora revealed nothing.
Has anybody got any suggestions here or methods of finding out more information?
Many thanks in Advance..
StevenLPost Author: StevenL
CA Forum: Semantic Layer and Data Connectivity
Well well. The good old remove and re-install has worked! Can't understand it. After simply getting the product re-installed, I opened up Designer, imported 2 differing Universes that used the LIVE Finance Database that was causing me the problems, clicked on table browser, waited approximately 60 seconds, hit escape, all tables were visible, I dragged and dropped no problem. I didnt need to reconfigure and create new BO Database Connections, replace the BoMain Key, in fact, anything. Totally mystery yet it works so Im happy!" Many thanks for all who read, helped or assisted.
Steven -
How to fetch the Table Control data to Customer Table(Z-Table) ?
How to fetch the Table Control data to Customer Table(Z-Table) ?
Hi Krishna,
Check this sample programs
http://www.planetsap.com/online_pgm_main_page.htm
http://sap.niraj.tripod.com/id29.html
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
Have a look at below links. It will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
Thanks,
Reward If helpful. -
Hi ,
Please suggest me the steps for establishing Sybase connectivity with ODI.
Also kindly provide me which Java connectors to be used and download path:
Thanks for your anticipation,
tejaNo idea but I'm sure google could help you out there ;-) Your question was how can ODI connect to netsuite which I think you now have the answer for.
-
Connecting Each row to another Table
Hi
This probably isnt the JDBC question but can some one tell me how to Connect each row of a column to another Table.
I have a Table with two columns Name and UserID. I want to connect each UserID to another Table. like User01 will be connected to another table called burn table for user01. User 02 will be connected to another table called burn table for user 02. Each table for user01 and user02 has 3 columns: CDName, EULA, License Key.
I read about primary and foreign keys but can some one give me a hint on this about how to start on it?
And if i get this done, then how would i execute a SQL query command so that I can read the data for each user. I am using java Servlets.
I am new sorry.
-bhaarati agree with you that making seperate table for each
user is terrible and i would be ashamed to present
this projec to anyone.
how do you think i should design this database other
than what i have suggested..
i might have alredy explained what the database is
doing but let me do that again..
1. There are about 150 or more CD's from MS.
2. Each user is able to burn a cd once only. for
example if user has already burned xp pro he cant burn
again.
3. there are about 600 or more users(thats why making
each table for each user is wrong, eventhough some one
else will be doing it, instead of me).
4. each cd has a license key associated with it.
please suggest me how i should do this database so its
not much of a hazzle and i dont have to pay some one
100 an hour so fix the problems lol.okay first i am going to list out the table designs and then I am going to provide some explanations
tblUser
username VARCHAR PRIMARY KEY
firstname VARCHAR
lastname VARCHAR
tblCD
cdname VARCHAR PRIMARY KEY
licensekey VARCHAR PRIMARY KEY
eula VARCHAR or TEXT
tblUserCD
username VARCHAR PRIMARY KEY
cdname VARCHAR PRIMARY KEY
licensekey VARCHAR PRIMARY KEY
so what's happening here...
well we have a table for users.. since we need a unique key i am using username... this could be the
name for someone uses to login to your system.
there is a different table that is list of all the cds. the primary key for this one is both the name and license together.
then there is a table that builds a relationship between the two.
in this scheme each user may download or whatnot each cd zero or one times. you can't put a second
download in because that will violate the primary key of tblUserCD
now let's look at some sample data
if the user table has this....
username----firstname----lastname
jsmith----------John----------Smith
aadams-------Audrey--------Adams
and the CD table has this
cdname----license----eula
Access-----12345----blah blah
Word--------12356----blah blah
Windows---99999---blah blah
then we do the following queries when John wants to get Access and Windows and Audrey wants to get Word and Access.
INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('jsmith','Access','12345');
INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('jsmith',Windows,'99999');
INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('aadams','Word','12356');
INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('aadams','Access','12345');
now if you want to get the list of program for any user (example John Smith) you just do this....
SELECT cdname FROM tblUserCD WHERE username='jsmith'
which gives you this
cdname
Access
Windows
there are several pluses to this design
1) as I alluded to earlier this design prevents you putting in the same cd and license key more than once for each user
2) You now can get a nice list of all the CD's easily.
SELECT cdname,licensekety FROM tblCD;
3) if you need to make any changes, like a persons username or more likely the cd stuff then it is easier to do so.. for example in your old design if you wanted to change Access to Access XP you would have to change EVERY table. in the new model you can do this in two queries.
UPDATE tblCD SET cdname='Access XP' WHERE cdname='Access' AND licensekey='12345';
UPDATE tblUserCD SET cdname='Access XP' WHERE cdname='Access' AND licensekey='12345';
(actually if you set up the keys properly and to cascade changes then you would just need the one query)
there is actually a theory for this sort of timesaving and error prevention work called normal form data.
for your further "enjoyment" may I suggest reading this http://databasejournal.com/sqletc/article.php/1443021
anyway hope this helps you out....
does this make sense to you? -
Hi all,
I am trying to connect with netezza db which is on ODBC driver connection from ODI 10g, but while connecting i found netezza-JDBC driver and i used that(nzjdbc) driver to connect to the netezza db. But while creating new physical schema, i found the error as follows:
java.lang.UnsupportedClassVersionError: org/netezza/Driver (Unsupported major.minor version 49.0)
Is that the version difference or the driver difference?? If so, may i know the solution for this issue.
Best Regards,
ManishHi Manish,
I have never worked on Netezza ,but see if following helps you in finding the version of your jar file
http://www.enzeecommunity.com/thread/2918
http://www.codeguru.com/forum/showthread.php?t=424436
Thanks,
Sutirtha -
Is it possible to fetch 3 tables with single select query(without using view)
Hi,
Yes, you can use JOIN or FOR ALL ENTRIES. Performance wise, For All Entries is better.
Try like this:
<u><b>JOIN:</b></u>
select zfpcdcadivi zfpcdproforma zfpcdfactura zfpcdaniofactura
zfpcdmontousd zfpcdmontoap zfpcdebeln zfpcdinco1
zfpcdlifnr lfa1name1 zcdvsstatus zfpcdconint
into it_lista
from zfpcd inner join zcdvs
on zfpcdebeln = zcdvsebeln
and zfpcdproforma = zcdvsproforma
and zfpcdlifnr = zcdvslifnr
inner join lfa1
on zfpcdlifnr = lfa1lifnr
where zcdvs~status = '04'.
<u><b>FOR ALL ENTRIES:</b></u>
SELECT likpvbeln likplifex likpbldat likpwadat likpwadat_ist likpkodat likp~lfart
likpkunnr likpvstel lipsposnv lipslfimg lipsvrkme lipslgmng lips~meins
lipswerks lipslgort lipscharg lipsvbelv lipsposnr lipsmatnr
lipsvbeln LIPSVGBEL LIPSVGPOS vbupkosta vbupwbsta vbupposnr vbup~vbeln
VBAKIHREZ VBAKVBELN VBAP~VBELN
INTO CORRESPONDING FIELDS OF TABLE it_itab
FROM ( likp
INNER JOIN lips
ON lipsvbeln = likpvbeln
INNER JOIN vbup
ON vbupposnr = lipsposnr
and VBUPVBELN = LIPSVBELN )
left outer join VBAK
on VBAKVBELN = LIPSVGBEL
inner join VBAP
on VBAPVBELN = VBAKVBELN )
WHERE likp~vbeln IN so_vbeln
AND likp~lifex IN so_lifex
AND likp~lfart IN so_lfart
AND likp~kunnr IN so_kunnr
AND likp~vstel IN so_vstel
AND likp~bldat IN so_bldat
AND likp~wadat_ist IN so_wadat
AND vbup~kosta IN so_kosta
AND vbup~wbsta IN so_wbsta
AND LIPS~LFIMG NE 0.
Regards,
Bhaskar -
Wrong connection to ODI Designer by JohnGoodwin's blog
Hi,
I'd like to set up the connection to the master repository and work repository (see 1st screenshot here ) to connect for ODI Designer. All tests passed successfully. But when I try to login under these settings I have error "Designer can't connect to Execution repository."
My config:
ODI 10.1.3.5.0
MS SQL Srv 2005 SP2
Hyperion PMSystem 9.3.1
Where can I see a log file to resolve my problem?Hi,
Execution is only for running production scenarios, basically it means you can only execute pre-defined and completed interfaces.
You will need to use development if you want to design and create models/interfaces etc...
You should be able to delete the work repository from the topology manager and recreate it, then set up the connection again when logging in to the designer.
Cheers
John
http://john-goodwin.blogspot.com/ -
Fetching whole table using OCI calls
I am new to OCI programming .I am writing an appliaction in C# to fetch data from ORACLE using OCI calls,Using that application i can able to fecth single row,
but i need to load/ fetch the entire table data from the database using the single fetch?
I have created a scrollable resultset by using the below give statement
and i can able to fetch single coloumn.
short paramSizee = 20;
IntPtr TestNo = GetPointer((int)paramSizee);
rc = OCI.OCIDefineByPos(hStatement, out HDefine, hError, 1, TestNo, paramSizee, OCI.DATATYPE.VARCHAR2, OCI.NullHandleRef, OCI.NullHandleRef, OCI.NullHandleRef, OCI.MODE.OCI_DEFAULT);
if (rc != 0)
Console.WriteLine(CheckError(hError));
throw new Exception("OCI Define Failed...");
rc = OCI.OCIStmtExecute(hServiceContext, hStatement, hError, iters, 0, OCI.NullHandleRef, OCI.NullHandleRef, OCI.MODE.OCI_STMT_SCROLLABLE_READONLY);
rc = OCI.OCIStmtFetch(hStatement, hError,50, OCI.FETCH.OCI_FETCH_NEXT, OCI.MODE.OCI_DEFAULT);
if (rc != 0)
Console.WriteLine(CheckError(hError));
throw new Exception("OCI Fetch Failed...");
Using above calls i can able to fetch arround 100 rows per fetch but my customer table has 16000 rows .
So it will be great if someone suggest proper way to fetch entire table data in single fetch.
Thanks,
RajFor fetching large number of rows in single Db roundtrip use the following
To get the bulk Data use the following.MAX_PREFETCH_ROWS is the integer value you want fetch in BULK
(void) OCIAttrSet((dvoid *)DBctx->stmthp, (ub4) OCI_HTYPE_STMT,
(dvoid *)&MAX_PREFETCH_ROWS,(ub4)sizeof(MAX_PREFETCH_ROWS),
(ub4) OCI_ATTR_PREFETCH_ROWS, DBctx->errhp); -
Dear Experts
In process Reverse Engineering using RKM SAP ERP but error this result.
Reverse Engineering
View image: r e logalagent test
Error
View image: r e logalagent error
Error text
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
Task: 2
java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:809)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)
... 11 more
Caused by: org.apache.bsf.BSFException: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Texto: //Command Name: Initialize
import com.sap.mw.jco.*;
import java.sql.Connection;
import java.util.ResourceBundle;
import java.util.Date;
//Initializing resourceBundle
odiSapErpResourceBundle = new OdiSapErpResourceBundle();//resourceBundle object to initialize & load resources
odiSapErpResourceBundle.initializeResource();//initializing/loading resources
resourceBundle = odiSapErpResourceBundle.getResourceBundle();
//Check the ODI Release
//Initialize Open Tool log file name
//Initializing logger
String logFileName = "";
logFileName = <@=odiRef.getQuotedString("<?=new File(System.getProperty("java.io.tmpdir"),"sap_rkm_erp_"+odiRef.getSession("SESS_NO")+".log").toString()?> ") @>;
OdiSapLogger sapLogger = new OdiSapLogger(logFileName, resourceBundle);
sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"SAP ERP RKM - Initialize step.."} );
//Check whether Table or View checkbox selected
typeOfObject = "T";
if ((";AT;Q;SY;ST;T;V;").indexOf(";V;") > -1)
typeOfObject = "V";
if ((";AT;Q;SY;ST;T;V;").indexOf(";T;") > -1)
typeOfObject = "T";
//Initializing SAP Connector
OdiSAPERPAdapter odiSapERPAdapter = new OdiSAPERPAdapter(sapLogger, odiSapErpResourceBundle);
odiSapERPAdapter.setObjectType(typeOfObject);
//Helper object
OdiSAPERPMetadataHelper odiSAPERPMetadataHelper = new OdiSAPERPMetadataHelper(odiSapERPAdapter, sapLogger);
<?
// SAP connection properties get from Topology Manager Defintions
String hostName = odiRef.getInfo("SRC_DSERV_NAME");//SRC_DSERV_NAME
String userName = odiRef.getInfo("SRC_USER_NAME");
String password = odiRef.getInfo("SRC_PASS");
String systemNo = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_SYSTEM_NUMBER" );
String sapClient = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_CLIENT" );
String language = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_LANGUAGE" );
?>
//Setting the SAP Connection
odiSapERPAdapter.setSAPConnection("<?=hostName?>", "<?=systemNo?>", "<?=sapClient?>", "<?=language?>", "<?=userName?>", "<?=password?>", null, null);
//Get the repository connection
Connection repoConnection = odiRef.getJDBCConnection("DEST");
sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"repoConnection: "+repoConnection});.
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:837)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:744)
What I must correct?
What other tests can I perform?
Thanks for any lightDear Expert
Still facing this problem.
I did several tests, changing flexfields in physical topology and the parameters of RKM.
But the result is always the same.
What else could do.
The doubt remains.
Should be poss edit details.
>> >>> review history this post <<<<<
I can not enter values in JDBC because the JDBC option is not active.
Any light, suggestion or critics is welcome.
Also I have a SR open with serveridade 1 in orcl.
Thanks for All -
ODI-20161 Standard reverse-engineering failed message
A review of the failing tables doesn't show any obvious pattern.
Reverse engineering a MSSQL 2008 schema throws:
com.sunopsis.dwg.SQLWorkReposException: String or binary data would be truncated.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:197)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1493)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:390)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:340)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(SQLServerPreparedStatement.java:308)
at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
at $Proxy3.executeUpdate(Unknown Source)
at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$StatementInvocationHandler.invoke(RuntimeClassLoaderDataSourceCreator.java:163)
at $Proxy4.executeUpdate(Unknown Source)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:650)
at com.sunopsis.dwg.dbobj.generated.GeneratedSnpRevCol.insertAction(GeneratedSnpRevCol.java:879)
at com.sunopsis.dwg.DwgObject.insert(DwgObject.java:3030)
at com.sunopsis.dwg.DwgObject.insert(DwgObject.java:3053)
at com.sunopsis.dwg.reverse.Reverse.getMetaData(Reverse.java:1520)
at com.sunopsis.dwg.reverse.Reverse.getMetaData(Reverse.java:1020)
at com.sunopsis.graphical.frame.edit.EditFrameSnpModel$7.doInBackground(EditFrameSnpModel.java:2577)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)1. By specifying EXTRACT_ATTRIBUTES_MEMBERS = yes you can have a column created for the attribute dimension. You can populate the attribute dimension values through this column.
2. Tab should work here. Please check Oracle Hyperion Essbase - 11g Release 1 (11.1.1) where the acceptable value are defined.
Thanks, -
Reverse-engineering excel files in ODI
Hi,
I am currently creating an ODBC Data Source to connect to MS Excel and then reverse-engineering the excel file.Do I need to create separate ODBC Data Source for each excel file or is there any other way to achieve this?
Please suggest.
Thanks in advance.hi Dev
1. Have you defined the correct link between DSN and your Excel File the answer is yes
2. Have you test the Connection in Topology ?yes and it's OK
3. Also is your Excel file has an Extension of XLS ? yes
4. When reversing have you check the required Technology - Microsoft Excel with required Logical Schema and context Yes i have Microsoft Excel with required Logical Schema and context
and also try checking the Tables and System Tables for reversing .I' can't -
After reverse engineering i have still the old deleted tables
hi ,
i dropped a table from database schema and go to ODI and run reverse engineering on my model which linked to the database schema through my logical schema, but the deleted table still exist in my model ??? i wish this dropped table automaticly deleted from my model..Hi,
Deletion actual table will not reflect while reverse engineer.
The Meta data has been taken into ODI. It has become an object of ODI.
So you have to directly delete the data store to remove it from ODI.
Hope it helps.
Regards,
Gatha -
ODI Reverse-Engineering Question
We've been using ODI 10.3.5.1 for about a year now. The current load process was set up for us during implementation of Hyperion Planning. We are now trying to add a new dimension to our hierarchy, and I mistakenly went in and added the columns manually to all the models I could think of. I also added the columns into the source and target datastores in the interfaces manually.
Naturally, the load did not work. I keep getting the error "invalid column name 'Cost_Center'. I have been told by the installer (over email) that i should have reverse-engineered the models, and let the program build all the datastores. I tried to do the reverse-engineering, and am now getting an error for the HYP_PLANNING model, and the HYP_ESSBASE model runs and runs and runs, without doing anything noticeable.
How long should a reversal run? I don't believe our hierarchy is extraordinarily huge.
This is all in the TEST environment right now, but I need to put things in LIVE for August financials, so I have until 9/9/09 to figure this stuff out. Any insights would be greatly appreciated.Thanks for the quick response.
Like I said, it was done by the consultant, so I don't even know what an agent is.
As for the error, it was:
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 41, in ?
com.hyperion.odi.planning.ODIPlanningException: Failed to sync with user provisioning. Check Planning log for details
at com.hyperion.odi.planning.wrapper.PlanningWrapper.login(Unknown Source)
at com.hyperion.odi.planning.ODIPlanningConnection.connect(Unknown Source)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx0.f$0(<string>:41)
at org.python.pycode._pyx0.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Caused by: com.hyperion.planning.HspRuntimeException: Failed to sync with user provisioning. Check Planning log for details
at com.hyperion.planning.HspJSImpl.synchronizeUserWithProvisioning(Unknown Source)
at com.hyperion.planning.HspJSImpl.login(Unknown Source)
at com.hyperion.planning.HspJSImpl.login(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
at sun.rmi.transport.Transport$1.run(Transport.java:164)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
at java.lang.Thread.run(Thread.java:570)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean_Stub.Login(Unknown Source)
... 34 more
com.hyperion.odi.planning.ODIPlanningException: com.hyperion.odi.planning.ODIPlanningException: Failed to sync with user provisioning. Check Planning log for details
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Maybe you are looking for
-
Mac mini with minidisplayport to vga adapter: display does not sleep
I have a late 2009 mac mini. When using a mini displayport-vga adapter from Apple, whenever the mini puts the display to sleep the video goes black and my monitor goes into test mode (not sleeping). It's almost like the signal to tell the display to
-
Error in some of the login modules
`Hi Experts, I have deployed SPNEGO and when user trying to login to portal, it gives the error as taken from diagtoo(below) Also would like to inform you that when I have configured the wizard, some how in VA for lots of the Components in Security p
-
I can't escape my iPhone 4s camera pan mode
I've tried everything, shutting down, closing the app, pressing anything on the screen that I can see. I've searched the internet. I can't escape it to take a plain old picture! Can anybody help me? I'm visually impaired, and that makes seeing the ic
-
New iPod nano 2nd generation issues
I bought a macbook today and it came with a free iPod nano. I had the original nano already, but I'm really excited to have the new one. Well I hooked it up to my macbook and everything went smoothly. But I don't have any music on my macbook (it bein
-
Document library with one document which has 2 workflows
We have a document library and for one document we have 2 workflows. One canceled and one running. The running is a previous version. How could we delete the actual cancel workflow that we see in the library the previous workflow which is still runni