catalog « Schema « JPA Q&A





1. hibernate hbm2hbmxml schema and catalog    stackoverflow.com

How do I configure hibernate tools to not emit the optional "catalog" and "schema" attributes on a table in the generated hbm.xml files?

2. Setup/tear down Oracle schema for CI build without fragmenting catalog    stackoverflow.com

I would like to have a CI build (e.g., Hudson) set up and tear down an Oracle 11g schema as part of a nightly build/test cycle for a fairly vanilla JSF/JPA ...

3. @MapKey and @JoinTable ignores schema/catalog in formula    forum.hibernate.org

Hello, i've got following issue. If i use @javax.persistence.MapKey with @JoinTable, the generated formula for MapKey doesn't contain the table schema/default-schema prefix. On the RDBMS which expect the schema name (mssql or postgresql) those selects don't work. I have investigated the problem and found the place within the method org.hibernate.cfg.annotations.MapBinder.createFormulatedValue() Code: StringBuilder fromAndWhereSb = new StringBuilder( " from " ) ...

4. Hibernate not using schema and catalog name in id generation    forum.hibernate.org

If I remember correctly I used a little hack. I've implemented a HibernateInterceptor extends EmptyInterceptor and overrode the prepareStatement (?) method. When I came across an SQL statement which didn't use the fully qualified path I simply replaced that substring with the fully qualified path. Not a beautiful solution but it works.

5. Dynamic assignment of schema and catalog    forum.hibernate.org

As the subject implies, is there some way of doing this? Our databases are set up with one physical database which contains several logical databases, usually one for each product we develop. Some of those logical databases contain shared data which our applications all consume and/or update. The thing is, the logical databases don't have any fixed names, but the name ...

6. schema and catalog names    forum.hibernate.org

What does a schema name and catalog name in hibernate mapping file mean? I am using sybase and I have multiple dbs in the same database server. We have only one datasource configured and till now we were accessing the other db using dbname..tablename convention. I am trying to find an equivalent mapping in hibernate. Tried both schema and catalog in ...

7. Hibernate default_schema/catalog with oracle    forum.hibernate.org

Hi, I have a need to specify a schema/tablespace for my application so that the tables are created in a separate schema. So I used hibernate.default_schema. This works perfectly in postgres. I connect to the database as a user and everything is now qualified with the schema name. In Oracle, however, it seems like it's looking for a user with the ...