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
Safari and many other apps crash constantly - the screen just goes black and then back to the home screen.  Is this a common problem?1. Double-click the Home button to see all Inactive Apps in Task Bar 2. Hold the Apps down for a second or two until [More]
Hi, I have a requirement to get number of days for a month for the input of month and year. Please anyone help me to know whether any API is available in java? (Can we use Calender/Date?) -VCan we use Calender/Date?You can set the time of a calendar [More]
Hi, I´m really stucked here. I need to redirect and XML wich I get in page flow to an external page flow(in a different project(war) but in the same workshop application(ear)), I´ve tryied all kinds off things but it does not work correctly. I even t [More]
hi all, i have iphone with firmware 1.1.3 I was trying to add a contact while on a call- a feature unavailable in 1.1.3 while doing so, all my contacts were deleted and I did not sync with my computer. THough I do not have a contact in my contacts li [More]
Hi, We have an urgent issue in PRD.  There seems to be some problem with the connection between Org Mgmt and Personnel Admin.  When we change certain data points in OM (such as cost center or job) it creates a corresponding record in PA.  But as of t [More]
Safari suddenly freezes with an attempt to reload a previous web page by sliding the page sideways with two fingers. I have to quit and restart Safari. There must be a glitch in the program. This only occurs on my desktop, not my other Macs. How can [More]
Out of the blue, I am unable to upload images. Facebook, photo websites- they will not allow me to upload. I get a 'plugin failure' message and that's all it says. I have uninstalled, restarted, reinstalled and restarted and it still doesn't work. I [More]
When the value changes (when I choose a new file to upload) in the file upload component the processValueChange() method is not called. I am planing to show the preview of the image to be uploaded using the processValueChange(). Thanks.Is there a bug [More]
I create a enterprise application using jsf 2.0, ejb3, primefaces 2 and I want to show data in table immediately after ejb call findAll() method. But it's always appear: "can't instantiate class". Here is my code: index.xhtml         <h:form& [More]
I've recently upgraded to DW CS5. I sometimes have occasion to design pages containing images that are on the server. In DW8, images on the server would display in Design View. In DW CS5, images on the server display a broken image icon in Design Vie [More]