I am confused about how to query for a list of objects with sub-objects in it. I have two classes Execution and Order. And In Execution, I have the order object in it as a one-to-one relationship:
This is the error i get each time i try and set the LayoutParam\'s for a image view. 10-02 03:27:53.081: ERROR/AndroidRuntime(1272): FATAL EXCEPTION: main
Faced an interesting issue recently. I\'ve catched Cl开发者_运维技巧assCastException while executing this code:
I am trying to write an AlertDialog with 3 buttons. I want the middle, Neutral Button to be disabled if a certain condition is not met.
I have this problem.. I have a Hashmap containing the String as the key and Object as the value. I have one Date Object inside it...
I have am deploying 2 EARs onto JBoss AS 7.1.0.Alpha1-SNAPSHOT (post 7.0.1.Final version). Both deploy fine.
Hi I am getting the following exception Exception in thread \"main\" java.lang.ClassCastException: javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.Multipart
I am progressing in ActiveAndroid tutorial here: http://tracker.activeandroid.com/projects/activeandroid/wiki/Creating_your_database_model
I have two ClassLoaders which loads the same class. So, obviously these can\'t cast to one another. But I need to access an object created in the other ClassLoader.
I was trying to implement Atomikos Transaction Manager in my code which is JPA on top of Hiberate. I\'m getting this error. Any help highly appreciated.: