Re: [ojb-users] Use something other than Default Datasource
Brought to you by:
thma
From: Jason M. <mc...@na...> - 2002-05-22 16:34:49
|
Sybase Adaptive Server Enterprise (ASE) 12.5 seems to work fine with the ObjectBridge and the ojb.broker.platforms.PlatformDefaultImpl. I haven't tested much of the extended ODMG functionality yet, just messed around a little. But everything is running fine up to now. For the internal table generation I just used the same SQL from the SQL-server implementation (Since they're still pretty similar databases). Changed bigint to numeric for OBJ_LOCKENTRY_.TIMESTAMP. Can send you the DDL file for the internals (didn't do the demo stuff) if you want. -Jason ps. If you use Sybase, make sure table_names, column_names in your repository.xml are same case as in the database. Sybase objects are case sensitive. On Sun, 2002-05-12 at 01:22, Thomas Mahler wrote: > Hi Jason, > > please have a look at the repository.dtd. you will see that it is > possible to have a JdbcConnectionDescriptor element as the first element > of a ClassDescriptor element. > > Of course its possible to use JNDI datasources. There is an example for > a JNDI datasource JDBCConnectionDescriptor in the repository.xml file. > > HTH, > > Thomas > > Jason McKerr wrote: > > > Anyone know how I can use a different JDBC Connection than the one > > defined in repository.xml? Repository.xml says, if a Class does not > > specifiy it's own connection then it uses default. > > > > How do I specify connection in the class? Traditional JDBC/JNDI? If > > so, then how do I usethe broker interface in conjunction with that? > > > > > > Thanks, > > > > Newt > > > > > > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > supply > > the hardware. You get the recognition. Email Us: > ban...@so... > > _______________________________________________ > > Objectbridge-users mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-users > > > > > > > > > > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-users mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-users |