file « Database « JPA Q&A





1. Using Hibernate to work with Text Files    stackoverflow.com

I am using Hibernate in a Java application to access my Database and it works pretty well with MS-SQL and MySQL. But some of the data I have to ...

2. How can I set hibernate database config from outside config file?    stackoverflow.com

I need to have hibernate database config set from outside text file, how can I do it? Is there some kind of method for this, or do I have to make ...

3. Hibernate single file databases: setup for thin client    stackoverflow.com

I'm debeloping a Java Swing application, which persists the information through Hibernate, currently using PostgreSQL. Now, I would like to simplify the database setup on the client and I'm thinking about ...

4. specify db password in ant build file    stackoverflow.com

my webapp has a hibernate config file that specifies db password as follows:

 <property name="hibernate.connection.password">p1ssw2rd</property>
it also has an ant build file, is it possible to specify the db password at build ...

5. JPA storing various types of files in database.(JEE6)    stackoverflow.com

I have 2 questions: 1-In a byte[] variable inside an entity,can i store any type of file(images,pdf,mp3...), or is there any limitation? 2-What annotation does the variable need?

6. Hibernate cannot connect to HSQLDB File-Based DB, hangs    stackoverflow.com

I am using Hibernate with HSQL DB. I have a file-based HSQL database called "testdb". When I try to connect to my HSQL file-string URL, my application hangs. It hangs right after this ...

7. database connect in hibernate config file    coderanch.com

I saw soem book specify connection.driver_class, connection.url, connection.username, connection.password, then why do we need connection.datasource ?? 1. Is it because the first set uses standard JDBC connection, and the "connection.datasource" uses the JNDI lookup for a container managed datasource ? i.e. we configure the datasource somewhere else and specifies in this config file ? 2. Can I say that if we ...

8. How to use current config file to create an identical DB    forum.hibernate.org

Hi there, I am working on a project which need to automatically create DB, and manage it at the runtime. And I am new to hibernate. I just want to know that is there a way to create an identical DB using the current hibernate configuration with a different name at the runtime? For example, I have a DB named "DB_A" ...





10. AS400 DB2 Multi-member files    forum.hibernate.org

Hibernate version: hibernate 2.6 Does anybody have any hints on how to insert into multi-member files on AS400 DB2? There is a mechanism whereby you can (using DB2 sql) associate an alias with a given table whereby that alias identifies a given 'member." An insert statement would then name the alias rather than the table. However, this seems to suggest I ...

11. Hibernate in a non-database environment, such as file system    forum.hibernate.org

I wasn't able to find any information on whether Hibernate can run in a non-database (file system) environment, so I'm assuming probably not. Considering the powerful queries it supports I'm assuming that it probably requires the query capabilities of a SQL-based database. However, it doesn't hurt to ask...does Hibernate support a file system based repository? Any plans to? Thanks.

13. Storing files in DB2 using hiberante    forum.hibernate.org

14. Storing files in database    forum.hibernate.org

15. HSQLDB file type database doesn't close correctly    forum.hibernate.org

Hi. To simplify testing I'm using the latest version of HSQLDB (1.8.0.9), the db type is file and I'm creating cached tables: - the jdbc url is: jdbc:hsqldb:file:db/test - by default, org.hibernate.dialect.HSQLDialect creates in memory tables, so I subclassed it and overrode the getCreateTable() method to return "create cached table" (works fine, since it creates the db/test.data file). However, when I ...

16. How to keep database password out of configuration files    forum.hibernate.org

Hi, I have been building my first hibernate app and can't seem to find any references to secure password policies. It seems that everyone just puts their passwords in the configuration file. We can't do this as our source control is viewable by many users - so my question is can I put a {placeholder} for a password in the config ...





17. Store files into a DB is a good solution??    forum.hibernate.org

I am in a current impase. Our application needs to store files, using a remote repository or storing files into a database. We havent no care before about this issue, and we are not sure what can be better for us. The main issue about store files at DB is about performance. I think this is the only real problem can ...