Given JPA annotated Entities, is it possible to generate (i.e. before runtime) the list of queries that will be performed by Hibernate for CRUD operations (performed against EntityManager) ?
For named queries it is possible using org.hibernate.hql.QueryTranslator
Any pointer into the Hibernate API will be appreciated.
How can you read data, i.e. convert simple text strings to voice (speech) in Android?
Is there an API where I can do something like this:
TextToVoice speaker = new TextToVoice();
speaker.Speak("Hello World");
I am writing a small code to detect number of objects left behind after certain actions in our tool. This uses FollowReferences() JVMTI-API. This counts instances reachable by all paths. How can I skip paths that included weak/soft/phantom reference?
(IterateThroughHeap counts all objects at the moment, so the number is not fully reliable)
Thanks,
Jayan
I'd like to iterate through a certain set of fields in a report (rpt) file and, for the sake of argument, make them have a blue background. I'd like to do this for many files and on a conditional basis. The ReportDocument class seems like the way to go, but I don't see any Fields or anything like that in the API.
Is there a way to do this via C#?
CR 9.2
Refereing to my previous question,
http://stackoverflow.com/questions/2682364/how-to-stich-to-image-objects-in-java
I successfully stiched two java.awt.Image objects, now I need to stich multiple objects of the same type. Is there any API or library available for that
Hi there. I wanna change APN settings in a phone. Looked the api and there is a content provider named ACTION_APN_SETTINGS
developer.android.com/reference/android/provider/Settings.html#ACTION_APN_SETTINGS
but i'm having a hard time figuring out how to use it. Is there any example or something that does not involve the "contacts" content provider?
Thanks.
Hello Experts,
could someone please explain to me, how in netty "Downstream Exceptions" are handeled? According to the javadoc there are no Downstream exceptions:
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/channel/ExceptionEvent.html
Given the case that in one of my downstream handlers an exception occures OR in the I/0 Thread itself, where can these errors be catched and handeled?
thank you very much
tom
Is there anyway to scale an image then display in jsp page? When retrieve and display the images, I want to show all photos in same size. is there any API can do it? I have searched from google, those I found was about scaling images byusing tookit but can't works in web application.
Hi,
I was wondering what people are using for externally configuring logging in a Flex app. Are there any ready baked solutions out there, similar to Log4J's configuration via properties files for instance?
If there are, do these work directly with the Flex logging API or are they part of a separate logging library?
Hi,
Searched through net, could't find a way to read/write file metadata using C or C++, however, there are tools available for this, and also there are API's in C# and Java to do this. But I want to do it from scratch in C or C++.
For example, read/write image metadata.
Have found out that there are three formats in which metadata is written to files. EXIF, IPTC and XMP.
Thanks.
What exception does com.google.appengine.api.datastore.Transaction.commit() throw when there is a concurrency problem?
I want to retry if there is a concurrency issue, but I don't know what exception to catch.
How do I call invokeLater or invokeAndWait in a BlackBerry / J2ME environment? I'm using RIM API 4.3. I know this is a basic question, but I can't find the method anywhere!
Thanks,
Dan
hi!
i wanna parse a json like this
http://maps.google.com/maps/api/geocode/json?address=milano&sensor=false
only to find the latitude and longitude of an address (in this case is milano).
anyone can help me? thanks a lot in advance :)
Currently I have my Facebook profile automatically republish blog posts from a WordPress instance.
What I would like to be able to do, however, is to also have comments posted to either the blog of Facebook show up on the other in the appropriate location.
Is there a way to do this with the Facebook API?
i'm playing around with c# reflection api. i can easily load type info of classes, methods etc. in an assembly.
now i wonder how can i load and read the code inside a method?
Do you know any open source software that uses Orient DB? Or have you used that product yourself? Any experiences to share?
I have recently looked into Orient DB, and it has nice and feature interesting feature set (fast, embeddable in Java, simple API) but it seems that it is not widely used. Is it just because the Orient DB is a new player on the field?
Like the other "Hidden Features" questions, what are your favourite parts of the SharePoint API and development platform (both WSS 3.0 and MOSS 2007) that help you get the job done?
Please share your tips, tricks and secrets!
when check out done in documentum. how to remove values of "Signed Out To" attribute in documentum using java dfc api. when sysobj.cancelcheckout executed only unlock function done and removes the lock icon
How to trasfer a file greater than 100mb using spring mvc.
I have been through the post http://stackoverflow.com/questions/214888/how-to-handle-100mb-uploads-for-users, that tells to use ftp api. But want to know an alternative with springs.
Hi,
As part of the college mini-project, I am developing a micro-blogging platform for Android. I am planning to use Django framework in python to handle the communication between Android and remote server so as to make database API independent. I heard its best practice to use HTTP methods for the communication. Which is the best site/book to learn using HTTP methods for Android? I
I have an excel spreadsheet that is password-protected. I need to open this spreadsheet and read the data from it. I've been attempting to use the POI API to no avail. A Java solution would be preferred but any ideas would be helpful.
Edit: Yes, I have the password.
Edit2: I am unable to open it with POI with the password, I am looking for an alternate solution.