Spring Security, need help

Decompile/Disassemble Java Class

Desktop EXE jd-gui.exe (709.50 kb) .

 

Eclipse 3.2, 3.3, 3.5 Instructions

 

  1. From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window (shown below).



  2. On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
  3. Add a new remote site to add JD-Eclipse plug-in:
    1. Click the New Remote Site... button to open a New Update Site pop-up window.
    2. On the New Update Site pop-up window, type JD-Eclipse Update Site in the site Name text box.
    3. In the URL text box, type the URL for the JD-Eclipse update site: http://java.decompiler.free.fr/jd-eclipse/update (shown below) and click OK.



    4. Click the Finish button to switch to the Updates window.
  4. On the Updates window, check the JD-Eclipse Update Site box (shown below), and click the Finish button.



  5. On the next screen, check the JD-Eclipse Update Site box, and click the Next button.
  6. Choose the option to accept the terms of the license agreement, and click the Next button.
  7. Click the Finish button.
  8. Click the Install All button.

Eclipse installs the JD-Eclipse plug-in. To finish the installation process, follow the prompts to shut down and re-start Eclipse.

 


Keywords:

Filed Under: Java

Java Listeners - Session Counter

Session Counter

Listeners.zip (2.12 kb)

Keywords:

Filed Under: Java Servlets and JSP

sql-error-codes.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
- Default SQL error codes for well-known databases. - Can be
overridden by definitions in a sql-error-codes.xml file - in the root
of the class path. - - If the Database Product Name contains
characters that are invalid - to use in the id attribute (like a
space) then we need to add a property - named
"databaseProductName"/"databaseProductNames" that holds this value. -
If this property is present, then it will be used instead of the id
for - looking up the error codes based on the current database.
-->
<beans>
<
<bean id="DB2" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductName">
<value>DB2*</value>
</property>
<property name="badSqlGrammarCodes">
<value>-204,-206,-301,-408</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>-803</value>
</property>
</bean>
<bean id="HSQL" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductName">
<value>HSQL Database Engine</value>
</property>
<property name="badSqlGrammarCodes">
<value>-22,-28</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>-9</value>
</property>
</bean>
<bean id="MS-SQL" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductName">
<value>Microsoft SQL Server</value>
</property>
<property name="badSqlGrammarCodes">
<value>207,208</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>2627,8114,8115</value>
</property>
</bean>
<bean id="MySQL" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="badSqlGrammarCodes">
<value>1054,1064,1146</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>1062</value>
</property>
<property name="deadlockLoserCodes">
<value>1213</value>
</property>
</bean>
<bean id="Oracle" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="badSqlGrammarCodes">
<value>900,903,904,917,936,942,17006</value>
</property>
<property name="invalidResultSetAccessCodes">
<value>17003</value>
</property>
<property name="dataAccessResourceFailureCodes">
<value>17002</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>1,1400,1722,2291</value>
</property>
<property name="cannotAcquireLockCodes">
<value>54</value>
</property>
</bean>
<bean id="Informix" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductName">
<value>Informix Dynamic Server</value>
</property>
<property name="badSqlGrammarCodes">
<value>-201,-217,-696</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>-239,-268,-692,-11030</value>
</property>
</bean>
<bean id="PostgreSQL" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="useSqlStateForTranslation">
<value>true</value>
</property>
<property name="badSqlGrammarCodes">
<value>03000,42000,42601,42803,42602,42622,42939,42804,42P18,42809,42703,42883,42P01,42P02,42704</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>23000,23001,23502,23503,23505,23514</value>
</property>
</bean>
<bean id="Sybase" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductNames">
<list>
<value>Sybase SQL Server</value>
<value>Adaptive Server Enterprise</value>
</list>
</property>
<property name="badSqlGrammarCodes">
<value>101,102,103,104,105,106,107,108,109,110,111,112,113,116,120,121,123,207,208,213,257,512</value>
</property>
<property name="dataIntegrityViolationCodes">
<value>423,511,515,530,547,2601,2615,2714</value>
</property>
</bean>
<bean id="myDuplicateKeyTranslation"
class="org.springframework.jdbc.support.CustomSQLErrorCodesTranslation">
<property name="errorCodes">
<value>23505</value>
</property>
<property name="exceptionClass">
<value>
com.apress.springrecipes.vehicle.MyDuplicateKeyException
</value>
</property>
</bean>
</beans>
 
 
 

Keywords:

Filed Under: MySQL · Spring

TextBox widget example - adding any formatted HTML code to the widget.

Comment List

  • None

Month List