Assuming daily certain up to date database is produced via loading from various sources.
Changes need to be applied to historical database based on uid, new records will added , non existing will be softly deleted , some will be updated. Is Ado.Net and Sql statements the most appropriate technology for the task like this ?
i am trying to compile a c-based forms api program on Linux x86_64
using command
gcc -m32 -I"$ORACLE_HOME/forms/api" -L"$ORACLE_HOME/forms/lib" -L"$ORACLE_HOME/lib" -ld2f fapi.c
it fails with a bunch of undefined references.
$ORACLE_HOME/lib/libd2f.so: undefined reference to `sifom'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `idfrsti'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `simmal'
etc...
does anyone know the list of all the library files i need to add?
I have a collection of book objects in a HashMap. The book has book_title, book_author, book_year_published, etc. I want to sort them based on the book_title which is a String, in both ascending and descending order, and display them on the screen.
I wish someone can help me - I have been doing this for hours and still havent come up with a solution. Thanks in advance.
I have a collection of recipes, each having a number of ingredients. This information is stored in a join table. Give a recipe, I'd like to find recipes similar to it based on ingredients. How would I go about doing this?
I am using MPXJ library to access Microsoft Project file in .net. before proceeding with it i wanted to make sure either it is based on Microsoft Interop services or not.
i hope not :)
I want my jqGrid to shrink and expand based on the number of rows it has. Let say it currently has 10 rows, the height of the jqGrid will shrink to 10 rows (so that no gaping empty rows is exposed).
If however there are too many rows, the height of the grid will expand to a maximum 'height' value and a scroll bar will appear.
In Oracle's PL-SQL, you can declare a variable and define its type based on a table column:
declare var1 table.column%TYPE;
Is it possible to do something similar in MS SQL Server?
I searched but could not find a duplicate for this question. If there is one, please let me know and I'll refer to it and delete this.
Hi,
What would be the general structure of a App/Project based in C Programming language.
libs,
includes,
header files.
etc etc.
What would be the class structure. (in OOps) need to be scalable and other features.
Something like main.cpp
main.h
does any one have any good links or images or pdf?
Hi:
I'd like to update values in one table based on corresponding values from other tables. Say you want to update prices of pieces provided by one specific manufacturer whose name is in the table Manufacturers with the Pieces table containing only the id of the manufacturer.
I've seen several solutions for MySQL here and for MS SQL Server here but none of them seems to work in SQLite.
Any suggestion?
I have a jsp file pageshow.jsp and the parameter id,
Is there any way to cache the jsp file in server-side based on the url parameter
Requesting page pageshow.jsp?id=100 get from cache instead of building from server
Requesting page pageshow.jsp?id=200 get from cache instead of building from server
Above two pages should have different cache content since their parameter are different
This may avoid the rebuilding the jsp file in server side and also decrease the server load
Hi
I've tried to setup a controller for a document in a document based application, and i'm not sure what is the correct for doing that.
In MyDocument.xib I have set the File's Owner as MyDocument class and the I connected the outlets and actions to it but it doesn't seem to work
Could anybody give me a hand on this?
Cheers
I am facing the problem of sort Lucene results based on user click log. I would like that more accessed results comes first. Does anyone knows how to configure or implement such property in Lucene or Solr?
Thank you very much.
I need to know how to start writing an application based on plug-in architecture. I mean how to write a base code an let others develop the application by adding the plug-ins they write.
I know that there is some problems in doing such in c++. most people use another language such as python to add plug-ins to their c++ application.
Hi,
I am planning to write a generic python module for installing a package. This script should retrieve the module from a remote machine or locally and install it on a given host and user. However, there needs to be changes made to the package files based on the host, user and given environment.
My approach is to use XML to describe changes to be made to package files based on environment. It will first extract the package to the user directory and then using an xml configuration file, it should replace the file values in the package directory. The xml would look something like this:
<package version="1.3.3">
<environment type="prod">
<file dir="d1/d2" name="f1">
<var id="RECV_HOST" value="santo">
<var id="RECV_PORT" value="RECV_PORT_SERVICE" type="service">
<var id="JEPL_SERVICE_NAME" value="val_omgact">
</file>
<var dir="d4/d3/s2" name="f2">
<var id="PRECISION" value="true">
<var id="SEND_STATUS_CODE" value="323">
<var id="JEPL_SERVICE_NAME" value="val_omgact">
</file>
</environment>
<environment type="qa">
<file dir="d1/d2" name="f1">
<var id="RECV_HOST" value="test">
<var id="RECV_PORT" value="1444">
<var id="JEPL_SERVICE_NAME" value="val_tsdd">
</file>
<file dir="d4/d3/s2" name="f2">
<var id="PRECISION" value="false">
<var id="SEND_STATUS_CODE" value="323">
<var id="JEPL_SERVICE_NAME" value="val_dsd">
</file>
</environment>
</package>
What are your thoughts on this approach? Is there an existing python module, package or script that I could use for this purpose since this seems fairly generic and can be used for any installation.
Thanks!
Sam
I need help to create a function to determine the week number based on these 2 parameters:
Starting date
Specified date
For example, if I specify April 7, 2010 as the starting date & passed April 20, 2010 as the date to lookup, I would like the function to return WEEK 2. Another example, if I set March 6, 2010 as starting date and looked up April 5, 2010 then it should return WEEK 6.
I appreciate your time and help.
Is it possible to create objects at runtime based on it's type by calling a method.
What I am trying to achieve is
var
lForm1 : TForm;
lForm2 : TForm;
begin
CreateObjects([lForm1, lForm2]);
// After this call I have the variables initialized and I can use them.
end;
Is it possible to create the following behavior with one or more existing JQuery plugin(s)/widget(s)... or with some other web framework?
Rectangular divs with textual content are arranged in rows (left to right) based on their sort order, and then flow to the next line if needed (top to bottom).
In most MVC based framework I see a router object. If I look at it splits up the uri and decides what controller should be used, and which action should be fired.
Even though this makes a lot of sense, I can not give this a place in the MVC patern. Is splitting up the uri not the job of the controller. And then the controller should just decide which class and function to run.
By default DB connections of JPA applications are configured in the META-INF/persistence.xml, when the application is not deployed to a full Java EE application server. In my opinion it is not very elegant to place such environment specific configuration into a file that is inside a .war file. How could a DB connection of a Servlet based JPA application be configured more flexible (=outside of the .war file)?
Hi everyone,
I'm in search for a jQuery-based Date/Time Selector. I have found a few that are quite nice, but one of my requirements is that I can provide a json/xml/etc source of available days/times and the control should only allow selections of available days/times.
Is anyone aware of a plugin that does this, or at least a plugin that could be modified to do this?
Thanks!
I'm building a PHP-based web app for the first time and I haven't found anything to pattern it after. At this point I'm mostly curious about how the files should be arranged into directories so that development of the website can be manageable. This includes javascript scripts, images, stylesheets, cgi scripts, html files, pure php files that define common functions, etc.
Question: Can someone point me to an explanation about how such a website is typically organized on the server?
I am a newbie to ICEfaces and i have a requirement where i need to download a document from a given url (http://ipaddress/formexec?objectid=201).
This URL uses a form based authentication that is deployed through ICEFaces.
i tracked the request of this URL and i get the following line:
&ice.submit.partial=false&ice.event.target=loginForm%3Aj_id33&ice.event.captured=loginForm%3Aj_id33
Is there any libraries or code to download the document by successfully passing the username and password.