Informix

2005-07-28 Thread Thomas Franke
Hello, we want to connect to IDS 9.4 with OJB. Here is our repository_database.xml: jdbc-connection-descriptor jcd-alias=mis default-connection=true platform=Informix jdbc-level=2.0 driver=com.informix.jdbc.IfxDriver protocol=jdbc subprotocol=informix-sqli

Re: Informix

2005-07-28 Thread Thomas Dudziak
On 7/28/05, Thomas Franke [EMAIL PROTECTED] wrote: Hello, we want to connect to IDS 9.4 with OJB. Here is our repository_database.xml: jdbc-connection-descriptor jcd-alias=mis default-connection=true platform=Informix jdbc-level=2.0

Re: Informix

2005-07-28 Thread Thomas Franke
Thomas Dudziak wrote: For OJB, you need to specify a JNDI datasource using the corresponding attribute: Thank you, Tom. I try it. :) Regards, Thomas -- Mit freundlichen Grüßen Thomas Franke Geschäftsführer Leiter Entwicklung -- the energy for a better world

Stroring internationalized strings in Oracle9i with OJB

2005-07-28 Thread Guillaume Laforge
Hello, On my current project, I'm using Oracle9i and OJB. The version of OJB is rather old: that's 1.0.0, but I may and will certainly upgrade to 1.0.3 if that's needed. I'm storing sentences in 40 different languages (English, French, Japanese, Chinese, etc...). All the columns of my tables

Re: Stroring internationalized strings in Oracle9i with OJB

2005-07-28 Thread Guillaume Laforge
I forgot to mention that I'm using Oracle9i's thin driver and its ojdbc14.jar. With a version 9.2.0.4 of Oracle9i. On 28/07/05, Guillaume Laforge [EMAIL PROTECTED] wrote: Hello, On my current project, I'm using Oracle9i and OJB. The version of OJB is rather old: that's 1.0.0, but I may and

Re: Stroring internationalized strings in Oracle9i with OJB

2005-07-28 Thread Bobby Lawrence
Guillaume - I don't think OJB has any connection-specific configuration, but you can try this code on your insert: ClassDescriptor classDescriptor = broker.getClassDescriptor(YourClass.class); PreparedStatement statementInsert =

Re: Stroring internationalized strings in Oracle9i with OJB

2005-07-28 Thread Thomas Dudziak
Bobby is right, Oracle does not seem to be able to handle NCHAR directly in the JDBC driver; you are required to use the Oracle-specific extension. This might be a useful enhancement in the Oracle platform ... Guillaume, could you raise a JIRA issue for this ? Tom

RE: orderby column in indirection-table

2005-07-28 Thread Clute, Andrew
FYI...There is a bug with MtoNCollectionsPrefetcher that caused certain collections indirect MtoN collections to ignore the order-by clauses. I committed a patch for that about 2 months ago, you might want to build the latest of the 1_0 release line and see if that fixes your issue. -Andrew