When should use ACCESS?
Hi all,
I have written a java program to load some data (text file) into ACCESS database. It is fine for testing. Once I put it into my real data (about 1.3 MB), it doesn't work. After I check with my tables, some data is missing. I really don't know why. I can't see any exception error messages.
Then, I suspected that is the problem of ACCESS, therefore, I turned autoCommit into false, and commited it finally, but it still doesn't work. So, are there any techniques can help?
Actually, can anybody give me some suggestions, how large the data should be stored in ACCESS. When should us give up ACCESS.
I think it is better for me to answer my question, so
that it is helpful fo other programmers who have
encountered same problem.
This problem doesn't come from wrong codes, but for
reliability of ACCESS, at least I suspect. In my case,
although I have only one mega data for loading, this
data involved a lot of relationship (a lot of tables).
Therefore, It is not sufficient to just mention how
large you raw data is. If your raw data will generate
multiple relationships, it will be another story.
My solution is, setting autocommit to false, and comit
it for each 10 objects(which involved several insert
statements for several tables). It is functionable. I
think that ACCESS is just for development and testing.
But, I have a question, who know the max capacity of
ACCESS in term of MB?
Still don't know what you are talking about. The usage I saw for MS Access was for financial transactions for banking purposes. I know that it has also been used for medical records. And it has been used extensively for small retail.
And to my mind that means it is not just "for developement and testing."
And if you think Oracle and MS SQL Server can't end up with corrupted databases, then you might want to do some research into that. I know that they can. And there is certainly no reason to believe that other databases are perfect in that regard.
Most of the cases that I am familar with where there are problems with corrupt data in MS Access it can be usually be traced to poor user practices. Such as hitting the power down button instead of using shutdown. And that would undoubtly cause problems with Oracle and MS SQL Server as well, but you don't see that as much because admins deal with servers and their training usually includes enough info so that they know not to do that.
Similar Messages
-
When should use Declarative components?
What's the Declarative components and when should use them?
Frank,
According to the sentiment I get on this Forum sometimes, I thought ADF was supposed to automatically infuse into your brain while the JDeveloper installer ran - who needs documentation?
In all seriousness, however, The Fusion Developer's Guide is sitting right here on my desktop, and is open more often than not. I think it suffers from the "free is worthless" syndrome - it's got a lot of good information in it, and if it was a published physical book, I'd bet that people would pay for it.
John -
hi
i don't know when i should use request scope, the example is use session scope always.
Can anyone help me?
thanks!SpiderFromMars wrote:
> What are the best practices for using the variables
scope versus using the
> request scope when assigning variables.
>
> In other words, when should I use <cfset variables.x
= 'barf'> and when
> should I use <cfset request.x = 'barf'>?
>
The variables scope is only accessible in the current
template. The
request scope is accessible in the current template and any
other
template, such as a custom tag or include file, that is used
to build
the current request.
I.E
<!---index.cfm--->
<cfset variable.x = "foo">
<cfset request.x = "bar">
<cfoutput>#variable.x##request.x#</cfoutput>
<cf_myCustomTag>
<!---myCustomTag.cfm--->
<cfset variable.x = "bob">
<cfoutput>#variable.x##request.x#</cfoutput> -
Error when Connect to Access 2007 with password using OLEDB
Hi there,
I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
Logon failed
Details: DAO Error Code: 0xd0f
Source: DAO.Workspace
Description: Unrecognised database format 'path to database\crs project database.aaadb
Get though when I use Access 2007 without password setup.
Many Thanks for any one can help.
Daphne LiAs a copy of this query has been posted to the CR design forum at 11:21, assuming this is indeed a design question.
Thus setting this thread as answered.
- Ludek -
When should a subclass have its own fields and when should it use its super
When should a subclass have its own fields and when should it use its superclass' fields?
Hi, thank you for reading this post!
Let me use a specific example to ask my question.
public class BankAccount {
private double accountBalance;
public double getBalance() {
return this.accountBalance;
public class SavingsAccount extends BankAccount {
private double accountBalance;
public double getBalance() {
return this.accountBalance;
}In the bank account example, both BankAccount and SavingsAccount will have a method getBalance(). Therefore, they
both require a account balance field. My question is since getBalance() for both classes will perform the exact same
operation, when should I omit declaring the getBalance() method and the accountBalance field in the subclass, and
when should I include them?
My own thought is when we never have to instantiate a superclass object (e.g. an abstract class), then we place
common fields in the abstract superclass and have subclasses access these fields via protected getter/setters to
access the superclass' fields. This is the principle of reuse.
But when you do need to instantiate a superclass and the superclass does need to maintain its own fields, then
I would need to duplicate the accountBalance field and getBalance() method in the subclass.
Is my thinking correct or incorrect?
Thank you in advance for your help!
Eric
Edited by: er**** on 22-Aug-2011 20:19er**** wrote:
If SavingsAccount inherit BankAccount.getBalance()...getBalance() would return BankAccount's accountBalance. This is NOT the correct result we want.Actually, I think it's precisely what you want.
We want getBalance() to return BankAccount's accountBalance when we use a BankAccount object, and SavingsAccount's accountBalance when we use a SavingsAccount object.I seriously doubt that. I think you're confusing a BankAccount with a Customer, who can have more than one account.
In every system I've ever seen, a SavingsAccount IS-A BankAccount - that is to say, it's a genuine subtype. Now, it may well contain other fields ('interest'?) that a normal account wouldn't, but 'balance' ain't one of them.
Winston -
HT4571 When should I use data roaming?
When should I use data roaming?
When you are outside your carrier's network, you may be able to access the Internet using another wireless carrier, that's dataroaming.
More info; http://support.apple.com/kb/HT1976 -
When should we prefer to use LinkedList
when should we prefer to use LinkedList ?
i have read some where related to java performance...stating that
http://www.java-performance-portal.org/modules.php?name=News&file=article&sid=8
The ArrayList is quite fast for accessing the elements in direct or random order, but the pure sequential use the LinkedList might be concerned as the right List for an application. The Vector provides snchronized access to its elements and is a slower than the ArrayList.
what does it means exactly -------
accessing the elements in direct or random order or sequential ?? -
I recently bought an ipad 2 and wanted to use all the apps on my iphone4 on my ipad but have been charged for the first app I downloaded when I use the same apple id. What should I have done to share the apps and should I have been charged? 2 months ago when I got a new iphone, i was told in order to get all my apps back as I hadn't backed up my files, if I used the same apple id I would 'purchase' the app, but then would not be charged as apple would recognise that I have already purchased the app. That worked, but when I did the same thing on my ipad 2 using the same apple Id, I was charged... what should I have done and is this right as I thought the whole point of having multiple apple devices was I could share apps between devices. please help! thanks.
Using the same Apple id and Password you should be able to download purchased apps without being charged again.
I download to an iPad/iPad2/iPhone3 & iPhone4 with no problem. -
please help me!!!! my macbook pro 15 running on mountain lion is hanging a lot...sometimes when i use any app than it get freeze for some seconds...what should i do?
Hardware Information:
MacBook Pro - model: MacBookPro8,2
1 2.2 GHz Intel Core i7 CPU: 4 cores
4 GB RAM
System Software:
OS X 10.8.2 (12C60) - Uptime: 0 days 1:17
Disk Information:
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
disk0s1 (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 499.25 GB (424.92 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
HL-DT-ST DVDRW GS31N
USB Information:
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
FireWire Information:
Kernel Extensions:
Problem System Launch Daemons:
[failed] com.apple.coresymbolicationd.plist
Problem System Launch Agents:
[failed] com.apple.afpstat.plist
[failed] com.apple.AirPlayUIAgent.plist
[failed] com.apple.coreservices.appleid.authentication.plist
[failed] com.apple.rcd.plist
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.adobe.SwitchBoard.plist
[loaded] com.google.keystone.daemon.plist
[loaded] com.microsoft.office.licensing.helper.plist
Launch Agents:
[loaded] com.adobe.CS5ServiceManager.plist
[loaded] com.google.keystone.agent.plist
User Launch Agents:
[loaded] com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
[loaded] com.facebook.videochat.Akshay.plist
[loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist
User Login Items:
Sony Ericsson Bridge Helper
BitTorrent
uTorrent
3rd Party Preference Panes:
Flash Player
Java
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
googletalkbrowserplugin.plugin
JavaAppletPlugin.plugin
npgtpo3dautoplugin.plugin
QuickTime Plugin.plugin
SharePointBrowserPlugin.plugin
User Internet Plug-ins:
Google Earth Web Plug-in.plugin
Picasa.plugin
Bad Fonts:
None
Top Processes:
14.6 % WindowServer
6.9 % coreaudiod
6.4 % uTorrent
1.9 % WebProcess
1.4 % iTunes
1.2 % EtreCheck
0.5 % fontd
0.2 % NotificationCenter
0.1 % Dock
0.0 % Microsoft -
WRT54G2 and WRT54G locks-up (freezes) when blocking web sites using Access Restrictions
I am convinced that a few Linksys routers such as WRT54G2 and WRT54G have a major issue when blocking web sites using Access Restrictions (Internet Access Policy). After a few hours of internet access by 15 wired users the Linksys locks-up and blocks all internet web access. The only solution is to restart the power on the router.
We are currently using a Linksys WRT54G2 v1 (firmware 1.0.04). We upgraded the WRT54G2 v1 firmware to the latest 1.0.04 version which did not resolve the issue. NOTE: We were previosuly using a a Linksys WRT54G v1.1 (firmware 4.21.1) until the power supply blew a week after we started blocking web sites using Access Restrictions (Internet Access Policy).
Basically, we have a T1 internet connection and a hub connected to the Linksys router. We are trying to block several web sites such as facebook, myspace, etc. for 15 wired users. We do not use wireless connections.
This is the 2nd time it happened with 2 different models.
Please help ASAP.
Thank you,
Lance
(Mod note: Edited post. Some parts off topic.. Thanks!)Also, you have already upgrade/re-flash the firmware of your Linksys Router you need to reset and reconfigure your router from scratch. Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...
-
I tried to export photos from iMac to iPad using a USB flash drive. The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power. Any ideas of what type of USB flash drive I should use?
You can transfer photos outside of iTunes. I do it all the time. THat said, i have a 50/50 success rate with them. I'd avoid sandisk and kingston, their bundled software triggers the 'too much power' warning.
I've had mixed luck with lexar, some work, some don't.
I did have good luck with an older 4 gig geek squad one.
Look for drives without software on them, without bright LED lights and I haven't gotten any larger than 4 gig to work, but that may just be me.
For a less troublesome way? h onestly, I use a SD card that I've formatted with the DCIM folder. I've never had one of them trigger the 'too much power' warning. Just make sure they're not SDXC. those don't work. -
I keep getting a 404 error when trying to access any search link using google, I can get to a website by directly using the URL. I have cleared history, empited the cache and reset safari. Any suggestions.
Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.
-
Just installed Firefox for my boss, and ran into something I've not seen before. When trying to access our private camera system, that uses specific ports, I got this message: "This address is restricted - This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection."
Cannot find a setting in Firefox to correct this problem. Please help.Hello,
Can you please check if either of these links help in the resolution of the issue
# [http://kb.mozillazine.org/Network.security.ports.banned.override Firefox ports override]
#[http://blog.christoffer.me/post/2012-02-20-how-to-remove-firefoxs-this-address-is-restricted/ Remove Firefox this address is restricted error]
Thank you -
When we should use F-54 clear down payment
Hi,
When should I use T-code F-54 clear down payment? Is this necessary to perform this step?
1. F-47 down payment request
2. F-48 post down payment
3. MIGO post good receipt of PO
4. MIRO post vendor invoice
5. F-58 payment by check (for outstanding balance)
Any advice are welcome.
Thanks,
WendyDear Wendy,
usually the steps to perform, when You're using DP, are the following ones:
1. F-47 Down payment request
2. F110 Down payment
3. FB60 Invoice
4. F-54 Down payment Clearing
By F-54 that is the downpayment clearing, the System will close the
first line item of the downpaymewnt with PK 29A
by the first line item of downpaymewnt clearing with PK 39A;
and it opens a new vendor line item by the posting key 26.
This means that from the financial point of view the system transforms
the original downpaymen into a partial payment.
Therefore the downpayment clearing has an economic value.
It changes the Down payment (that is posted using a special G/L
indicator) into a partial payment (that does not have any special
G/L indicator).
I hope this can help You.
Mauri -
When should I use static variable and when should not? Java essential
When should I use static variable and when should not? Java essential
Static => same value for all instances of the class.
Non-static => each instance can have its own value.
Which you need in which circumstances is completely up to you.
Maybe you are looking for
-
HT4914 Match will not download to my computer. It just seems to stall on step 1
I cannot seem to get Match to download. Any ideas or ttricks?
-
Variable drop-down lists according to radio-button input
I need to restrict the display of drop-down lists according to a particular radio-button selection earlier on the form. Can I use a javascript call on the client side without linking to an external database along these lines: If radiobutton1 == 1 the
-
ALV Subtotals calculation - Urgent
Hi All, How can I caliculate subtotals in ALV ? How to increase column size in alv? Regards
-
Private iTunes U site and iOS 6
Since upgrading to iOS 6, does anyone use a private iTunes U site that cannot be accessed via ipad?
-
4s maps control icon not showing in settings
What have I done to keep the maps settings icon from appearing?