Hibernate - HQL query in a table with foreign key, how do I retrieve the object that refers to the foreign key?
So, I used the Hibernate assistent from Netbeans to create the classes and mappings of a database in my application. In one of the classes, the foreign key is represented as an object. When I do a select query this table, how do I retrieve the object?
submitted by Arhat_
Need help with two Programs I never worked with before
I am a student of computer science, and I had my fair share of working with programs using visual basic, and small on Java. I am already on my final simester and i was given a task that seemed impossible in my predicament.
In a online class that i thought we are going to discuss software development in theory. (with no video Guides whatsoever) We were given a Programing project. it was supposed to be about making a movie rental software using Database. I would not mind, heck, I can relearn Visual basic and Acess with ease, however, I was told that it HAS to be teh folowing
Language : Java. Program tools : Netbeans. Database : MySQL.
I dabbeled with Java before, however i didnt program much in between before now, I never used Netbeans and MYSQL is foreign to me. I have until may 7th to make a program out of this, and i am afraid that Netbeans is so out of my league that I cant do anything to it.
the Irony is that since on my written essay they said that " new employees should be given training to a new system they never had before
submitted by PenStorysky