-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Dynamtic Table creation Using Hibernate
PostPosted: Wed Nov 23, 2011 11:00 am 
Newbie

Joined: Wed Nov 23, 2011 10:52 am
Posts: 1
Thank's for reading my Post. I am new to hibernate.all i need some clarification and explaination.
Problem 1:
How to create seperate table for all users they sign up for my web app. i need to create 2 table's

1.User Details - Store user mail address,username,password,etc.
2.Media - Allow user to store Mp3 Files.[I have File Id[int],Mp3[LONG BLOB],Tag [Varchar]]

According to the hibernate i tried to create POJO and xml files but i done create and update for a single table. i dono how to automate the creating and updating tables. I saw somewhere in internet they use spring. If so someone explain it to me?.

Problem 2:
How to store Mp3 files into Database using hibernate. At first i use serialization. But i want my application to use
hibernate.

Problem 3:
How to upload multiple files to the servlet. I have some browser conflict so now i am using upload bean[url][/url]. But all i cant do is upload a single file. I wanna upload files as we do in gmail attachment process. Simple and easy.

Platform: Java
Database : MySQL 5.5
Framework: Hibernate 4.0
IDE: Eclipse Indigo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.