/cmp/src/main/java/org/jboss/as/cmp/jdbc/JDBCCreateEntityCommand.java

https://github.com/aprilhu0/jboss-as · Java · 39 lines · 3 code · 2 blank · 34 comment · 0 complexity · 922e14680cdc6e2e35dcdb8bec4ff58c MD5 · raw file

  1. /*
  2. * JBoss, Home of Professional Open Source.
  3. * Copyright 2011, Red Hat, Inc., and individual contributors
  4. * as indicated by the @author tags. See the copyright.txt file in the
  5. * distribution for a full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. package org.jboss.as.cmp.jdbc;
  23. /**
  24. * JDBCCreateEntityCommand executes an INSERT INTO query.
  25. * This command will only insert non-read-only columns. If a primary key
  26. * column is read-only this command will throw a CreateException.
  27. *
  28. * @author <a href="mailto:dain@daingroup.com">Dain Sundstrom</a>
  29. * @author <a href="mailto:rickard.oberg@telkel.com">Rickard Oberg</a>
  30. * @author <a href="mailto:marc.fleury@telkel.com">Marc Fleury</a>
  31. * @author <a href="mailto:shevlandj@kpi.com.au">Joe Shevland</a>
  32. * @author <a href="mailto:justin@j-m-f.demon.co.uk">Justin Forder</a>
  33. * @author <a href="mailto:loubyansky@hotmail.com">Alex Loubyansky</a>
  34. * @version $Revision: 81030 $
  35. */
  36. public final class JDBCCreateEntityCommand extends JDBCInsertPKCreateCommand {
  37. }