How can i use the database in my plug-in?
Hi :
I write a plug-in, but i want it can read the datafile and get the data of corresponding column ,at last show them on the pageitem. I know InDesign have this founction but i can`t get use it in my plug-in. ( * -- * ) !
In my case, windows environment.
I use odbc c++ programming.
odbc library.
http://web1.codeproject.com/KB/database/caaodbcclass.aspx?msg=733173
this code has some bug, but you can fixed it.
Lion,J
Similar Messages
-
How can I use the database default time rather than Java supplied time
I've searched over and over and nobody seems to have this issue so maybe its just me!
When inserting a record I would like the a create_date column to automatically use the database time rather than a supplied time via JPA. That was all times a relative to the database which makes sense.
The trouble is I cant figure out how to do this in a sensible manor.
If I specify an column like :
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_DATE")
private Date createDate;
and IDL
CREATE_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_DATE NOT NULL
If I leave createDate null I get an exception. If modify the column to allow Nullable then column is set as Null.
If I leave the column out of the entity bean and then and create a row then the database current time is inserted. The trouble then is that if I want to read the date I'm going to have to create a copy of the bean but with the CREATE_DATE in it, and this doesn't make sense.I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
Doug -
hello i would like to stop using outlook (office 2011) and use instead "mail": how can i transfer the database?
Hello Sylviefrombuenosaires, here is a link from macworld that can solve your question. Try reading this.
http://www.macworld.com/article/158112/2011/02/export_outlook_ical.html
Carlos -
How can I change the database & schema used by an Application?
Hi community,
I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
Is there a way to do this?
Thanks in advance for any help! Cheers!Are you trying to change a database connection of Planning application?
Essbase application do not have a relational connection.
Regards
Celvin
http://www.orahyplabs.com -
How can I know the database is using Cost Based or Rule Based?
Hi all expertise,
How can I know the database is using Cost Based or Rule Based?
If cost based it is using, what methods are need to use to minimize the cost when database is running? And which tables I can see the performance of the database?
Thanks
Amyhow to see database setting ?
use this
SQL> sho parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 1
optimizer_features_enable string 9.2.0
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_max_permutations integer 2000
optimizer_mode string CHOOSE
choose means if table statistics is available then it will use cost
else
use rule based optimizer
for seeing performnace of table use
set autotrace on
and run your query
if it doen't show cost.it means it use rule based
for using cost based
u will calculate table statistics
9i
dbms_stats.gather_table_stats('owner','table');
8i
analyze table <table_name> compute statistics;
hope it will help you
kuljeet pal singh -
How can I use two database in Dataset in SSRS?
Hi,
I am using one query to generate my SSRS report. In that query I am using subquery. Now I am pulling data from multiple tales.
DB used in sub query is different than the rest of the tables DB.(So total I am using 2 DB(Database))
So I see that in SSRS, I can connect query(In DataSet Properties) to one DATA_SOURCE only, how can I use other database which is I used in sub-query?
I have to move this SSRS into PROD and I can't hard code that sub-query's DB name in my query.
Please give me suggestion. Thanks!!
VickyIn SSRS 2008 R2 you can use the Lookup function (http://technet.microsoft.com/en-us/library/ee210531.aspx ) and LookupSet function (http://technet.microsoft.com/en-us/library/ee240819.aspx
Depending on your security set up, you can reference a table in a second database on the same server using a three part name: database.schema.table. This is more likely to work for you if you wrap your SQL command in a stored procedure.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
How can i use Unix database in java?
How can i use Unix database in Java?
Message was edited by:
JProI have not a clue about FoxPro, but the db then is FoxPro and not Unix. The better question would be "How do I connect to FoxPro DB running on Unix with JDBC?".
My answer to that would be, search the Internet for a JDBC driver. -
How can i open the database by force?
my database is crash because the machine power problem, when i restart again, oracle error say the control file is older than the system tablespace file,
so i have to create the controlfile again, then , the database need recover , but my database is not archived, it can't take a media recoer , what should i do?
how can i open the database even lost some data?Pallofa,
Try open img file using some software.
You need a software to mount the img file.
http://techie-buzz.com/how-to/mount-iso-files-as-a-virtual-cd-dvd-drive.html
If thinstead of using an img file, just use this command.
repair-bde e: d: -rp xxxx-xxxxx-xxxxxx-xxxxx -f -lf c:\log.txt
where d is the portable disk whereyou want the data and d drive should at least
equal to e drive.
Where xxxx-xxxx-xxxxx is the 48 digit recovery password.
-lf will generate a log file and point to a certain location, here I have pointed to c drive.
After repair-bde is completed, run chkdsk /f on D drive, then try to access your data.
Manoj Sehgal -
How can i use the boolean AND here?
Hi,
how can i use the boolean expression AND in order to include it in the expression below so as that 2 condition must be true in order to get the respective data from the database?
java.sql.ResultSet res = statement.executeQuery("SELECT * FROM station9 " + "WHERE P =" + power);
regardsjava.sql.ResultSet res = statement.executeQuery("SELECT * FROM station9 " + "WHERE P =" + power + " AND FLAVOUR = " + raspberry);
-
How can I use the old Apple TV with new iTunes? It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync. I can access the iTunes Store fine, just none of my Library
read this
https://discussions.apple.com/message/20429789#20429789 -
How can I use the print module to print different size images on one large "canvas"?
How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
I was thinking the print module would do this automatically for me.You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.
-
How can I use the QR codes with my iPad 2. do I need to download first an app ?
How can I use the/read the QR codes with my iPad 2 ? Do I need to download an app ?
Yes. There are quite a few available for free in the app store
-
I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.
As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
https://discussions.apple.com/community/appletv/appletv -
I have been playing a game for a while under an account, now I have an Itunes card under a different account and would like to use that $$$ to purchase items for my game, but it doesn't let me because the game was downloaded under the original account. How can I use the $$$ in my new account?
same here but i cant purchase a movie or anything
-
With Acrobat 6.0 I was able to copy a stamp in the same position (I mean "exactly" the same one) of different pages just by using the "copy/past" tool.
Now I am using Acrobat XI and it seems like it is not possible anymore: I am copying a stamp and I am trying to past it in anoter page, but it appears in the center of the page (or wherever it wants to...).
Does anyone have a solution?
Thanks in advance.Thank you very much. I'll be waiting for you message.
Messaggio originale----
Da: [email protected]
Data: 26/01/2015 17.56
A: "Umberto Gangi"<[email protected]>
Ogg: How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
created by Gilad D (try67) in Creating, Editing & Exporting PDFs - View the full discussion
Well, I was in the same situation so I've developed a tool that allows one to do it. I will send you some additional information about it in a private message.
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7132586#7132586 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7132586#7132586
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Creating, Editing & Exporting PDFs by email or at Adobe Community
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.
Maybe you are looking for
-
Can't open my projects that I did on my laptop on my desktop without the CS6 working
I downloaded creative cloud CS6 on my laptop a year ago nearly and now have a new desktop computer we have installed the creative cloud mbbutand thecomputer came with the old CC programs which I try to update to CS6 but everytime I go into ndesign i
-
Opening a Crystal Report in B1 8.8 in a User Defined Form representing UDO
Hi Experts, Is it possible to open a Crystal Report from a User Defined Form representing my UDO? I had developed a 'Vendor Quotation' UDO and its User Defined Form I wanted to show the report while clicking the Preview menu in SAP B1 8.8 toolbar. I
-
How do I fix my iPhone it keeps freezing on the pass code and the home button reset does not work
-
Reload computer software to factory original from hard disk partion D
I have an HP Pavillion Slimline s3750t, bought in May 2009 It originally had Windows Vista It has a partitioned hard drive with the factory image on drive D A few months after purchase I loaded Windows 7 Home Premium I would like to wipe drive C clea
-
Safari Has encountered an error and needs to close
Hi I have been having this problem with safari that right after it starts it closes due to an error (thats what it says) I really like safari and i'm waiting on my mac to get here so HELP!