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
I successfully installed Oracle XE on my Windows/XP PC. I followed 'Getting Started Guide' and created a new application using the hr.employees table. I could run this application by logging in as hr/hr. How can I create other HTML DB end users to ru [More]
As of recently, whenever I plug my Video iPod Nano into my Hi-Fi the screen locks up. The music still plays through the Hi-Fi, and I can control the volume via the unit however the screen completely is frozen, and unresponsive to any movement on the [More]
Hi, I have a custom Image library. I have two custom columns created as part of metadata. One is a dropdown choice column, which contains 2 values - "Free", "Paid". I also have a datepicker column (date only).  I would like to set a va [More]
What does this mean?Perform a Reset... Reset  ( No Data will be Lost ) Press and Hold the Sleep/Wake Button and the Home Button at the Same Time... Wait for the Apple logo to Appear... Usually takes about 15 - 20 Seconds... ( But can take Longer...) [More]
Well, I got the Muvipix book. But I dont think im finding a solution to my problem within the book. After inserting a Picture in Picture I need to crop out some of the new Video. So I crop it up just right. But when I save it and open to view it, it [More]
Currently in our environment we have Exchange 2013 (Client Access and Mailbox on one server) (no service pack) built on Server 2012 machine. I'd like to rebuild the Exchange server on a new Server 2012 R2 machine. Are there any automated tools for tr [More]
Hey.....I am a newbie and i wish to go for CS6. Based on your personal experience, can someone please throw some light on the various applications such as Dreamweaver and photoshop that are there in CS6. I would also like to know your opinions on the [More]
If a MPR/Workflow is kicked off based on resources transitioning into a set, is there a way to determine how many records were transitioned in? E.g. the existing set already contains 50 resources and after the transition in, it contains 60. I basical [More]
Hello everyone, I succesfully install Leopard, got the green check mark, but after the machine restarting, playing the intro movie and asking for my info, I didn't want to register at the moment. Now I'm trying to do it and got the spinning color whe [More]
Hello, has anyone tried to perform a DS 4.16 migration to iDS 5.1 in a cascading replicated environment with selective branch replication (split DBs)? I set up legacy replication between 4.16 master (one DB) and 5.1 hub (two DBs, meaning one DB for r [More]