Sitemap

Amicuk Programming Answers

Newb question: page size and bindings

2015-10-11   Views:0

Advertisement

Hi all, I'm having trouble with two things (probably many more to come). 1) In the "discover berkeley" presentation, it said I could change the page size in my database. Where is that configurable? 2) I've read in the manuals that to store value

Hi all,
I'm having trouble with two things (probably many more to come).
1) In the "discover berkeley" presentation, it said I could change the page size in my database. Where is that configurable?
2) I've read in the manuals that to store values in a key-value pair, I can use an entity (which I am currently using), or I can make it serializable, or creating bindings. My objects are currently composed of 2 ints, a short, a double, and a byte[8]. It's not a complex object, so I don't believe I need to use the serializable stored class catalog or the custom bindings. Is that not the case?
The entity option seems the easiest. Is it slower to use or something?
The serializable option makes it sound like I can only store a single primitive. Is that right?
Please let me know - any help would be greatly appreciated.
Thanks,
Julian

The replay answer
Advertisement
Julian,
Page size is an parameter for the C version of Berkeley DB. We're on the Java Edition forum, so perhaps you mean to be on the forum for the C product - Berkeley DB
Have you had a chance to read through http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/bindAPI.html ? That's a short overview to bindings, while a comprehensive writeup that walks you through how to pick a binding is at http://www.oracle.com/technology/documentation/berkeley-db/je/collections/tutorial/collectionOverview.html#UsingDataBindings.
But before you delve too deeply into bindings, you should consider using the Direct Persistence Layer API. That will let you use store and retrieve Java objects directly from Berkeley DB Java Edition or Berkeley DB without managing bindings explicitly.
Regards,
Linda

Go to See the other 2 answers

Newb question: page size and bindings

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I'm having trouble with two things (probably many more to come). 1) In the "discover berkeley" presentation, it said I could change the page size in my database. Where is that configurable? 2) I've read in the manuals that to store value[More]

Newbie Questions - Page 6 loads before page 1?

Category:DefaultRelease time:-0001-11-30Views:130

I'm pretty new to Flash.  I'm trying to help out the company I work for by updating the Flash website that was built in 2008.  Unfortuantly, the person who built it has exactly nothing documented or even labeled, so it's been rough and again, I'm pre[More]

Custom Page Size Question

Category:DefaultRelease time:2015-10-11Views:130

If I choose one of the fly-out "edit page size options" at the bottom of the pages palette, such as compact disc or business card, why does the page size still say 8.1/2 x 11 if I go to--> "document set-up"? Is there a way that you[More]

IBooks Author Page Size Question

Category:DefaultRelease time:2015-10-11Views:130

I would like to use iBooks Author to put together a book for print (instead of using InDesign which is not intuitive for photo placement). iBooks Author looks good and the templates seem to work very well, but I have found no way to specify total pag[More]

Question about page sizes

Category:DefaultRelease time:-0001-11-30Views:130

I received a PDF file that should have letter sized pages 8.5 inches by 11 inches. The page size in the lower left hand corner says that the pages are 35.42 inches by 45.69 inches or approximately 4 times the normal size. The file is readable at 31%,[More]

Template/Page size questions

Category:DefaultRelease time:-0001-11-30Views:130

Hey guys, I will explain what I am trying to do then maybe someone can walk me through it. We have a advertisement flyer type thing that I need to come up with an ad for, each ad is 4x3. I need to come up with an ad front and back, and figured that P[More]

Question on page size

Category:DefaultRelease time:-0001-11-30Views:130

I have very few pictures on my website and the page size is just too big...almost triple other webpages....what are the major contributors to the size of the page?No, but the ones you have are chubby - Global Statistics Total HTTP Requests: 25 Total[More]

How to reserve the page size when exporting to MS Excel 2010

Category:DefaultRelease time:2015-10-11Views:130

Hello. I have a report which exports to MS Excel 2010. I applied the page size as legal in Crystal Report and would like to use the same page size in Excel However, MS Excel print preview says the page size is letter. How could I keep the same page s[More]

Print to different printers by page size

Category:DefaultRelease time:2015-10-11Views:130

Hi, i have a problem,  i need to print documents that have inside a lot of  different size pages(a4,A3,a1,A2,A0, a4x3 e.t.c.). Is it possible automaticly somehow to redirect a4,A3 pages to one printer and a1,A2,A0, a4x3 e.t.c. to other while printing[More]

How to allow domain users to customize page Size in Adobe PDF printer.

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I am not able to customize page size in Adobe PDF printer when I logged in with Domain user login. But I am able to Customize PDF printer in admin Login. I need a solution to allow Domain users to customize page size for Adobe PDF printer. Lo[More]

How can I change the page size of a pdf so i can view it on my iphone more clearly?

Category:DefaultRelease time:2015-10-11Views:130

How can I change the page size of a pdf so i can view it on my iphone more clearly?I think there may be more to this question than you say. If your PDF page is say, 8 x 12 inches, and you found a way to scale it to 25%, changing it to 2 x 3 inch, shr[More]

Hot
Hi guys, I want to create small report that will notify me every day (or every 12 hours) if my RFC connection is succesfull. Is it possible to send this notification on email or as message when user is loging on the system?? I have created RFC destin [More]
My email page is frozen. I cannot access my in box.ElburyTry terminating and restarting the Mail app. 1. Press the Home button 2. Double click the Home button to bring up the "Recent Apps" tray. 3. Touch and hold on the Mail icon in the "Re [More]
hi, I have a push button in my form that runs the procedure .the process will approx 15 minutes. while processing is started, i want to display PROGRESSIVE BAR until process complete and exits automatically after process . please suggest me how to cr [More]
I had my HP Laserjet 5000N connected to my wireless router via ethernet cable. It worked fine. But then I changed routers and can't remember how to reestablish the connect.  Can anyone help? Thanksno problems. There is a priority order when multiple [More]
hi when i connect my laptopm to a tv through an HDMI cable the audiio is not transfering to the tv's speakers. i have tried to check the settings but there is no option of making the HDMI output as the default playback device... there used to be such [More]
I have an input field marked read-only on a form.  When I run the application, select the read-only field, press enter, then Save (validating action), I get a WebDynpro exception saying that I attempted to modify a read-only context attribute.  This [More]
Have reviewed a number of new vid tuts on doing things with video files in Photoshop CS5.  I've tried it but every time I try to bring in a video file into CS5 Photoshop 32bit, PS stops working and shuts down.  I also see I do not have a "Video" [More]
Hi Experts, I have a customisation that creates an XML Publisher report. There is a custom Java program which determines how the recipient is to receive the report e.g. fax, email, print. If it is email, it then determines what file format the report [More]
I bought a DVI to HDMI cable to use my Panasonic 1080 46" Plasma TV as monitor so that I could watch DVDs after my Xbox 360 went out. I tried all 3 HDMI inputs and no picture nor sound. Does anyone have any suggestions?Are you connecting your compute [More]
Hello, I want to create a matrix view of a report in the following format. tried a lot of ways llike data pivoting, etc. but most of the ways use aggregate functions. format in which i require data is: ID NAME LEVEL PROJECT LOCATION ORACLE FORMS ORAC [More]