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 B2B gurus, I would like to present a scenario i am trying to work out. Lets say there are 2 buyers B1 and B2 And 2 suppliers S1 and S2. The buyers send a PO to the supplier and the lets say the Supplier sends an Invoice to the Buyer. Also there ar [More]
Problem started when I switched to 64bit iTunes On a older Pc,Got a new pc And still cannot get iTunes[64bit] to read the iPod touch.It shows up in windows,I've changed syncing cords,I tried all 15 steps That was listed in the support document for th [More]
how do you set the positioning of an object in java public class Panel extends JPanel{ public void mymethod (int i){ Graphics paper = this.getGraphics(); paper.setColor(Color.black); Graphics hit = this.getGraphics(); hit.setColor(Color.yellow); swit [More]
We are getting the following error in SRM system when doing confirmations, any ideas guys Error whilst creating an entry sheet in the backend system 0000026433 117 General error during acceptance posting This then dispays as an error in process??? Re [More]
I'm making the Help from a Frame12 file, using the Responsive HTML5 format. Viewed in Portrait orientation on a tablet, the page is just blank. On Landscape view, the information appears, but isn't scrollable past the first view. I have searched thro [More]
Hello everybody, I would like to learn more about Cicso hardware, and the best way is to try and play with the hardware. I have a Cisco 878 router, we used this router for an Internet Access connection. I think the best way is to reset the router to [More]
Dear All, I've a requirement to assign a separate purchase order Number Range for a company code for the following document types. ZNB         Standard PO    ZRB         Return PO ZUB         Stock transport ord.  ZLPA       Scheduling agreement  ZLU [More]
I have been using LXDE for a while now, and have decided to mess around with different window managers.  So I installed compiz and fluxbox to mess with them.  When I run fusion-icon I can see both OpenBox and Compiz, but not fluxbox as an option unde [More]
Hello everyone, I have a new computer with windows 8 and tried to install adobe reader. During installation an error occured (1500) specifying that another installation is in progress. I tried through the simple installer and the one from the page ht [More]
Morning Apple folks, I have a Macbook Air 11", and I would like to be able to hook it up to external T.V.'s or Monitors for presentations as I travel..  I see that Apple does not make a Thunderbolt to HDMI Cable, and I bought a Mini Display Port to H [More]