473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

hybernate

Hi All,

i want to retrieve the data from mysql database table using hibernate

i have written POJO class,hibernate.cfg.xml, and mapping xml file also..

then how can i write code in main java class

can any body help me..
Jan 11 '07 #1
1 1530
chenna
3
Create "POJO class object" in another class and call the methods in POJO Class.
Feb 12 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
89
by: Radioactive Man | last post by:
In python 2.3 (IDLE 1.0.3) running under windows 95, I get the following types of errors whenever I do simple arithmetic: 1st example: >>> 12.10 + 8.30 20.399999999999999 >>> 1.1 - 0.2...
1
by: rpmcq | last post by:
How can I prevent a computer from entering suspend/hybernate?
3
by: That Guy | last post by:
Hi. Is there any object-relational mapper for .NET (something like Hybernate for Java)? Thanks.
1
by: Peter Kirk | last post by:
Hi in Java I would more often than not use a PreparedStatement for database access (if I wasn't using an abstraction layer like Hibernate for example). Is there an equivalent construction to...
3
by: equ | last post by:
It makes no difference if I'm working with Enterprise Manager, Query Analyzer, Access, self written app with OleDb or Visual studio 2003 builtin DB manager. Everything is fine but aufter some...
3
by: shanmukhi | last post by:
hi, iam very new to hybernate........i studied about hybernate and i built one application..........i need output that to display the table values in my browser then what i have to do...... ...
1
by: ManningFan | last post by:
If one of my end users has left their database open and I need to compact it, is there a way (via code or something else) to boot a user from a database and clear the LDB file? I'm pretty sure...
9
by: OldBirdman | last post by:
Somehow my computer decided that when it hibernates, I must select which user I am before it awakes. It didn't use to do this, it just woke up, yawned, stretched, and was ready to go. Now I have to...
0
by: sachinsamuel | last post by:
Hi Experts, I am new to PostgreSQL. I got a task to optimize quries which are executed in my database. My frontend is Java and the middleware is hybernate. The queries are automatically created...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.