Donate Share

HA-JDBC

Code

Programming Languages: Java

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2009-10-28 svn co https://ha-jdbc.svn.sourceforge.net/svnroot/ha-jdbc ha-jdbc

Show:

What's happening?

  • Must I use hashed index?

    While I use ha-jdbc to sync postgresql, the index in my table is the default type(b-tree) but not hashed. I saw when ha-jdbc to get table's unique constraint, it will ignore indexes that are not hased. Is the behavior work in all other database?.

    2009-12-25 08:10:31 UTC by slash0818

  • Followup: RE: HA-JDBC start ERROR

    Hello May be you use : *DriverManager.getConnection(url,User,Pass);* instead of *DriverManager.getDriver(url).connect(url,info);*.

    2009-12-02 18:27:47 UTC by g_meier

  • Followup: RE: HA-JDBC start ERROR

    Hello, May be you use : DriverManager.getConnection(url,User,Pass); instead of.

    2009-12-02 18:26:56 UTC by g_meier

  • HA-JDBC start ERROR

    Hi all, I can not start by HA-JDBC by ha-jdbc-2.0.16-rc-1-jdk1.5.jar . My Code: Class.forName("net.sf.hajdbc.sql.Driver"); Properties prop=new Properties(); prop.setProperty("config", "ha-jdbc-test.xml"); Driver driver = DriverManager.getDriver("jdbc:ha-jdbc:test"); _conn= driver.connect("jdbc:ha-jdbc:test",prop); and got exception: 2009-11-12 15:07:41...

    2009-11-12 07:15:39 UTC by brain_wang

  • Followup: RE: HA-JDBC with WebSphere

    Technically, yes - by changing Callable.call() to Runnable.run() and converting the return value to a member variable with the appropriate accessor method - but why would you want to do that?.

    2009-11-11 02:28:57 UTC by ferraro

  • Followup: RE: HA-JDBC with WebSphere

    Is there anyother way to implement AbstractDatabaseCluster.getAliveMap using Threads instead of Callable?.

    2009-11-04 21:32:00 UTC by sayhi2world

  • Followup: RE: HA-JDBC with WebSphere

    It is working fine with creating plain Datasource object. Thanks for your suggestion.

    2009-11-04 18:45:01 UTC by sayhi2world

  • Followup: RE: HA-JDBC with WebSphere

    It looks like you configured the ha-jdbc datasource in websphere as a jdbc resource - and WS is trying to back it with a pool. You probably want to register the net.sf.hajdbc.sql.DataSource as a plain jndi object, since WS is already managing the backing pools.

    2009-10-30 14:48:03 UTC by ferraro

  • Followup: RE: HA-JDBC with WebSphere

    Thanks for the reply. I have changed my JDBC provider to <b> net.sf.hajdbc.sql.DataSource </b> and obtained <b>javax.sql.DataSource</b> object in the code. The exception i am getting is, [10/29/09 11:27:09:553] 5535ea9b FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource...

    2009-10-29 18:37:38 UTC by sayhi2world

  • Comment: Data sources inside cluster tag cannot be parsed

    This is not a bug, but rather a mis-configuration. style configurations are only valid for clusters originating from a net.sf.hajdbc.sql.DataSource (implements javax.sql.DataSource), net.sf.hajdbc.sql.DataSourceReference (implements javax.naming.Reference), or net.sf.hajdbc.sql.DataSourceFactory (implements javax.naming.spi.ObjectFactory). The stack trace indicates that the...

    2009-10-29 13:21:00 UTC by ferraro

Our Numbers