Branch: refs/heads/master
Home:
https://github.com/teiid/teiid
Commit: 48ef8c6face997f80e94198ba78d622b5af07839
https://github.com/teiid/teiid/commit/48ef8c6face997f80e94198ba78d622b5af...
Author: Xian Liu <xliu(a)redhat.com>
Date: 2015-04-01 (Wed, 01 Apr 2015)
Changed paths:
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/postgresql/PostgreSQLExecutionFactory.java
Log Message:
-----------
TEIID-3409 PostgreSQLExecutionFactory TranslatorProperty annotation in wrong place
when I use postgresql translator of Teiid 8.10.0, it throw when deploying on jboss-as-7.4
the @TranslatorProperty annoation position is not right accoring to code in
org.teiid.deployers.TranslatorUtil
getSetter method code
if (method.getName().startsWith("get")) { //$NON-NLS-1$
setter = "set"+setter.substring(3);//$NON-NLS-1$
}
else if (method.getName().startsWith("is")) { //$NON-NLS-1$
setter = "set"+setter.substring(2); //$NON-NLS-1$
}
else {
setter =
"set"+method.getName().substring(0,1).toUpperCase()+method.getName().substring(1);
//$NON-NLS-1$
}
this annoation can only be annoated on getXXX(), or isXXX() method.
Commit: b1fd5c8f91cf2f1c0c5eb2da07cdc24a970c9205
https://github.com/teiid/teiid/commit/b1fd5c8f91cf2f1c0c5eb2da07cdc24a970...
Author: Ramesh Reddy <rareddy(a)jboss.org>
Date: 2015-04-01 (Wed, 01 Apr 2015)
Changed paths:
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/postgresql/PostgreSQLExecutionFactory.java
Log Message:
-----------
Merge pull request #435 from xianliu/fix_postgis
TEIID-3409 PostgreSQLExecutionFactory TranslatorProperty annotation in wrong place
Compare:
https://github.com/teiid/teiid/compare/0048faf3bcc0...b1fd5c8f91cf