oracle « JBoss « JPA Q&A





1. oracle JPA Hibernate defaultNChar    stackoverflow.com

We use JBoss Hibernate to deal with Oracle database. In persistence.xml, we do have defaultNChar set to true. According to DBA, the database is set to AL16UTF16. When we insert data ...

2. ERROR MSG WHILE DEPLOYING HIBERNATE ON JBOSS USING ORACLE DB    forum.hibernate.org

Hello, I have appended an error message I got when deploying my application on JBoss, the database is oracle and am using hibernate: 15:20:41,895 INFO [STDOUT] 15:20:41,895 ERROR [SchemaUpdate] could not complete schema update org.hibernate.exception.SQLGrammarException: could not get table metadata: CardDispatchBatch at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:128) at org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:981) at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:187) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:346) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) ...

3. StaleObjectStateException, jboss, Oracle    forum.hibernate.org

Hi, I'm using Hibernate 2.1.1, JBoss 3.2.3 and Oracle 8.1.7. I execute following code in session EJB method Code: Category category = (Category) session.load(Category.class,categoryOid); suggestion = new Suggestion(); category.addSuggestion(suggestion); Comment comment = new Comment(); suggestion.addComment(comment); session.flush(); and get StaleObjectStateException in ...

4. JBOSS Hibernate Oracle    forum.hibernate.org

Hi, I'm using JBOSS 3.2.1 and i'm having the following problem: My application uses CMT, with transaction attribute Required in all the EJB's (stateless session beans) method. Just as information, in the application all users are updated when they log in. The problems occurs when I start the JBOSS in two diferents machines when I log in in one of them ...

6. Hibernate 3.3.1.GA JBOSS 4.3.0.GA Oracle 10g, Driver ojdbc14    forum.hibernate.org

Hibernate 3.3.1.GA JBOSS 4.3.0.GA Oracle 10g, Driver ojdbc14.jar version 10.2.0.4.0 Hi, I'm developing a batch process application requiring to transfer from one instance of Oracle to another instance of Oracle, respectively 'Prod' and 'Arch'. so I need to - load entities from Prod - persist them in Arch - remove them from Prod Basically my problem is how do I load ...