1. Pinging a database forum.hibernate.org |
2. newbie: Hierarchical menustructure from database with rights forum.hibernate.orgHi All, I've just registered to the hibernate forum. I'm developing a web application. I'd like to load the menus from a database, but always only the menus belonging to an appropriate role. So I have 3 tables: user_roles(id, descr) menus (id, descr, link, pos, type, parent_id) menu_rights(menu_id, role_id) I created the appropriate base xml files. (After the tutorial, so nothing ... |
3. Database supported in Hibernate forum.hibernate.org |
4. Hibernate usage in case of existing database forum.hibernate.orgHi, I have a question regarding how to go about using Hibernate in case I have a huge existing databse with hundreds of tables all stuffed with relevant data. In this case will it be my responsibility to create all the mapping files for these tables or is there any tool available which can parse the databse and then build these ... |
5. Streaming into and out of the database forum.hibernate.orgI am wondering if there is any possible way to stream things into and out of the database using hibernate? My situation is I have potentially large blob objects, that are large enough that I cannot afford the memory to hold onto two copies in memory, thus i would like to stream to/from the database, and only ever hold 1 instance ... |
6. interval DB type forum.hibernate.org |
7. How to store interface in database forum.hibernate.org |
8. Problems when getting items from the DB forum.hibernate.orgHi, I'm able to insert and update items into the database but when I try to get a list of object from the DB, I get an error and it has little meaning to me but I did put some flags to know where it crashed exactly. The message is: javax.servlet.jsp.JspException: Exception creating bean of class PandoraForm: {1} org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563) org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520) It ... |
9. Hibernate for large result set of database forum.hibernate.org |
10. two different database types simultaneously? forum.hibernate.orgHi! I have a fully working hibernate project and now I'll have to access two different databases type, currently I'm accessing postgre and now I'll have to access postgre and ingres from the same application using hibernate. I've looked for a solution already, but I can't find any clear answers, All I see is "build multiple factories..." that doesn't help,. Can ... |
11. Random long pauses with tiny database forum.hibernate.orgNewbie Joined: Wed Oct 05, 2005 8:22 pm Posts: 11 Location: Brisbane, Australia Hey dudes, We here at Queensland Emergency Services are generally "fix it ourselves" kinds of people (as we are: "break it ourselves").. But while we search high and low for an answer, we thought we would run this very stange problem past the Hibernate world... This is approximately ... |
12. Can hybernate "explore" an unknown database? forum.hibernate.orgHello. I am creating a new java application that works with databases, and I am considering using Hibernate. This application must be "plugged" on a database using a configuration file. Explanation : it is going to be used by different customers, each with their own databases, probably with different models. I want to be able to adapt the application without changing ... |
13. Can I create a database? forum.hibernate.org |
14. Not exclusive access to database. forum.hibernate.org |
15. Consulting a database forum.hibernate.orgHello, I have a hibernate based application working right but when i needed to transfer it to another database whith the similar tables i've seen (using Query analyser) that some tables must be queryed like this " select * from mediator.TableName " where mediator is the owner of the table and my queries at hibernate do " SessionFactory.find( "SELECT t from ... |
16. Daffodil One$DB Configuration with Hibernate forum.hibernate.orgI am trying to use Daffodil One$DB with Hibernate. On the Daffodil website, the instructions for integrating with Hibernate has as its first steps altering files in the "bin" directory, SchemaExport.bat and SchematUpdate.bat. I see that these files are only present in version 3.0, but not in 3.1. Where these files dropped completly or replaced with another process? Should I just ... |
17. Create non-existing databases schemes forum.hibernate.orgHi, I have a question about Hibernate and PostgreSQL concerning the creation of non-existing databases. Does Hibernate automatically create the scheme of a database if not existed on the PostgreSQL-Server? I have set: - hibernate.hbm2ddl.auto create - hibernate.hbm2ddl.auto create-drop - hibernate.hbm2ddl.auto update but always get: ERROR - could not get database metadata org.postgresql.util.PSQLException:Backend could not start: FATAL: database "dbname" does not ... |
18. Dynamicly generated new database? forum.hibernate.orgYes, you can reload the configuration with new objects. You don't need to use the hibernate.cfg.xml, there are classes in the framework to load new mappings. It's possible to be done. But I haven't done it b4. But it may require some testing, if this process of table change happens too often, you may get some performance problems. Using or not ... |
19. Hibernate x different databases forum.hibernate.org"You can have as many .cfg.xml files (and SessionFactory instances) as you like. But that it is not the solution to the problem. " --I know this HBs feature, but its doesnt solve my problem endeed. "You can only do it if your database supports joins across catalogs (many do). In which case simply map the classes specifying an explicit catalog ... |
20. Heirarchy (Category of caveat emptor) reads up wrong from db forum.hibernate.orgPage 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message wettin Post subject: Heirarchy (Category of caveat emptor) reads up wrong from db Posted: Sun Nov 20, 2005 8:20 pm Newbie Joined: Thu May 19, 2005 5:06 am Posts: 11 I have a simple heirarcy that ... |
21. Virtual storage or database resource is not available forum.hibernate.orgHibernate version: 3.1.0 Name and version of the database you are using: DB2 8.2 Getting a SQLException: "Virtual storage or database resource is not available" error while trying to perform batch inserts by reading one record at a time from a MySQL database into a DB2 V8.2 database. Pretty sure I have not used flush()/close() methods properly or using CMT transaction ... |
22. different database jndi registry forum.hibernate.org |
23. Hibernate is not adding to the DB forum.hibernate.org |
24. Multiple database configuration forum.hibernate.orgHi thanks for your reply, but i'm not to sure that it works. Heres my hibernate.cfg.xml : Code: |