Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quick-Prototype POJO With CamelCase Using XSLT

DZone's Guide to

Quick-Prototype POJO With CamelCase Using XSLT

·
Free Resource
// If you've ever been frustrated trying to write an enormous POJO, here's a way to speed the 
// process a little. It's far from perfect, and could use some tweaking, but this XSLT code will 
// spit out a POJO much faster than you could do it by hand.


TableDDLs.xml

  
	
   
            
    
            
    
            
    
        
   
   
CreatePOJOs.xsl abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ /** * example of POJO output * */ package pojo; import java.sql.Date; /** * @author [your name here] * */ public class { private Long String Date = null; public Long String Date get () { return ; } public void set ( Long String Date ) { this. = ; } } ----------------------------------------------------------------------------------------------- this. = null; protected String = null; = null; ColumnName= CamelCasedColumn:
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}