I am using a properties File to store some configuration properties, that are accessed this way:
@Value("#{configuration.path_file}")
private String pathFile;
Is it possible (with Spring 3) to use the same @Value annotation, but loading the properties from a database instead of a file ?
Why does Apples Core Data iPhone Recipes Example use a separate entity for called Image linked to the Recipe Entity via a one to one Relationship to store the recipes image. Why not just have an "image" attribute in the Recipe Entity?
Many Thanks
I am trying to store a username and password to hash against for future offline logging in. What is the best way to do this in objective c?
I will need the password to be stored securely.
Hi:
I am writing to active directory using JNDI, it is successful for
"CN=Yuri Gagarin,OU=Admins,DC=ead,DC=ubc,DC=ca"; but fails for
"CN=Gagarin, Yuri,OU=Admins,DC=ead,DC=ubc,DC=ca".
I need to store displayName, cn, name in the format 'lastName, FirstName'.
What do I need to do to get this going?
Thanks very much.
I am attempting to get the current users RAM configuration. I would like to use VBA to look this up and then store it in a table. I need the number of chips along with the amount of RAM on each chip. Is this possible to lookup programmatically using VBA? Do I need to use Windows Script Host?
When building an ASP.NET MVC application with High Availability is it best practice to keep the session state on the SQL Server, if there is no state server available?
I work in a Windows Terminal Server enviroment where if you left the computer for a while, windows lock the session and terminal is power off.
What i need is the code needed to send a message to Windows for it to believe the user is in front of the PC (mouse or keyboard activity).
Thanks in advance
What would be the mechanism to deploy rar artifacts if they are not present in the repository. (e.g. I would like to deploy jackrabbit to my j2ee application, but it is not available as part of the maven repositories. Should I have to store the binary locally in SVN and use the antrun plugin to copy it?
Cheers,
I like strict typing in C. Therefore, I don't want to store a 2D vector of floats if I specifically need integers. Is there an Apple-provided equivalent of CGPoint which stores data as integers?
I've implemented my type Vector2i and its companion function Vector2iMake() à la CGPoint, but something deep in me screams that Apple was there already.
Cheers,
I like strict typing in C. Therefore, I don't want to store a 2D vector of floats if I specifically need integers. Is there an Apple-provided equivalent of CGPoint which stores data as integers?
I've implemented my type Vector2i and its companion function Vector2iMake() à la CGPoint, but something deep in me screams that Apple was there already.
I'm printing to the screen lots of entries from my database. I'd like each entry to have it's own button, so I can add that specific entry to my cart (saved in Session[]).
How can I do it?
I'd like to have something like this:
Thank you very much!! :)
this error stops compiling if i have one or more System.String in my structs
is there any other way to store strings?
i have tried things like this:
private long _B_ID;
private byte[] _C_Name;
private byte[] _C_Address;
private byte[] _C_Telephone;
but it is not seeming to work.
Is it newline? prompt? What exactly?
Trying to run powershell over plink and the command executes but plink doesn't recognise its finished and the session hangs. Most curiously though, the command executes successfully when sent through the shell (via Putty). However, when sent via plink, the same command hangs...
Any ideas?
I'm trying to get the latest revision ID from my SVN project using Phing.
What I'm trying to do is the following:
get latest revision/commit number
from svn
store this revision number as an
attribute (so that I can use this
to append it to the archive I'm
already creating using phing)
I don't have a working copy on my server where phing is running, so I cannot use the Phing SvnLastRevisionTask.
if i'm on the iphone enterprise developer program for companies with 500 employees, do i still need to publish my app on the app store for clients to install the app?
In my en.yml translation file, I have:
activerecord:
errors:
template:
header:
one: "1 error prohibited this {{model}} from being saved"
other: "{{count}} errors prohibited this {{model}} from being saved"
When an activerecord/validation error occurs during logging into my application, the error message:
"1 error prohibited this user session from being saved"
is displayed (where user_session is the model being used). I'd rather have it say something like
"An error has occured to prevent you from logging into your account".
How do I override the generic error message with my specific one?
While using the .Net client TIBCO EMS, How to monitor outgoing messages from my .Net Tibco client?
I'm going to send Application-level, not jms-level, acknowlegements and replies.
How can I tell If the application sent them or not? If the client failed to send a message will it throw an exception or store the message to try again later?
Bottom line, Is there any tool enables me to monitor activities(outgoing) from client point of view?
I have a funny little situation on my hands.
I have a httpModule on my hands that I have to feed with context relative data.
That means that on the page I have to set something that the HttpModule can then react on. If possible I would like to avoid having call context data in the session.
Any bright ideas out there.
thx for the answer.
I'm using NHibernate 2.1.2 and Spring 1.3
I have two Text columns (blobs) in one of my classes. I'm trying to use lazy="true" for the mapping of those properties but NHProfiler still shows the two columns being added to the SELECT statement when the main object is loaded.
I'm using Spring.NHibernate session factory and have configured ProxyFactory with both Castle and Spring with no luck.
Hi folks,
I'm trying to run an app from a remote X session (Ubuntu, 9.04) on a handheld device powered by Windows Mobile. I want to do this by running an X-server of some description on the mobile device and using SSH/PocketPuTTY or similar for a tunnel, as you'd do it on a standard PC/Mac.
Can anyone pls. point me in the direction of some X servers for Windows Mobile, if they exist? Having a hard time finding them.
Cheers
Now I use my own Java FTP program to ftp objects from my PC to my ISP's website server.
I want to use Google App Engine's servlet to get Paypal IPN messages, then store the messages into my own objects and ftp the objects to my ISP's website server, is this doable ? I heard Google App Engine doesn't support FTP.
I don't expect Google to do it for me, but can I use my own Java FTP program in the web app that I upload onto the App Engine to do it ?
Frank
Just wondered how many application are written with MonoTouch and published in App Store?
Is MonoTouch ready to be used in production?
What other statistics do you know regarding this tool?
hi all
At the time of creating the new project, i not able to session entry for previous version of .net framework in the drop drown box it should only .net Framework 4 and hyper link for more framework.Even those i have .net 2.0 ,3.0 and 3.5.
Can anyone suggest me what can be done?
Thanks and Regards
Sameer ahmed.s
Hi,
I have a client who is looking for a solution to integrate cctv with a (any) ANPR solution that can,I assume recognize the number plate of cars and store in a database and has the ability to post this data to other backoffice applications, crm, marketing app. etc.
Is there any ready software to do this ? Or your recommendations ?