[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to use VARCHAR2 and NVARCHAR2 columns with EJB 2.1 C

2008-06-26 Thread franz77
Hello, i fixed it using the OCI JDBC Driver instead of thin driver and starting jboss with -Doracle.jdbc.defaultNChar=true. Maybe this can help somebody else. Best regards, Franz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160773#4160773 Reply to the post

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to use VARCHAR2 and NVARCHAR2 columns with EJB 2.1 CMP

2008-06-12 Thread franz77
Hello, i've a problem using NVARCHAR2 and VARCHAR2 columns. We've a Oracle 10g database instance which default NLS char set is ASCII 7-Bit. The NCHAR char set is UTF-16. I need to know how to declare single columns in a Entity Bean as NVARCHAR2 or as VARCHAR2. Using the sql-type (i'm using

[jboss-user] [EJB 3.0] - Re: EntityManager must be access within a transaction -- Ple

2007-09-30 Thread franz77
Hi! Did you try to add a TransactionAttribute(TranactionAttributeType.REQUIRED) annotation at your session beans business method? And maybe a @TransactionManagement(TransactionManagementType.CONTAINER) at the session bean class!? I'm very confused about the tranaction management too. I used